What is {birth city} of {Trina Gulliver}, that has {partner city} is {Heemstede} ?
"Which birth city beginning from Trina Gulliver, encompasses a accomplice city named Heemstede?"
"Which birth city originating from Trina Gulliver, has a partner city named Heemstede?"
SELECT ?b WHERE { ?b property:twinned_administrative_body resource:Heemstede . resource:Trina_Gulliver property:place_of_birth ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q445039> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19>. ?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/Q9928> . }
SELECT ?answer WHERE { wd:Q445039 wdt:P19 ?answer . ?answer wdt:P190 wd:Q9928}
Royal Leamington Spa