Question: What is the subject of 'nominated for' in 'Charlie and the Chocolate Factory (the one that has Danny Elfman as a cast member) was nominated for Academy Award for Best Costume Design'
Choices: Kyrgyzstan–Tajikistan relations
Palau–Taiwan relations
India–European Union relations
Illinois–Missouri border
Arizona–Utah border
Denmark–Syria relations
South Korea–United States relations
37th Saturn Awards
Dominican Republic–United States border
78th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Charlie and the Chocolate Factory" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Danny Elfman" . ?e_2 <pred:name> "Academy Award for Best Costume Design" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Danny Elfman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Charlie and the Chocolate Factory
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of
Answer: 78th Academy Awards