Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-16 Thread Oleksiy Muzalyev
I changed it a bit to show Wikidata items on the map which have no image 
10 km around an OSM object:


http://tinyurl.com/y8pqqcgu

It is not possible to select programmatically Wikipedia articles which 
have no image. i.e. which require an illustration, because Wikipedia 
article is just an HTML page which always contains images such as 
navigation icons, etc.

So it is a step in the right direction.



On 15.09.17 21:06, Yuri Astrakhan wrote:
I just wrote a simple query to help finding all wikidata objects next 
to a given OSM object.  Also, it is far better to delete a bad 
Wikipedia/Wikidata tags than to keep the incorrect ones.  Thanks for 
all the help!!!


https://wiki.openstreetmap.org/wiki/SPARQL_examples#Find_all_wikidata_items_near_the_specific_osm_object


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-15 Thread Yuri Astrakhan
I just wrote a simple query to help finding all wikidata objects next to a
given OSM object.  Also, it is far better to delete a bad
Wikipedia/Wikidata tags than to keep the incorrect ones.  Thanks for all
the help!!!

https://wiki.openstreetmap.org/wiki/SPARQL_examples#Find_all_wikidata_items_near_the_specific_osm_object

On Thu, Sep 14, 2017 at 8:23 AM, alan_gr  wrote:

> Thanks for the map, until I saw it I wasn't really sure how to help with
> this. I think I have solved the small number of disambig issues on points
> located in Spain and Ireland (only about 15 points altogether).
>
>
>
> --
> Sent from: http://gis.19327.n8.nabble.com/General-Discussion-f5171242.html
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-14 Thread alan_gr
Thanks for the map, until I saw it I wasn't really sure how to help with
this. I think I have solved the small number of disambig issues on points
located in Spain and Ireland (only about 15 points altogether).



--
Sent from: http://gis.19327.n8.nabble.com/General-Discussion-f5171242.html

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-11 Thread Oleksiy Muzalyev

On 11.09.17 05:35, Yuri Astrakhan wrote:

Now all disambig-broken points on a map. Click the point to fix it.

http://tinyurl.com/ya6htp9f


On Sun, Sep 10, 2017 at 4:04 AM, Yuri Astrakhan 
mailto:yuriastrak...@gmail.com>> wrote:


Thanks!  Worry not, I just added more for fixing, by extracting
them from Wikipedia tag using the "fetch wikidata" JOSM tool.  And
there is 50K more to add, judging by the difference in
key:wikipedia vs key:wikidata in taginfo - i'm sure there are many
more errors hiding behind the hard to process wikipedia tag.

Also, if you have some time, please take a look at the other
quality control queries in the examples. Again, thanks for helping!!!


Yuri,

It is great!

The same list but represented on the map makes all the difference. I've 
just even corrected a disambiguation error for the "pl" Wikipedia on the 
territory of Ukraine.


For handling such errors often common sense and understanding of 
Wikipedia and especially Wikidata concepts is enough. But some require a 
certain local knowledge.


I wish there was such a layer on the OSM map, - a Wikipedia & Wikidata 
layer. It could show by default all the Wikipedia articles & the 
Wikidata items, which have the coordinates, on the map. Or there could 
be an option to display the disambiguation and other errors or issues, - 
for example, articles which require an illustration.


The OSM map and the Wikipedia (Wikidata) are certainly great each by 
itself, but when combined together, they create a powerful synergy, 
which would, in my opinion, literally change the world. People spend a 
lot of money for traveling thousands away kilometers to see interesting 
places, burn tons of fossil fuel by doing it, causing climate change and 
consequent natural disasters, while unaware that there are absolutely 
amazing places nearby. But how could they know it if there is no such 
layer on the map?


For instance, twenty minutes from my place there is a Roman Empire 
workshop which produced roof tiles and bricks for 800 years without 
interruption (I created a Wikipedia article [1] about it and filmed a 
short video [2]). For that epoch it was a hi-tech factory. Still now 
there are ancient tiles and bricks two millenniums old all around this 
place in woods. I think it would be interesting to learn more about 
these people, who created and practiced this impressive technology, true 
heroes, who literally built the civilization.


I wrote a simple application which shows all the Wikipedia articles for 
a selected language version, Wikimedia categories, and Wikidata items in 
the radius of ten kilometers around the click [3]. But certainly, a 
global layer with the precalculated markers' locations, similar to the 
one as via the URL in your message, would be much better.


[1] https://fr.wikipedia.org/wiki/Tuilerie_romaine_des_Bois_de_Chancy

[2] https://commons.wikimedia.org/wiki/File:Roman-Tiles-Workshop.webm

[3] http://ausleuchtung.ch/geo_wiki/

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-10 Thread Yuri Astrakhan
Now all disambig-broken points on a map. Click the point to fix it.

http://tinyurl.com/ya6htp9f


On Sun, Sep 10, 2017 at 4:04 AM, Yuri Astrakhan 
wrote:

> Thanks!  Worry not, I just added more for fixing, by extracting them from
> Wikipedia tag using the "fetch wikidata" JOSM tool.  And there is 50K more
> to add, judging by the difference in key:wikipedia vs key:wikidata in
> taginfo - i'm sure there are many more errors hiding behind the hard to
> process wikipedia tag.
>
> Also, if you have some time, please take a look at the other quality
> control queries in the examples.  Again, thanks for helping!!!
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-10 Thread Yuri Astrakhan
Thanks!  Worry not, I just added more for fixing, by extracting them from
Wikipedia tag using the "fetch wikidata" JOSM tool.  And there is 50K more
to add, judging by the difference in key:wikipedia vs key:wikidata in
taginfo - i'm sure there are many more errors hiding behind the hard to
process wikipedia tag.

Also, if you have some time, please take a look at the other quality
control queries in the examples.  Again, thanks for helping!!!

On Sun, Sep 10, 2017 at 3:51 AM, Oleksiy Muzalyev <
oleksiy.muzal...@bluewin.ch> wrote:

> 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:
> http://88.99.164.208/wikidata/
> 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" . }
> }
> LIMIT 100
>
> # (replace "fr" in the above query on "de", "ru", or other language
> version code of the Wikipedia).
>
> Best regards,
> Oleksiy
>
>
>
>
> 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.muzal...@bluewin.ch> wrote:
>
>> Dear Fabrizio,
>>
>> You corrected the "wikipedia" tag all right for this church
>> https://www.openstreetmap.org/way/175759917
>> but the correct "wikidata" tag should be this one:
>> https://www.wikidata.org/wiki/Q3671080
>>
>> but not this one: 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
>> 
>> 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, now only 3 are shown by the
>> query.
>> Can someone check ?
>>
>> Thanks
>>
>> ---
>> FabC
>>
>>
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-10 Thread Oleksiy Muzalyev

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: 
http://88.99.164.208/wikidata/

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" . }
}
LIMIT 100

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


Best regards,
Oleksiy



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 
mailto:oleksiy.muzal...@bluewin.ch>> wrote:


Dear Fabrizio,

You corrected the "wikipedia" tag all right for this church
https://www.openstreetmap.org/way/175759917

but the correct "wikidata" tag should be this one:
https://www.wikidata.org/wiki/Q3671080


but not this one: 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


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
, now only 3 are shown by the query.
Can someone check ?

Thanks

---
FabC





___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Yuri Astrakhan
Per request on my user page by Mateusz Konieczny, I wrote a query that
shows "featured" geo-tagged Wikipedia articles without an OSM object. This
way community can prioritize to work on the more popular locations first.
Instead of "featured", query can also use the article popularity (pageview
counts).

Also, I explain how to access this service via API.  I really hope JOSM and
MapRoulette will be able to support queries natively.  Any JOSM gurus?

Request - https://wiki.openstreetmap.org/wiki/User_talk:Yurik

P.S. Thanks Shu!

On Sat, Sep 9, 2017 at 8:48 PM, Shu Higashi  wrote:

> Hi Yuri,
>
> Thanks for offering the tool for checking.
> I corrected 5 of "ja" ones.
>
> Shu Higashi
>
> 2017-09-10 2:58 GMT+09:00, Yuri Astrakhan :
> > 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.muzal...@bluewin.ch> wrote:
> >
> >> Dear Fabrizio,
> >>
> >> You corrected the "wikipedia" tag all right for this church
> >> https://www.openstreetmap.org/way/175759917
> >> but the correct "wikidata" tag should be this one:
> >> https://www.wikidata.org/wiki/Q3671080
> >>
> >> but not this one: 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
> >> 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, now only 3 are shown by the
> >> query.
> >> Can someone check ?
> >>
> >> Thanks
> >>
> >> ---
> >> FabC
> >>
> >>
> >
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Shu Higashi
Hi Yuri,

Thanks for offering the tool for checking.
I corrected 5 of "ja" ones.

Shu Higashi

2017-09-10 2:58 GMT+09:00, Yuri Astrakhan :
> 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.muzal...@bluewin.ch> wrote:
>
>> Dear Fabrizio,
>>
>> You corrected the "wikipedia" tag all right for this church
>> https://www.openstreetmap.org/way/175759917
>> but the correct "wikidata" tag should be this one:
>> https://www.wikidata.org/wiki/Q3671080
>>
>> but not this one: 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
>> 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, now only 3 are shown by the
>> query.
>> Can someone check ?
>>
>> Thanks
>>
>> ---
>> FabC
>>
>>
>

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Yuri Astrakhan
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.muzal...@bluewin.ch> wrote:

> Dear Fabrizio,
>
> You corrected the "wikipedia" tag all right for this church
> https://www.openstreetmap.org/way/175759917
> but the correct "wikidata" tag should be this one:
> https://www.wikidata.org/wiki/Q3671080
>
> but not this one: 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
> 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, now only 3 are shown by the
> query.
> Can someone check ?
>
> Thanks
>
> ---
> FabC
>
>
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Oleksiy Muzalyev

Dear Fabrizio,

You corrected the "wikipedia" tag all right for this church 
https://www.openstreetmap.org/way/175759917
but the correct "wikidata" tag should be this one: 
https://www.wikidata.org/wiki/Q3671080


but not this one: 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

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 , now 
only 3 are shown by the query.

Can someone check ?

Thanks

---
FabC
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Fabrizio Carrai
Solved the 4 issues of it.wikipedia.org, now only 3 are shown by the query.
Can someone check ?

Thanks

---
FabC

2017-09-09 7:09 GMT+02:00 Yuri Astrakhan :

> Hello mappers! Could anyone help with over 800 OSM objects that are
> pointing to Wikipedia disambiguation pages?  Especially Polish community -
> 588. You can get the currently broken ones by running the query below (you
> may want to modify it a bit to list more relevant objects).  If you feel
> brave, there are also 25,000+ objects with incorrect Wikipedia tags.
> Thanks!
>
> Main: OSM disambig query
> 
> Direct: http://tinyurl.com/ya4lhmt8
>
> Bad Wikipedia tag - could be because non-existent title, or a redirect, or
> because Wikidata item hasn't been created yet: query
> 
>
> The current statistics for Disambig pages, per corresponding Wikipedia
> site:
> // generated with http://tinyurl.com/yarkdy53
>
> https://pl.wikipedia.org/ 588
> https://en.wikipedia.org/ 74
> unknown 36
> https://de.wikipedia.org/ 24
> https://sv.wikipedia.org/ 18
> https://cs.wikipedia.org/ 17
> https://zh.wikipedia.org/ 8
> https://uk.wikipedia.org/ 7
> https://vi.wikipedia.org/ 7
> https://ru.wikipedia.org/ 5
> https://ja.wikipedia.org/ 5
> ...
>
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
>


-- 
*Fabrizio*
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Oleksiy Muzalyev

On 09.09.17 07:09, Yuri Astrakhan wrote:
Hello mappers! Could anyone help with over 800 OSM objects that are 
pointing to Wikipedia disambiguation pages? Especially Polish 
community - 588. You can get the currently broken ones by running the 
query below (you may want to modify it a bit to list more relevant 
objects).  If you feel brave, there are also 25,000+ objects with 
incorrect Wikipedia tags. Thanks!


Main: OSM disambig query 


Direct: http://tinyurl.com/ya4lhmt8

Bad Wikipedia tag - could be because non-existent title, or a 
redirect, or because Wikidata item hasn't been created yet: query 



The current statistics for Disambig pages, per corresponding Wikipedia 
site:

// generated with http://tinyurl.com/yarkdy53

https://pl.wikipedia.org/588
https://en.wikipedia.org/74
unknown36
https://de.wikipedia.org/24
https://sv.wikipedia.org/18
https://cs.wikipedia.org/17
https://zh.wikipedia.org/8
https://uk.wikipedia.org/7
https://vi.wikipedia.org/7
https://ru.wikipedia.org/5
https://ja.wikipedia.org/5
...




___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Hello Yuri,

I've just corrected couple of such disambiguation errors for "uk" and 
"ru" Wikipedia versions. I noticed that after the correction the 
corrected particular errors disappear from the consequent query results. 
Not immediately, but after about 3 - 4 minutes.


Here is a query to display only errors for "ru" Wikipedia version (or 
any other language version). I am not sure if it is optimal but at least 
it displays correct results, - only for one language version of Wikipedia.


SELECT ?osmId ?wdLabel ?wd ?wpTag WHERE {
?osmId osmt:wikidata ?wd .
OPTIONAL { ?osmId osmt:wikipedia ?wpTag . }
?wd wdt:P31/wdt:P279* wd:Q4167410 .
FILTER( STRSTARTS(STR(?wpTag), 'https://ru.wikipedia')) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "ru" . }
}
LIMIT 10

I have a question. If it is possible to display nodes on the OSM map 
which has got the "wikidata=*" tag, but which do not have an "image" 
statement on the Wikidata page with this tool? For example, this 
Wikidata page does have already the "image" statement: 
https://www.wikidata.org/wiki/Q17523970


I am interested in Wikidata items which do not have an image statement, 
but which are present on the OSM map.


It would be also interesting to display the list of Wikipedia articles 
which have got the geographical coordinates in the article itself, but 
which do not have wikipedia=* or wikidata=* tag on the OSM map in the 
vicinity of the point with these coordinates.



With best regards,

Oleksiy

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Fixing 850+ disambiguation errors

2017-09-09 Thread Daniel Koć

W dniu 09.09.2017 o 07:09, Yuri Astrakhan pisze:
Hello mappers! Could anyone help with over 800 OSM objects that are 
pointing to Wikipedia disambiguation pages? Especially Polish 
community - 588.


We have currently a coordinated effort in Polish community to fix it, so 
it should be cleaned soon:


https://forum.openstreetmap.org/viewtopic.php?id=59649

--
"Probably it's an eternal problem - too many chiefs, too few Indians" [O. 
Muzalyev]


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Fixing 850+ disambiguation errors

2017-09-08 Thread Yuri Astrakhan
Hello mappers! Could anyone help with over 800 OSM objects that are
pointing to Wikipedia disambiguation pages?  Especially Polish community -
588. You can get the currently broken ones by running the query below (you
may want to modify it a bit to list more relevant objects).  If you feel
brave, there are also 25,000+ objects with incorrect Wikipedia tags.
Thanks!

Main: OSM disambig query

Direct: http://tinyurl.com/ya4lhmt8

Bad Wikipedia tag - could be because non-existent title, or a redirect, or
because Wikidata item hasn't been created yet: query


The current statistics for Disambig pages, per corresponding Wikipedia site:
// generated with http://tinyurl.com/yarkdy53

https://pl.wikipedia.org/ 588
https://en.wikipedia.org/ 74
unknown 36
https://de.wikipedia.org/ 24
https://sv.wikipedia.org/ 18
https://cs.wikipedia.org/ 17
https://zh.wikipedia.org/ 8
https://uk.wikipedia.org/ 7
https://vi.wikipedia.org/ 7
https://ru.wikipedia.org/ 5
https://ja.wikipedia.org/ 5
...
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk