|Status:||Draft (under way)|
|Applies to:||node, way, area, relation|
|Definition:||a connection to the appropriate wikidata item|
Introduction to Wikidata
Connecting Openstreetmap data to Wikipedia articles is not futureproof because there are articles written in more languages and are renamed sometimes. Wikidata has been created for this reason (among others). It has items that connect wikipedia articles written in various languages. So item with ID Q1722 is a link to all articles about Dubrovnik. But it's not only that, it's also a node that represents Dubrovnik in that database. As such it can have various attributes, like mayor, country it is in, number of inhabitants, and what ever you can think of.
Connecting our data with Wikidatas data could be a very interesting and useful feature for both databases. Openstreetmap could focus more on placing certain features in the geospatial world, and Wikidata would be responsible for various feature attributes and relations. So if we link all cities to Wikidata, we could do complex querys like "find all cities which are no further than 10km from the sea, and have a female mayor".
A simple wikidata=Q1722 tag would connect an entity in Openstreetmap to the corresponding item in Wikidata. But we should be careful to connect items that are the same kind of entity. There shouldn't be more than one Openstreetmap item with the same Wikidata ID.
Franchise of the Openstreetmap entity is represented by this Wikidata ID. This should be very useful for grouping, for example, all McDonalds restaurants. Just give them all franchise:wikidata=Q38076. This is much better than franchise=* because different countries could write the names of franchises in different ways. Different countries could also have different franchises with the same name. Wikidata ID is unambiguous.
Operator of a restauraunt, shop, bank or some other customer service or office. Every country has it's own operators, and two countries can't have the same operator. In most countries operators are distinguished by their VAT identification number. Entity type must be organization
Brand of product (car, bicycle..) that a retailer sells, or a repairman repairs.
The subject of a statue, artwork or memorial (a person, event, geographical feature..).
The person, event, geographical feature or other subject that an entity (e.g. a street, airport or building) is named after. If the street has old_name, we can also give it old_name:etymology:wikidata=*.
- Queries which have conditions based on wikidata relations, and openstreetmap geospatial information;
- showing country flags on a map (Wikidata has a .svg flag file connected to all countries);
- grouping different brands of restaurants, shops, fuel stations without relations;
- crosschecking attributes that exist in both Openstreetmap and Wikidata, like city population;
- displaying all kinds of data from wikidata on a map;
- and much, much more.
- SVG map of India using topojson and wikidata links for automatic translation 
Please add your comments on the discussion page and mailing list.