Question: What work was Danny Aiello nominated for the Academy Award for Best Supporting Actor for?
Choices: My Boss's Daughter
Babes in Arms
Le Noise
Lassie
The Wings of the Dove
Shanghai Express
Do the Right Thing
Girl with a Pearl Earring
Paper Moon
The Cove
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Danny Aiello" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Danny Aiello
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work
Answer: Do the Right Thing