What is {deathplace} of {Dmitri Shostakovich}, that has {has wards} is {Perovo District} ?
Where is the deathplace of Dmitri Shostakovich? It has a few wards counting the Perovo District.
Where is the deathplace of Dmitri Shostakovich?  It has several wards including the Perovo District.
SELECT ?o WHERE { ?o property:contains_administrative_territorial_entity resource:Perovo_District . resource:Dmitri_Shostakovich property:place_of_death ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q80135> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P20>. ?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/Q2364993> . }
SELECT ?answer WHERE { wd:Q80135 wdt:P20 ?answer . ?answer wdt:P150 wd:Q2364993}
Moscow