what is the {for work} for {Dalton Trumbo} has {nominated for} as {Academy Award for Best Story} ?
Dalton Trumbo received an Academy Award for Best Story nomination for what movie?
For what work did Dalton Trumbo receive the Academy Award for Best Story nomination?
SELECT ?c WHERE { ?c property:nominated_for resource:Academy_Award_for_Best_Story . ?c property:for_work ?c . resource:Dalton_Trumbo property:nominated_for ?c }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q350666> .
?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/Q504298> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q350666 p:P1411 ?s . ?s ps:P1411 wd:Q504298 . ?s pq:P1686 ?value}