What is {population} of {Caloocan} that is {determination method} is {census} ?
Give me the population of Caloocan as determined by the census.
What is the population of Caloocan as determined by the census?
SELECT ?c WHERE { resource:Caloocan property:population ?y . ?y property:determination_method resource:census . ?y property:population ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1478> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P459> <http://wikidata.dbpedia.org/resource/Q39825>
} 

SELECT ?obj WHERE { wd:Q1478 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P459 wd:Q39825 }