What is {population} of {Kyōto Prefecture} that is {determination method} is {census} ?
The census gives the Kyoto Prefecture how many residents?
According to the census, what is the population of Kyōto Prefecture?
SELECT ?y WHERE { ?z property:population ?y . resource:Kyōto_Prefecture property:population ?z . ?z property:determination_method resource:census }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q120730> .
?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:Q120730 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P459 wd:Q39825 }