Property talk:P7

From OpenStreetMap Wiki
Jump to navigation Jump to search

Differences

What is the difference between https://wiki.openstreetmap.org/wiki/Property:P12 and https://wiki.openstreetmap.org/wiki/Property:P7? Mateusz Konieczny (talk) 08:38, 22 January 2021 (UTC)

@Mateusz Konieczny: My guess is that P12 is intended as inverse property to P1282 in Wikidata, so it only applies to items that have P2 (instance of): Q7 (key) or P2 (instance of): Q2 (tag). And P7 would then be used for everything else that is not a key or a tag. --Floscher (talk) 13:34, 22 January 2021 (UTC)
Can you give some examples of what would be valid linking and what not? Sorry, but this "P2 instance of Q7" is a bit too confusing to me Mateusz Konieczny (talk) 11:05, 27 January 2021 (UTC)
Basically if the item in OSM wiki is an instance of key or an instance of tag, then P12 is used, otherwise P7. So for example Q4904 has "instance of":"tag", so P12 should be used. Q61 has "instance of":"key", so P12 should be used. Q21157 doesn't have "instance of":"tag" or "instance of":"key", so P7 should be used. --Floscher (talk) 11:18, 27 January 2021 (UTC)
@Floscher and Mateusz Konieczny: My understanding is that Wikidata concept (P12) is the usual property for linking a key/tag/relation to a Wikidata item representing the same concept (or one closely related, in case an exact semantic equivalent has not been created yet). Wikidata equivalent (P7) is for indicating that an item or property here is semantically equivalent to a property on Wikidata. For example, name:pronunciation (Q477) has Wikidata equivalent (P7) set to IPA transcription (P898), because an OSM feature would be tagged with name:pronunciation=* for the same reason that a Wikidata item would be tagged with IPA transcription (P898). A more straightforward example is instance of (P2), which literally a copy of instance of (P31). – Minh Nguyễn 💬 19:44, 23 February 2022 (UTC)