What is {twin town} of {Chennai}, that has {human population} is {1166033} ?
What twin town in Chennai features a human populace of 1,166,033?
What twin town in Chennai has a human population of 1,166,033?
SELECT ?o WHERE { FILTER ( ?y = 1166033 ) . resource:Chennai property:twinned_administrative_body ?o . ?o property:population ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1352> . ?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> <1166033> . }
SELECT ?answer WHERE { wd:Q1352 wdt:P190 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x , '1166033'))}
Ulsan