What is {population} of {Gelsenkirchen} that is {point in time} is {2016-12-31} ?
What was Gelsenkirchen's population in 2016?
What was the population of Gelsenkirchen on 12-31-2016?
SELECT ?u WHERE { ?u property:point_in_time ?w . ?u property:population ?u . resource:Gelsenkirchen property:population ?u . FILTER ( CONTAINS ( YEAR ( ?w ) , '2016' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2765> .
?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> <2016-12-31>
} 

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