what is the {point in time} for {Scotland} has {population} as {5.3136e+06} ?
What year was Scotland's census 5.3 million?
When did Scotland have a population of 5.3136e+06?
SELECT ?l WHERE { ?m property:point_in_time ?l . ?m property:population ?b . resource:Scotland property:population ?m . FILTER ( ?b = 5.3136e+06 ) }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q22> .
?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> <5.3136e+06> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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