Inspecting Q20 as a Lua table I became aware that some of the claim identifiers use an initial lowercase "q" and some an uppercase "Q". Not sure why, but iot seems like all (?) of them have ["datatype"] = "wikibase-item". I have not checked all, so this could be an coincidence.
Not a big issue, only strange that this isn't consistent.