what is the {point in time} for {Azores} has {population} as {246746} ?
At what time did Azores have a population of 246746?
what is the {point in time} for {Azores} that has {population} as {246746} ?
SELECT ?q WHERE { resource:Azores property:population ?s . ?s property:population ?b . ?s property:point_in_time ?q . FILTER ( CONTAINS ( ?b , '246746' ) ) }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25263> .
?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> <246746> .
?statement <http://www.wikidata.org/entity/P585> ?value. 
} 

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