what is the {point in time} for {Bethlehem} has {population} as {25266.0} ?
Do you know the year when the population of Bethlehem was 25266?
When was the population of Bethlehem 25266?
SELECT ?d WHERE { FILTER ( ?z = 25266.0 ) . ?e property:population ?z . resource:Bethlehem property:population ?e . ?e property:point_in_time ?d }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5776> .
?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> <25266.0> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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