What is {nominated for} of {Melvyn Douglas} that is {statement is subject of} is {36th Academy Awards} ?
The 36th annual Academy Awards nominated Melvyn Doulglas in what category?
For what was Melvyn Douglas nominated for the 36th Academy Awards?
SELECT ?z WHERE { ?p property:nominated_for ?z . ?p property:statement_is_subject_of resource:36th_Academy_Awards . resource:Melvyn_Douglas property:nominated_for ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312084> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P805> <http://wikidata.dbpedia.org/resource/Q917143>
} 

SELECT ?obj WHERE { wd:Q312084 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P805 wd:Q917143 }