Props to our own Andy Mabbett (well, I guess we share him with OSM) for coming up with the idea for this and getting together with Edward to make it work.
Starting with a hack at the Wikimania hackathon, which produced the first few dozen examples in time for Andy's OSM talk at Wikimania, it's truly impressive to see 70,000 matches now good to go; plus presumably a number of other interesting cases (eg the HMS Belfast example in Andy's talk) where this is identifying hits needing disambiguation and/or other data improvement on either Wikidata or OSM.
-- James.
On 27/08/2014 18:15, Cristian Consonni wrote:
This may be of interest here.
Cristian
---------- Forwarded message ----------
From: Edward Betts <edward@4angle.com>
Date: 2014-08-27 18:47 GMT+02:00
Subject: [OSM-talk] Adding Wikidata tags to 70k items automatically
To: talk@openstreetmap.org
I've written some code to match items in Wikidata with items in OSM. Currently
I have found 70,849 unique matches, where there is a one-to-one mapping
between OSM and Wikidata objects.
I'd like to annotate these 70k objects in OSM with a Wikidata tag
automatically.
For example:
Way: Piper's Orchard (43246411)
http://www.openstreetmap.org/way/43246411
And on Wikidata: https://www.wikidata.org/wiki/Q7197307
I would like to add wikidata=Q7197307 to "Piper's Orchard".
The code to find the matches is here:
https://github.com/edwardbetts/osm-wikidata
Matching criteria:
https://github.com/EdwardBetts/osm-wikidata/blob/master/entity_types.json
The results are here:
http://edwardbetts.com/osm-wikidata/
The best approach is probably to update 100 items with wikidata tags, then
we can check them to make sure the edit looks good. If everything is fine I
can go ahead and load the other 70k.
Does anybody have a strong preference that the edits are split up by region,
or loaded in batches?
Any objections?
I've read https://wiki.openstreetmap.org/wiki/Mechanical_Edit_Policy - if
there are no major objections I'll go ahead and create
https://wiki.openstreetmap.org/wiki/Mechanical_Edits/edward
See also:
http://wiki.openstreetmap.org/wiki/Proposed_features/Wikidata
http://wiki.openstreetmap.org/wiki/Wikidata
http://wiki.openstreetmap.org/wiki/Key:wikidata
Edward.
_______________________________________________
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l
_______________________________________________
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l