what is the {for work} for {David O. Russell} has {nominated for} as {Academy Award for Best Writing, Original Screenplay} ?
David O. Russell was assigned for the Foundation Grant for Best Composing, Unique Screenplay for which of his works?
David O. Russell was nominated for the Academy Award for Best Writing, Original Screenplay for which of his works?
SELECT ?w WHERE { resource:David_O._Russell property:nominated_for ?g . ?g property:nominated_for resource:Academy_Award_for_Best_Writing,_Original_Screenplay . ?g property:for_work ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q314342> .
?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/Q41417> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q314342 p:P1411 ?s . ?s ps:P1411 wd:Q41417 . ?s pq:P1686 ?value}