What is {chef-lieu of} of {chef-lieu} of {Deccan sultanates} ?
Who is the chef-lieu of the Deccan sultanates?
Who is the chef-lieu of the Deccan sultanates?
SELECT ?h WHERE { ?n property:capital_of ?h . resource:Deccan_sultanates property:capital ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1183649> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1183649 wdt:P36 ?X . ?X wdt:P1376 ?answer}
Ahmadnagar Sultanate Ahmednagar district Deccan sultanates