What is {population} of {Baku} that is {point in time} is {1979-0-0} ?
What was the census of the baku population in 1979?
what was the baku population in the year 1979?
SELECT ?h WHERE { FILTER ( CONTAINS ( YEAR ( ?r ) , '1979' ) ) . ?b property:point_in_time ?r . ?b property:population ?h . resource:Baku property:population ?b }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9248> .
?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> <1979-0-0>
} 

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