What is {home town} of {Mata Hari}, that has {partner town} is {Bordeaux} ?
"Where is {home town} of {Mata Hari}, which has {partner town} is {Bordeaux} ?"
SELECT ?answer WHERE { wd:Q82180 wdt:P551 ?answer . ?answer wdt:P190 wd:Q1479}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q82180> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?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/Q1479> . }
"Where is {domestic town} of {Mata Hari}, which has {accomplice town} is {Bordeaux} ?"