Question: Robert Stack was nominated for an Academy Award for Best Supporting Actor for which work?
Choices:
Leaving Las Vegas
Small Time Crooks
Sophie's Choice
Election
Dahmer
The Big Easy
Burlap & Satin
You Don't Know Me: The Songs of Cindy Walker
Written on the Wind
Arrested Development
Answer: Written on the Wind
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robert Stack" . ?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: Robert Stack
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work