what is the {point in time} for {Zagreb} has {population} as {790017} ?
What was the date on which the population of Zagreb 790017?
When was the population of Zagreb 790017?
SELECT ?o WHERE { ?s property:population ?b . resource:Zagreb property:population ?s . FILTER ( CONTAINS ( ?b , '790017' ) ) . ?s property:point_in_time ?o }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1435> .
?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> <790017> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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