What is {sister city} of {Antwerp}, that has {has cities} is {Minhang District} ?
What is the sister city of Antwerp, that has cities in Minhang District?
What is the sister city of Antwerp, that has cities in Minhang District?
SELECT ?n WHERE { resource:Antwerp property:twinned_administrative_body ?n . ?n property:contains_administrative_territorial_entity resource:Minhang_District }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12892> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190>. ?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/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q661695> . }
SELECT ?answer WHERE { wd:Q12892 wdt:P190 ?answer . ?answer wdt:P150 wd:Q661695}
Shanghai