What is <Latvian toponymic names database ID> of <Riga> ?
[]
What is the Latvian toponymic names database ID of Riga?
SELECT DISTINCT ?c WHERE { resource:Riga property:Latvian_toponymic_names_database_ID ?c }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1773> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2496> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q1773 wdt:P2496 ?answer}