Open
Description
Раз в OSM не обозначается old_name, alt_name, то хоть при геокодинге должно учитываться:
http://www.openstreetmap.org/relation/337422
- Питер
- Петербург
- СПб
- etc
Metadata
Metadata
Assignees
Labels
No labels
Раз в OSM не обозначается old_name, alt_name, то хоть при геокодинге должно учитываться:
http://www.openstreetmap.org/relation/337422
Activity
cordovapolymer commentedon Aug 17, 2016
It would be great to have this feature!
kiselev-dv commentedon Mar 7, 2017
To have that data in gazetteer out, I have to have local dump of wikidata, If I'll query wikidata duiring data processing it will take forever to generate data. So I'll probabbly implement that, if it's possible to get wikidata subset.
d1g commentedon Mar 8, 2017
@kiselev-dv
a SPARQL query to fetch labels
44791 Results in 452 ms thanks to WDQS
kiselev-dv commentedon Mar 8, 2017
@d1g, cool, few more things:
As an option, I can get a full list of wikidata identifiers during first pass and make a batch query to download all the wikidata in few calls to API, and join that data later, but it's easier and faster to have that data downloaded before gazetteer run.
d1g commentedon Mar 8, 2017
@kiselev-dv
(LANG(?l) as ?lang)
after?l
kiselev-dv commentedon Mar 8, 2017
Here is the code for cities:
How could i get something like:
d1g commentedon Mar 8, 2017
kiselev-dv commentedon Mar 8, 2017
Heh, that's what I've been afraid of. Are there any analogs of rdbs joins and subqueries or recursive queries in wikidata?
d1g commentedon Mar 8, 2017
I prefer to load data using SPARQL, but perform really complex precessing using regular tools e.g. Python
d1g commentedon Mar 8, 2017
@kiselev-dv, it is possible to fetch any division using Q10864048 item: 3623 Results in 6046 ms
kiselev-dv commentedon Mar 8, 2017