What is {award received} of {Walter Brennan} that is {point in time} is {1938-0-0} ?
What was Walter Brennan awarded with in 1938?
What award did Walter Brennan receive in 1938?
SELECT ?i WHERE { resource:Walter_Brennan property:award_received ?u . FILTER ( CONTAINS ( YEAR ( ?g ) , '1938' ) ) . ?u property:point_in_time ?g . ?u property:award_received ?i }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q219521> .
?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> <1938-0-0>
} 

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