What is {died in} of {John Nevil Maskelyne}, that has {twin cities} is {Buenos Aires} ?
What twin city of Buenos Aires did John Nevil Maskelyne die in?
What twin city of Buenos Aires did John Nevil Maskelyne die in?
SELECT ?g WHERE { resource:John_Nevil_Maskelyne property:place_of_death ?g . ?g property:twinned_administrative_body resource:Buenos_Aires }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q965961> . ?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/Q1486> . }
SELECT ?answer WHERE { wd:Q965961 wdt:P20 ?answer . ?answer wdt:P190 wd:Q1486}
London