Question: Elliott Gould was nominated for an Academy Award for Best Supporting Actor for which work?
Choices:
Music Box
Annie Get Your Gun
Isadora
Little Brother
Bright Victory
The Dot and the Line
Sleepless in Seattle
The Boy Next Door
High Noon
Bob & Carol & Ted & Alice
Answer: Bob & Carol & Ted & Alice
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Elliott Gould" . ?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: Elliott Gould
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work