what is the {point in time} for {Davao City} has {population} as {849947.0} ?
In what time period did Davao City have a population of 849947.0 ?
When was the population of Davao City 849947.0 ?
SELECT ?v WHERE { resource:Davao_City property:population ?i . FILTER ( ?i = 849947.0 ) . ?i property:population ?i . ?i property:point_in_time ?v }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1473> .
?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> <849947.0> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q1473 p:P1082 ?s . ?s ps:P1082 ?x filter(contains(?x , '849947.0')) . ?s pq:P585 ?value}