what is the {statement is subject of} for {Wallace Beery} has {nominated for} as {Academy Award for Best Actor} ?
what is the statement is subject of for Wallace Beery has nominated for as Academy Award for Best Actor ?
SELECT ?value WHERE { wd:Q322179 p:P1411 ?s . ?s ps:P1411 wd:Q103916 . ?s pq:P805 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q322179> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1411> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q103916> .
?statement <http://www.wikidata.org/entity/P805> ?value. 
} 

Which was the film that gave Wallace Beery a nomination for Academy Award as Best Actor?