|The ID of the Wikidata item about the feature.|
|Used on these elements|
|Tools for this tag|
The ID of the Wikidata item about the feature (for example, Q9141 represents the ). Like wikipedia=* only entries which are 'about the feature' should be linked. A link from St Paul's Cathedral in London to an entry about St Paul's Cathedral is fine. A link from a bus depot to the company that operates should use operator:wikidata=* instead, link from monument to event that is memorialized should use subject:wikidata=* instead.
For entries with both wikipedia=* and wikidata=* these links should be equivalent, except if Wikidata has a more precise entry, which corresponds better to the OSM object than the Wikipedia article does. In that case the relation between both (The Wikidata entry and its parent wikidata entry, connected to the WP entry) should be described on Wikidata, through a "part of" property.
Finding a Wikidata ID
In order to add a Wikidata tag, you first have to find the item ID. An ID always begins with Q, followed by numbers. There are several ways to do so.
Search on the Wikidata homepage: www.wikidata.org. Now you can copy the id from that page. Alternatively you can extract the ID from a Wikidata URL: http://www.wikidata.org/wiki/Q9141
Find a wikipedia article. If the article has a corresponding Wikidata item, you can click the "Wikidata item" button on the side menu. (See the image)
iD, the default osm web editor, automatically adds the corresponding wikidata key when the wikipedia=* key is updated. You just need to paste a Wikipedia article full url without choosing the language. See this video for an example: https://www.youtube.com/watch?v=FkqPLzIUr1k (note that you don't need to remove the previous wikipedia key)
Adding missing items to Wikidata
Wikidata is a separate project which is freely editable in a similar fashion to OSM. If an item does not exist in Wikidata itself, you can create it But please read the notability guidelines first.
Wikidata values are now clickable on the OSM main site, and they link to the corresponding Wikidata item. example:
- the proposal
- Video guide to easily add wikidata with iD
|This tag is compatible with the tag2link plugin|