<div dir="ltr"><div><div><div>Hi Andy<br><br></div>I've been doing my bit already but not systematically - I'll be a bit more consistent in future. I've probably tagged a lot with the full wikipedia URL which is not correct so maybe someone could do a mechanical edit on those. How about tags to Wikimedia Commons?<br>
<br></div><div>How do I find out if an object has a wikidata relationship?<br></div><div><br></div>Regards<br><br></div>Brian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 August 2014 21:11, Andy Mabbett <span dir="ltr"><<a href="mailto:andy@pigsonthewing.org.uk" target="_blank">andy@pigsonthewing.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks,<br>
<br>
I would like to propose a project for our group: that we make the West<br>
Midlands the first county with all of its geotagged Wikipedia<br>
articles, and their equivalent Wikidata entries, added to OSM.<br>
<br>
To elaborate, where a building or other feature is the subject of an<br>
article in Wikipedia, we should add two tags. For example, St Paul's<br>
Church, in the Jewellery Quarter of Birmingham:<br>
<br>
    <a href="http://www.openstreetmap.org/way/34349306" target="_blank">http://www.openstreetmap.org/way/34349306</a><br>
<br>
is the subject of:<br>
<br>
   <a href="https://en.wikipedia.org/wiki/St_Paul%27s_Church,_Birmingham" target="_blank">https://en.wikipedia.org/wiki/St_Paul%27s_Church,_Birmingham</a><br>
<br>
and so I have already tagged it:<br>
<br>
   wikipedia en:St Paul's Church, Birmingham<br>
<br>
   wikidata=Q915614<br>
<br>
The Wikipedia tag has the base language, "en" for English, and the<br>
title of the article as it appears on the page.<br>
<br>
The Wikidata tag has the "Q" value from the URL which appears as a<br>
link in the left-hand column of the article, labelled "Wikidata item":<br>
<br>
   <a href="https://www.wikidata.org/wiki/Q915614" target="_blank">https://www.wikidata.org/wiki/Q915614</a><br>
<br>
There are also articles about that church in several other languages,<br>
so we could tag it:<br>
<br>
   wikipedia=en:St Paul's Church, Birmingham;ca:Església de Saint Paul<br>
(Birmingham);pl:Kościół św. Pawła w Birmingham<br>
<br>
etc., but that's redundant to the Wikidata link. (In truth, even the<br>
en: link is redundant to that, but it's more human-friendly).<br>
<br>
<br>
We need to think about how to tag things which appear as several,<br>
joined, ways, like rivers or motorways. Best to start with simple, 1:1<br>
relationships.<br>
<br>
<br>
You can see local, geotagged Wikipedia articles on this map:<br>
<br>
<a href="https://tools.wmflabs.org/wiwosm/osm-on-ol/kml-on-ol.php?la=en&uselang=en&lon=-1.865&lat=52.450&rang=50&map=1" target="_blank">https://tools.wmflabs.org/wiwosm/osm-on-ol/kml-on-ol.php?la=en&uselang=en&lon=-1.865&lat=52.450&rang=50&map=1</a><br>

<br>
or they could be listed programmatically, via API, if anyone feels<br>
inclined to do that.<br>
<br>
<br>
I'm in discussion elsewhere about automating some of this tagging,<br>
globally, but there will still be a need for manual tagging where<br>
there are ambiguities needing intelligent decision making. Running an<br>
manual exercise on a county basis will give us some useful experience<br>
on which to base scripting - I'm expecting a few queries, about "How<br>
do I tag in this case".<br>
<br>
<br>
The tags are documented at:<br>
<br>
   <a href="http://wiki.openstreetmap.org/wiki/Key:wikipedia" target="_blank">http://wiki.openstreetmap.org/wiki/Key:wikipedia</a><br>
<br>
   <a href="http://wiki.openstreetmap.org/wiki/Key:wikidata" target="_blank">http://wiki.openstreetmap.org/wiki/Key:wikidata</a><br>
<br>
<br>
What do you think? Any questions? Will you help?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Andy Mabbett<br>
@pigsonthewing<br>
<a href="http://pigsonthewing.org.uk" target="_blank">http://pigsonthewing.org.uk</a><br>
<br>
_______________________________________________<br>
Talk-gb-westmidlands mailing list<br>
<a href="mailto:Talk-gb-westmidlands@openstreetmap.org">Talk-gb-westmidlands@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands" target="_blank">https://lists.openstreetmap.org/listinfo/talk-gb-westmidlands</a><br>
</font></span></blockquote></div><br></div>