What is {award received} of {National Autonomous University of Mexico} that is {point in time} is {2008-0-0} ?
Give the name of the award received by National Autonomous University in 2008.
What award was received by National Autonomous University in 2008?
SELECT ?w WHERE { ?b property:award_received ?w . resource:National_Autonomous_University_of_Mexico property:award_received ?b . FILTER ( CONTAINS ( YEAR ( ?k ) , '2008' ) ) . ?b property:point_in_time ?k }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q222738> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <2008-0-0>
} 

SELECT ?obj WHERE { wd:Q222738 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2008')) }