What is {population} of {Kansas} that is {point in time} is {1940-0-0} ?
What was the populace of Kansas in 1940?
What was the population of Kansas in 1940?
SELECT ?v WHERE { FILTER ( CONTAINS ( YEAR ( ?b ) , '1940' ) ) . ?o property:point_in_time ?b . ?o property:population ?v . resource:Kansas property:population ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1558> .
?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> <1940-0-0>
} 

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