What is {population} of {Aalborg} that is {point in time} is {2012-1-1} ?
How many people lived in Aalborg on January 1, 2012?
What was the population of Aalborg on January 1, 2012?
SELECT ?g WHERE { resource:Aalborg property:population ?w . ?w property:point_in_time ?y . ?w property:population ?g . FILTER ( CONTAINS ( YEAR ( ?y ) , '2012' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25410> .
?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> <2012-1-1>
} 

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