What is {principal place} of {is in the village of} of {Grand Mosque of Kut} ?
What guideline put has the Terrific Mosque of Kut in its village?
What principle place has the Grand Mosque of Kut in its village?
SELECT ?t WHERE { ?x property:capital ?t . resource:Grand_Mosque_of_Kut property:located_in_the_administrative_territorial_entity ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q28714628> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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/P36> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q28714628 wdt:P131 ?X . ?X wdt:P36 ?answer}
Kut