What is {twin city} of {Hanoi}, that has {has states} is {Praga-Południe} ?
"Which is {twin city} of {Hanoi}, that has {has states} is {Praga-Południe} ?"
SELECT ?answer WHERE { wd:Q1858 wdt:P190 ?answer . ?answer wdt:P150 wd:Q2107492}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1858> . ?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/Q2107492> . }
"Which is {twin city} of {Hanoi}, that has {has states} is {Praga-Południe} ?"