What is {administrative centre} of {Holy Roman Empire}, that has {populated places within} is {Dolní Černošice} ?
"Where is {administrative centre} of {Holy Roman Empire}, which has {populated locations within} is {Dolní Černošice} ?"
"Where is {administrative centre} of {Holy Roman Empire}, which has {populated places within} is {Dolní Černošice} ?"
SELECT ?e WHERE { ?e property:contains_settlement resource:Dolní_Černošice . resource:Holy_Roman_Empire property:capital ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12548> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1383> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q26807279> . }
SELECT ?answer WHERE { wd:Q12548 wdt:P36 ?answer . ?answer wdt:P1383 wd:Q26807279}
Prague