What is {deathplace} of {Robert Knox}, that has {partner city} is {New Delhi} ?
"Where is {deathplace} of {Robert Knox}, which has {accomplice city} is {Modern Delhi} ?"
"Where is {deathplace} of {Robert Knox}, which has {partner city} is {New Delhi} ?"
SELECT ?b WHERE { resource:Robert_Knox property:place_of_death ?b . ?b property:twinned_administrative_body resource:New_Delhi }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q352109> . ?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/Q987> . }
SELECT ?answer WHERE { wd:Q352109 wdt:P20 ?answer . ?answer wdt:P190 wd:Q987}
London