What is {capital city} of {Kingdom of Bohemia}, that has {subdivided into} is {Modřany} ?
what is capital city of kingdom of gohemia that have subdivided into in mordrany
SELECT ?answer WHERE { wd:Q42585 wdt:P36 ?answer . ?answer wdt:P150 wd:Q3490542}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42585> . ?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/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q3490542> . }
what is capital city of kingdom of gohemia that have subdivided into in mordrany