what is the {for work} for {Leonard Bernstein} has {nominated for} as {Academy Award for Best Original Dramatic or Comedy Score} ?
Why was Leonard Bernstein nominated for Best original Dramatic or Comedy Score at the Academy Awards?
What is the  working  for  Leonard Bernstein  as Academy Award for Best Original Dramatic or Comedy Score ?
SELECT ?z WHERE { ?b property:for_work ?z . resource:Leonard_Bernstein property:nominated_for ?b . ?b property:nominated_for resource:Academy_Award_for_Best_Original_Dramatic_or_Comedy_Score }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q152505> .
?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/Q22752868> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q152505 p:P1411 ?s . ?s ps:P1411 wd:Q22752868 . ?s pq:P1686 ?value}