<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Good morning Yuri,<br>
<br>
Thank you!<br>
<br>
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.<br>
<br>
I will remind that to display errors one goes to the page:
<a class="moz-txt-link-freetext" href="http://88.99.164.208/wikidata/">http://88.99.164.208/wikidata/</a><br>
then paste and run the following query in the upper right box:<br>
<br>
SELECT ?osmId ?wdLabel ?wd ?wpTag WHERE {<br>
<br>
?osmId osmt:wikidata ?wd ;<br>
osmt:wikipedia ?wpTag .<br>
<br>
?wd wdt:P31/wdt:P279* wd:Q4167410 .<br>
<br>
FILTER( STRSTARTS(STR(?wpTag), '<a class="moz-txt-link-freetext" href="https://fr.wikipedia">https://fr.wikipedia</a>'))<br>
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr"
. }<br>
}<br>
LIMIT 100<br>
<br>
# (replace "fr" in the above query on "de", "ru", or other
language version code of the Wikipedia).<br>
<br>
Best regards,<br>
Oleksiy<br>
<br>
<br>
<br>
On 09.09.17 19:58, Yuri Astrakhan wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJGfNe9QykZN2bMi=RdNTdpnC5Hy1cie2kk+HsfjYKrJ8ZQs6Q@mail.gmail.com">
<div dir="ltr">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!
<div><br>
</div>
<div>Oleksiy, this query is slightly more optimal <a
href="http://tinyurl.com/ydcv76ph" moz-do-not-send="true">http://tinyurl.com/ydcv76ph</a>
(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.</div>
<div><br>
</div>
<div>Here's a query to show OSM nodes with Wikidata, where
Wikidata has no Image property. Shows on a map: <span style="color:rgb(0,0,0);white-space:pre-wrap"><a href="http://tinyurl.com/yclpzrua" moz-do-not-send="true">http://tinyurl.com/yclpzrua</a> .</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Sep 9, 2017 at 11:38 AM,
Oleksiy Muzalyev <span dir="ltr"><<a
href="mailto:oleksiy.muzalyev@bluewin.ch" target="_blank"
moz-do-not-send="true">oleksiy.muzalyev@bluewin.ch</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_-771566059549003652moz-cite-prefix">Dear
Fabrizio,<br>
<br>
You corrected the "wikipedia" tag all right for this
church <a
class="m_-771566059549003652moz-txt-link-freetext"
href="https://www.openstreetmap.org/way/175759917"
target="_blank" moz-do-not-send="true">https://www.openstreetmap.org/<wbr>way/175759917</a><br>
but the correct "wikidata" tag should be this one: <a
class="m_-771566059549003652moz-txt-link-freetext"
href="https://www.wikidata.org/wiki/Q3671080"
target="_blank" moz-do-not-send="true">https://www.wikidata.org/wiki/<wbr>Q3671080</a><br>
<br>
but not this one: <a
class="m_-771566059549003652moz-txt-link-freetext"
href="https://www.wikidata.org/wiki/Q1905745"
target="_blank" moz-do-not-send="true">https://www.wikidata.org/wiki/<wbr>Q1905745</a><br>
<br>
You can find the correct wikidata page link from the
Wikipedia article of this church:
<a class="m_-771566059549003652moz-txt-link-freetext"
href="https://it.wikipedia.org/wiki/it:Chiesa%20di%20San%20Martino%20%28Siracusa%29?uselang=en"
target="_blank" moz-do-not-send="true">https://it.wikipedia.org/wiki/<wbr>it:Chiesa%20di%20San%<wbr>20Martino%20(Siracusa)?<wbr>uselang=en</a><br>
on the left side of the page there is the link: Wikidata
item.<br>
<br>
I do not know who added wikidata url of a disambiguation
page to the OSM map. Perhaps, it was done by some script
automatically.<br>
<br>
Best regards,<br>
Oleksiy<span class=""><br>
<br>
<br>
On 09.09.17 16:52, Fabrizio Carrai wrote:<br>
</span></div>
<span class="">
<blockquote type="cite">
<div dir="ltr">Solved the 4 issues of <a
href="http://it.wikipedia.org" target="_blank"
moz-do-not-send="true">it.wikipedia.org</a>, now
only 3 are shown by the query.
<div>Can someone check ?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>---</div>
<div>FabC<br>
</div>
</div>
</blockquote>
</span></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>