What is {total fertility rate} of {Albania} that is {point in time} is {2012-0-0} ?
Albania had what total fertility rate in 2012?
What is the total fertility rate of Albania in the year 2012?
SELECT ?t WHERE { ?t property:point_in_time ?n . FILTER ( CONTAINS ( YEAR ( ?n ) , '2012' ) ) . ?t property:total_fertility_rate ?t . resource:Albania property:total_fertility_rate ?t }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q222> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4841> .
?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:Q222 p:P4841 ?s . ?s ps:P4841 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2012')) }