What is {population} of {Karlsruhe} that is {point in time} is {2000-12-31} ?
How many people lived in Karlsruhe at the end of 2000?
What was the population of Karlsruhe at the end of 2000?
SELECT ?t WHERE { FILTER ( CONTAINS ( YEAR ( ?n ) , '2000' ) ) . ?h property:point_in_time ?n . resource:Karlsruhe property:population ?h . ?h property:population ?t }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1040> .
?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> <2000-12-31>
} 

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