What is {population} of {Nunavut} that is {point in time} is {2017-10-0} ?
How many people lived in Nunavut in 2017?
What was the population of Nunavut in the year 2017?
SELECT ?a WHERE { FILTER ( CONTAINS ( YEAR ( ?f ) , '2017' ) ) . ?o property:population ?a . ?o property:point_in_time ?f . resource:Nunavut property:population ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2023> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P585> <2017-10-0>
} 

SELECT ?obj WHERE { wd:Q2023 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2017')) }