what is the {point in time} for {Vigo} has {population} as {294997.0} ?
When did the population in Vigo reach 294997?
what is the point in time for vigo has population as 294997.0?
SELECT ?b WHERE { resource:Vigo property:population ?r . ?r property:point_in_time ?b . FILTER ( ?f = 294997.0 ) . ?r property:population ?f }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8745> .
?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> <294997.0> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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