What is {death location} of {Heshen}, that has {sister city} is {Mexico City} ?
Which city is the passing area of Heshen, which is additionally the sister city of Mexico City?
Which city is the death location of Heshen, which is also the sister city of Mexico City?
SELECT ?g WHERE { ?g property:twinned_administrative_body resource:Mexico_City . resource:Heshen property:place_of_death ?g }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q700179> . ?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/P190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1489> . }
SELECT ?answer WHERE { wd:Q700179 wdt:P20 ?answer . ?answer wdt:P190 wd:Q1489}
Beijing