what is the {for work} for {Robert Altman} has {nominated for} as {Academy Award for Best Director} ?
Which was the work that got Robert Altman a nomination for Academy award as Best Director?
For what work Robert Altman has nominated for Academy award for best director?
SELECT ?a WHERE { ?z property:for_work ?a . resource:Robert_Altman property:nominated_for ?z . ?z 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/Q55163> .
?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/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q55163 p:P1411 ?s . ?s ps:P1411 wd:Q103360 . ?s pq:P1686 ?value}