what is the {point in time} for {Ulaanbaatar} has {population} as {1.372e+06} ?
When did Ulaanbaatar have a population of 1.372e+06?
At what time did Ulaanbaatar have a population of 1.372e+06?
SELECT ?q WHERE { ?c property:population ?b . FILTER ( ?b = 1.372e+06 ) . resource:Ulan_Bator property:population ?c . ?c property:point_in_time ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23430> .
?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> <1.372e+06> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

SELECT ?value WHERE { wd:Q23430 p:P1082 ?s . ?s ps:P1082 ?x filter(contains(?x , '1.372e+06')) . ?s pq:P585 ?value}