2

Where can I find a mapping between Wikidata entities and Geonames entities?

Wikidata: Worldwide density of geotagged Wikipedia entries GeoNames: Worldwide density of GeoNames entries

2
  • wdt:P1566? Commented Jun 28, 2017 at 21:05
  • @StanislavKralin: Wonderful! Could you please make this an answer? Commented Jun 29, 2017 at 1:31

2 Answers 2

2

Approximately since October 2014 there exists GeoNames ID external identifier on Wikidata. The current number of entities with this identifier is about 1 500 000.

You could retrive this identifier value for Antananarivo using the following SPARQL query:

SELECT ?geoNamesID WHERE { ?place wdt:P1566 ?geoNamesID VALUES (?place) {(wd:Q3915)} } 

Try it.

6

The Geonames RDF for Antananarivo links to Wikipedia:

<gn:wikipediaArticle rdf:resource="http://en.wikipedia.org/wiki/Antananarivo"/> 

You should be able to use that to get the corresponding Wikidata entity.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.