What is {location of death} of {Isambard Kingdom Brunel}, that has {partner town} is {Tehran} ?
(Isambard Kingdom Brunel) died at which place that also has a (partner town) known as (Tehran).
What is the name of the place where {Isambard Kingdom Brunel} died which has a {partner town} called {Tehran}
SELECT ?z WHERE { resource:Isambard_Kingdom_Brunel property:place_of_death ?z . ?z property:twinned_administrative_body resource:Tehran }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q207380> . ?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/Q3616> . }
SELECT ?answer WHERE { wd:Q207380 wdt:P20 ?answer . ?answer wdt:P190 wd:Q3616}
London