what is the {for work} for {Sam Rockwell} has {nominated for} as {Academy Award for Best Supporting Actor} ?
Sam Rockwell was nominated for the Academy Award's best supporting actor for which film?
For what film was Sam Rockwell nominated for the Academy Award for best supporting actor?
SELECT ?j WHERE { ?p property:for_work ?j . ?p property:nominated_for resource:Academy_Award_for_Best_Supporting_Actor . resource:Sam_Rockwell property:nominated_for ?p }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q316446> .
?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/Q106291> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q316446 p:P1411 ?s . ?s ps:P1411 wd:Q106291 . ?s pq:P1686 ?value}