what is the {for work} for {Lionel Barrymore} has {award received} as {Academy Award for Best Actor} ?
The award for Best Actor was given to Lionel Barrymore because of which of his films?
Which movie did Lionel Barrymore receive the Best Actor award?
SELECT ?r WHERE { resource:Lionel_Barrymore property:award_received ?c . ?c property:for_work ?r . ?c property:award_received resource:Academy_Award_for_Best_Actor }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q295593> .
?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> <http://wikidata.dbpedia.org/resource/Q103916> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q295593 p:P166 ?s . ?s ps:P166 wd:Q103916 . ?s pq:P1686 ?value}