what is the {statement is subject of} for {William Walton} has {nominated for} as {Academy Award for Best Original Dramatic or Comedy Score} ?
How did William Walton get the nomination for the Best Original Dramatic and Comedy Score awards?
How was William Walton nominated for the Best Original Dramatic or Comedy Score?
SELECT ?r WHERE { ?y property:statement_is_subject_of ?r . resource:William_Walton property:nominated_for ?y . ?y 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/Q310939> .
?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/P805> ?value. 
} 

SELECT ?value WHERE { wd:Q310939 p:P1411 ?s . ?s ps:P1411 wd:Q22752868 . ?s pq:P805 ?value}