What is {population} of {Cagayan de Oro} that is {determination method} is {census} ?
Using the determination method of the census, what is the number of residents of Cagayan de Oro.
What is the population of Cagayan de Oro with the determination method census?
SELECT ?g WHERE { resource:Cagayan_de_Oro property:population ?v . ?v property:determination_method resource:census . ?v property:population ?g }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1645> .
?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:Q1645 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P459 wd:Q39825 }