What is {population} of {Greece} that is {point in time} is {2012-0-0} ?
What was the population of Greece in 2012?
Tell me the population count of Greece in year 2012
SELECT ?b WHERE { ?q property:population ?b . FILTER ( CONTAINS ( YEAR ( ?c ) , '2012' ) ) . ?q property:point_in_time ?c . resource:Greece property:population ?q }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41> .
?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-0-0>
} 

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