what is the {determination method} for {Olongapo} has {population} as {233040} ?
What determined Olongapo's population of 233040?
How was it determined that Olongapo has a population of 233040?
SELECT ?r WHERE { ?q property:population ?i . ?q property:determination_method ?r . FILTER ( ?i = 233040 ) . resource:Olongapo property:population ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q56759> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1082> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <233040> .
?statement <http://www.wikidata.org/entity/P459> ?value. 
} 

SELECT ?value WHERE { wd:Q56759 p:P1082 ?s . ?s ps:P1082 ?x filter(contains(?x , '233040')) . ?s pq:P459 ?value}