what is the {point in time} for {Pasay} has {population} as {55161.0} ?
What year did Pasy have the total population of 55,161?
At what point in time did Pasy have the total population of 55,161?
SELECT ?j WHERE { FILTER ( CONTAINS ( ?f , '55161.0' ) ) . ?j property:point_in_time ?j . ?j property:population ?f . resource:Pasay property:population ?j }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q17189> .
?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> <55161.0> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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