what is the {for work} for {Paul Thomas Anderson} has {nominated for} as {Academy Award for Best Writing, Adapted Screenplay} ?
For which achievement was Paul Thomas Anderson nominated for the Academy Award for Best Writing, Adapted Screenplay ?
For what work was Paul Thomas Anderson nominated for the Academy Award for Best Writing, Adapted Screenplay ?
SELECT ?b WHERE { ?n property:nominated_for resource:Academy_Award_for_Best_Writing,_Adapted_Screenplay . ?n property:for_work ?b . resource:Paul_Thomas_Anderson property:nominated_for ?n }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q25132> .
?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/Q107258> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

SELECT ?value WHERE { wd:Q25132 p:P1411 ?s . ?s ps:P1411 wd:Q107258 . ?s pq:P1686 ?value}