what is the {statement is subject of} for {Martin Scorsese} has {nominated for} as {Academy Award for Best Director} ?
Marin Scorsese was nominated for the Academy Award for Best Director for what movie?
For what movie was Martin Scorsese nominated for the Academy Award for Best Director?
SELECT ?k WHERE { ?m property:statement_is_subject_of ?k . resource:Martin_Scorsese property:nominated_for ?m . ?m property:nominated_for resource:Academy_Award_for_Best_Director }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41148> .
?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/Q103360> .
?statement <http://www.wikidata.org/entity/P805> ?value. 
} 

SELECT ?value WHERE { wd:Q41148 p:P1411 ?s . ?s ps:P1411 wd:Q103360 . ?s pq:P805 ?value}