What is {place of formation} of {Sinopec}, that has {partner town} is {Tel Aviv} ?
What Tel Aviv companion town is the location of formation of Sinopec?
What Tel Aviv partner town is the place of formation of Sinopec?
SELECT ?y WHERE { ?y property:twinned_administrative_body resource:Tel_Aviv . resource:Sinopec property:location_of_formation ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q831445> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P740>. ?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/Q33935> . }
SELECT ?answer WHERE { wd:Q831445 wdt:P740 ?answer . ?answer wdt:P190 wd:Q33935}
Beijing