[OSM-talk] Fixing 850+ disambiguation errors

Oleksiy Muzalyev oleksiy.muzalyev at bluewin.ch
Sun Sep 10 07:51:20 UTC 2017

Good morning Yuri,

Thank you!

I've corrected all the errors for the "uk", "ru" versions of the 
Wikipedia, for the "it" version I corrected the remaining erroneous 
wikidata tags and there are no more errors for the "it" either. I also 
corrected some errors for the "fr" and "de" versions.

I will remind that to display errors one goes to the page:
then paste and run the following query in the upper right box:

SELECT ?osmId ?wdLabel ?wd ?wpTag WHERE {

   ?osmId osmt:wikidata ?wd ;
          osmt:wikipedia ?wpTag .

   ?wd wdt:P31/wdt:P279* wd:Q4167410 .

   FILTER( STRSTARTS(STR(?wpTag), 'https://fr.wikipedia'))
   SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" . }

# (replace "fr" in the above query on "de", "ru", or other language 
version code of the Wikipedia).

Best regards,

On 09.09.17 19:58, Yuri Astrakhan wrote:
> Fabrizio, the easiest way to fix both "wikidata" and "wikipedia" tags 
> is to use  iD editor's  "wikipedia" field (at the top), but not the 
> "tag" field (list at the bottom). This way, selecting Wikipedia value 
> from the dropdown automatically corrects wikidata as well. If using 
> JOSM, use Wikipedia plugin - there is a "fetch Wikidata" command.  
> Thanks!
> Oleksiy, this query is slightly more optimal 
> http://tinyurl.com/ydcv76ph (since you do filtering by Wikipedia tag, 
> no need to make it optional).  You can generate those links by 
> clicking the bottom icon on the left.
> Here's a query to show OSM nodes with Wikidata, where Wikidata has no 
> Image property. Shows on a map: http://tinyurl.com/yclpzrua .
> On Sat, Sep 9, 2017 at 11:38 AM, Oleksiy Muzalyev 
> <oleksiy.muzalyev at bluewin.ch <mailto:oleksiy.muzalyev at bluewin.ch>> wrote:
>     Dear Fabrizio,
>     You corrected the "wikipedia" tag all right for this church
>     https://www.openstreetmap.org/way/175759917
>     <https://www.openstreetmap.org/way/175759917>
>     but the correct "wikidata" tag should be this one:
>     https://www.wikidata.org/wiki/Q3671080
>     <https://www.wikidata.org/wiki/Q3671080>
>     but not this one: https://www.wikidata.org/wiki/Q1905745
>     <https://www.wikidata.org/wiki/Q1905745>
>     You can find the correct wikidata page link from the Wikipedia
>     article of this church:
>     https://it.wikipedia.org/wiki/it:Chiesa%20di%20San%20Martino%20(Siracusa)?uselang=en
>     <https://it.wikipedia.org/wiki/it:Chiesa%20di%20San%20Martino%20%28Siracusa%29?uselang=en>
>     on the left side of the page there is the link: Wikidata item.
>     I do not know who added wikidata url of a disambiguation page to
>     the OSM map. Perhaps, it was done by some script automatically.
>     Best regards,
>     Oleksiy
>     On 09.09.17 16:52, Fabrizio Carrai wrote:
>>     Solved the 4 issues of it.wikipedia.org
>>     <http://it.wikipedia.org>, now only 3 are shown by the query.
>>     Can someone check ?
>>     Thanks
>>     ---
>>     FabC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20170910/37d8a838/attachment.html>

More information about the talk mailing list