what is the {for work} for {Danny Elfman} has {nominated for} as {Academy Award for Best Original Score} ?
Which of Danny Elfman's works was nominated for an Academy Award for Best Original Score?
SELECT ?value WHERE { wd:Q193338 p:P1411 ?s . ?s ps:P1411 wd:Q488651 . ?s pq:P1686 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q193338> .
?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/Q488651> .
?statement <http://www.wikidata.org/entity/P1686> ?value. 
} 

Which score got Danny Elfman nominated for an Academy Award for Best Original Score?