what is the {for work} for {Paddy Chayefsky} has {nominated for} as {Academy Award for Best Writing, Original Screenplay} ?
Paddy Chayefsky was nominated an Academy Award for Best Writing, Original Screenplay for which body of work?
What body of work did Paddy Chayefsky get nominated an Academy Award for Best writing, Original Screenplay?
SELECT ?n WHERE { ?x property:for_work ?n . resource:Paddy_Chayefsky property:nominated_for ?x . ?x property:nominated_for resource:Academy_Award_for_Best_Writing,_Original_Screenplay }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q180251> .
?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/Q41417> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q180251 p:P1411 ?s . ?s ps:P1411 wd:Q41417 . ?s pq:P1686 ?value}