What is {in administrative unit} of {Nonthaburi}, that has {inhabitants} is {332388.0} ?
"Which within the Regulatory unit of Nonthaburi, has the occupants sum of 332388.0?"
"Which in the Administrative unit of Nonthaburi, has the inhabitants amount of 332388.0?"
SELECT ?n WHERE { FILTER ( CONTAINS ( ?p , '332388.0' ) ) . resource:Nonthaburi property:located_in_the_administrative_territorial_entity ?n . ?n property:population ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q768864> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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> <332388.0> . }
SELECT ?answer WHERE { wd:Q768864 wdt:P131 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x , '332388.0'))}