What is {number of speakers} of {Swedish} that is {point in time} is {2012-0-0} ?
How many Swedish speakers were there in 2012?
In 2012, what was the number of Swedish speakers?
SELECT ?k WHERE { ?l property:point_in_time ?x . resource:Swedish property:number_of_speakers ?l . ?l property:number_of_speakers ?k . FILTER ( CONTAINS ( YEAR ( ?x ) , '2012' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9027> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1098> .
?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:Q9027 p:P1098 ?s . ?s ps:P1098 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2012')) }