At what time did Ulaanbaatar have a population of 1.372e+06?
SELECT ?value WHERE { wd:/Ulaanbaatar/ p:/population/ ?s . ?s ps:/population/ ?x filter(contains(?x,'1.372e+06')) . ?s pq:/point in time/ ?value}