what is the {nominee} for {Dr. Strangelove} has {nominated for} as {Academy Award for Best Writing, Adapted Screenplay} ?
Who was the nominee for the nomination of Dr. Strangelove for Best Writing of an Adapted Screenplay for the Academy Award?
Who was the nominee for Dr. Strangelove's nomination for the Academy Award for Best Writing of an Adapted Screenplay?
SELECT ?g WHERE { ?l property:nominated_for resource:Academy_Award_for_Best_Writing,_Adapted_Screenplay . ?l property:nominee ?g . resource:Dr._Strangelove property:nominated_for ?l }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q105702> .
?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/P2453> ?value. 
} 

SELECT ?value WHERE { wd:Q105702 p:P1411 ?s . ?s ps:P1411 wd:Q107258 . ?s pq:P2453 ?value}