What is {collection or exhibition size} of {Prado National Museum} that is {point in time} is {2012-0-0} ?
Which is the total size of the exhibition of Prado National Museum in 2012?
What was the total size of exhibition of Prado National Museum in the year 2012?
SELECT ?p WHERE { ?v property:point_in_time ?n . resource:Museo_del_Prado property:collection_or_exhibition_size ?v . FILTER ( CONTAINS ( YEAR ( ?n ) , '2012' ) ) . ?v property:collection_or_exhibition_size ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160112> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1436> .
?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:Q160112 p:P1436 ?s . ?s ps:P1436 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2012')) }