[OSM-talk] Adding Wikidata tags to 70k items automatically
yvecai
yvecai at gmail.com
Sun Aug 31 10:51:23 UTC 2014
Edward,
This is a great work but ... If you are able to add wikidata ID to OSM
objects, why not building an API to do so instead of just adding tags to
OSM objects ?
An API would allow QA tools to help complete data in both WMF projects
and OSM, for instance, among other unexpected interesting services.
Whence the import is done, your work seems useless, while your code can
help build a more powerful tool.
Yves
(I could do with wikidata tags in OSM, but in that case I'm pretty sure
we miss something.)
On 27.08.2014 18:47, Edward Betts wrote:
> 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 at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
More information about the talk
mailing list