what is the {for work} for {Frank Lloyd} has {nominated for} as {Academy Award for Best Director} ?
Frank Lloyd received the Academy Award for Best Director for which work?
For what work was Frank Lloyd granted an Academy Award for Best Director?
SELECT ?i WHERE { resource:Frank_Lloyd property:nominated_for ?y . ?y property:for_work ?i . ?y 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/Q28941> .
?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:Q28941 p:P1411 ?s . ?s ps:P1411 wd:Q103360 . ?s pq:P1686 ?value}