<div dir="ltr"><div><div><div><div>:Stonehenge: <a href="https://www.wikidata.org/wiki/Q39671" target="_blank">https://www.wikidata.org/wiki/Q39671</a> <a href="https://www.wikidata.org/wiki/Q587584" target="_blank">https://www.wikidata.org/wiki/Q587584</a> both WD objects match the same OSM object: <a href="http://www.openstreetmap.org/way/37118074" target="_blank">http://www.openstreetmap.org/way/37118074</a><br><br></div>Berlin Wall: <a href="http://wikidata.org/wiki/Q5086" target="_blank">http://wikidata.org/wiki/Q5086</a> matches only one way of the wall but the Wiki article says there are three parts of the wall and different watchtowers left. Maybe those objects should get each their own Wikidata-object.<br><br><table><tbody><tr><td><a href="http://wikidata.org/wiki/Q180402" target="_blank">Yosemite National Park</a> (Q180402)
</td>
<td>node</td>
<td>
<span><a href="http://www.openstreetmap.org/node/408906523" target="_blank">Yosemite</a></span> should match the national park<br></td></tr></tbody></table><br></div>nothing spectacular yet. the main matching problems are villages, other settlements and administrative divisions as Wikipedia doesn't <span lang="en"><span>distinguish here. In Wikidata you have to distinguish to get a correct ontology.<br></span></span></div><span lang="en"><span>district --> municipality --> settlements. Much consolidation has to be done in Wikidata yet.<br></span></span></div><span lang="en"><span></span></span><div><div><br>- suburbs: <br><table><tbody><tr><td><a href="http://wikidata.org/wiki/Q7994194" target="_blank">Whitchurch, Bristol</a> (Q7994194)
</td>
<td>node</td>
<td>
<span><a href="http://www.openstreetmap.org/node/29674271" target="_blank">Whitchurch</a></span> maybe should match the relation <a href="http://www.openstreetmap.org/relation/2944649" target="_blank">http://www.openstreetmap.org/relation/2944649</a> unclear, WP article says "village" but the map shows the city council ward<br></td></tr></tbody></table><div>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://wikidata.org/wiki/Q3069705" target="_blank"><span style="color:blue">Pihlajisto</span></a>
(Q3069705) </span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif"">node</span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://www.openstreetmap.org/node/206335421" target="_blank"><span style="color:blue">Pihlajisto</span></a></span> maybe should match the relation <a href="http://www.openstreetmap.org/relation/190373" target="_blank">http://www.openstreetmap.org/relation/190373</a> like the map in WP shows</p>
</td>
</tr>
</tbody></table>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt">
<p class="MsoNormal"><a href="http://wikidata.org/wiki/Q7335020" target="_blank">Ringwood East</a>
(Q7335020) </p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal">node</p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal"><span><a href="http://www.openstreetmap.org/node/2592650968" target="_blank">Ringwood East</a></span> maybe should match <a href="http://www.openstreetmap.org/relation/2401669" target="_blank">http://www.openstreetmap.org/relation/2401669</a><br></p>
</td>
</tr>
</tbody></table>
+ more examples if needed<br></div><div><br></div><div>- villages<br></div><div>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://wikidata.org/wiki/Q2140210" target="_blank"><span style="color:blue">Cerhonice</span></a>
(Q2140210) </span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif"">node</span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://www.openstreetmap.org/node/1599176850" target="_blank"><span style="color:blue">Cerhonice</span></a></span> maybe should match <a href="http://www.openstreetmap.org/relation/437515" target="_blank">http://www.openstreetmap.org/relation/437515</a><b> </b>Wikipedia says "is a village and municipality". The village and the municipality have different areas and therefore should be split into different objects in Wikidata<br></p>
</td>
</tr>
</tbody></table>
+ mismatch list +++<br></div><div><br></div><div>- towns:<br><br>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><br></span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://wikidata.org/wiki/Q521132" target="_blank"><span style="color:blue">Hilpoltstein</span></a>
(Q521132) </span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://www.openstreetmap.org/node/240112461" target="_blank"><span style="color:blue">Hilpoltstein</span></a>
(node) should match the relation for the municipality "Hilpoltstein" and not the town: <a href="http://www.openstreetmap.org/node/240112461" target="_blank">http://www.openstreetmap.org/node/240112461</a> For the town a different object has to be created in Wikidata.<br></span></p>
</td>
</tr>
</tbody></table>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><br></span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://wikidata.org/wiki/Q279629" target="_blank"><span style="color:blue">Pocking</span></a>
(Q279629) </span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://www.openstreetmap.org/node/63655606" target="_blank"><span style="color:blue">Pocking</span></a>
(node) same case as Hilpoltstein, should match the following relation: <a href="http://www.openstreetmap.org/relation/958087" target="_blank">http://www.openstreetmap.org/relation/958087</a></span></p>
</td>
</tr>
</tbody></table>
</div><div>+ many more examples if needed<br></div><div>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt"><br></td>
<td style="padding:0.75pt"><br></td>
<td style="padding:0.75pt"><br></td>
</tr>
</tbody></table>
<table border="0" cellpadding="0">
<tbody><tr>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://wikidata.org/wiki/Q2652722" target="_blank"><span style="color:blue">Lagoa</span></a>
(Q2652722) </span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif"">node</span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://www.openstreetmap.org/node/25277559" target="_blank"><span style="color:blue">Lagoa</span></a>
</span></p>
</td>
</tr>
<tr>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://wikidata.org/wiki/Q985519" target="_blank"><span style="color:blue">Lagoa
Municipality</span></a> (Q985519) </span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif"">node</span></p>
</td>
<td style="padding:0.75pt">
<p class="MsoNormal" style="line-height:normal;margin-bottom:0pt"><span style="font-family:"Times New Roman","serif""><a href="http://www.openstreetmap.org/node/25277559" target="_blank"><span style="color:blue">Lagoa</span></a>
</span></p>
</td>
</tr>
</tbody></table>
<br><br> <br><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-09-05 11:06 GMT+02:00 Edward Betts <span dir="ltr"><<a href="mailto:edward@4angle.com" target="_blank">edward@4angle.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I modified my code, adding more categories and extending the matching distance<br>
for some objects. I started checking addr:housename, some buildings have this<br>
tag but are missing the name tag.<br>
<br>
<a href="http://edwardbetts.com/osm-wikidata/" target="_blank">http://edwardbetts.com/osm-wikidata/</a><br>
<br>
There are now 112,278 matches found. I thought the extended range would help<br>
reduce the number of mismatches, but I now have 2,393 mismatches.<br>
<br>
<a href="http://edwardbetts.com/osm-wikidata/mismatches.html" target="_blank">http://edwardbetts.com/osm-wikidata/mismatches.html</a><br>
<br>
I've got some ideas about how to fix some of the mismatches. Many of the<br>
mismatches are villages represented by both a node and a relation, but the<br>
relation isn't tagged with place=village, so my code can't tell it represents<br>
the same thing. Maybe relations that represent villages should be tagged with<br>
place=village. I'll could modify my code so it rejects nodes inside a way<br>
or relation with the same name.<br>
<br>
Example: Sachsendorf, Germany<br>
<br>
<a href="http://www.openstreetmap.org/node/240130457" target="_blank">http://www.openstreetmap.org/node/240130457</a><br>
<a href="http://www.openstreetmap.org/relation/2253462" target="_blank">http://www.openstreetmap.org/relation/2253462</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Edward.<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</font></span></blockquote></div><br></div>