What is <EHAK id> of <Tallinn> ?
[]
Which is the EHAK ID for Tallinn?
SELECT DISTINCT ?p WHERE { resource:Tallinn property:EHAK_id ?p }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1770> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1140> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q1770 wdt:P1140 ?answer}