What is {HQ location} of {Warsaw Pact}, that has {has wards} is {Yuzhnoye Butovo District} ?
What is the area of the Warsaw Pact HQ which has wards in the Yuzhnoye Butovo District?
What is the location of the Warsaw Pact HQ which has wards in the Yuzhnoye Butovo District?
SELECT ?j WHERE { resource:Warsaw_Pact property:headquarters_location ?j . ?j property:contains_administrative_territorial_entity resource:Yuzhnoye_Butovo_District }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41644> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159>. ?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/Q1963119> . }
SELECT ?answer WHERE { wd:Q41644 wdt:P159 ?answer . ?answer wdt:P150 wd:Q1963119}
Moscow