What is {twin town} of {Semarang}, that has {human population} is {2} ?
Where is twin town of Semarang, which has human population of 2 ?
Where is twin town of Semarang, which has human population of 2 ?
SELECT ?i WHERE { FILTER ( ?m = 2 ) . resource:Semarang property:twinned_administrative_body ?i . ?i property:population ?m }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11025> . ?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/P1082> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <2> . }
SELECT ?answer WHERE { wd:Q11025 wdt:P190 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x , '2'))}
Da Nang Brisbane