what is the {point in time} for {Amazonas} has {population} as {4063614} ?
When the population of Amazonas hit 4063614, what year was it?
In what year did the population of Amazonas reach 4063614?
SELECT ?r WHERE { FILTER ( ?k = 4063614 ) . ?t property:population ?k . ?t property:point_in_time ?r . resource:Amazonas property:population ?t }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40040> .
?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> <4063614> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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