Question: For which work was  Melvin Frank nominated for the Academy Award for Best Picture?
Choices:
Titus
Mad Men
The Iron Lady
Midnight in Paris
Unfaithful
A Touch of Class
Getting Even with Dad
Billy Budd
The Shadow of the Torturer
Bowling for Columbine
Answer: A Touch of Class
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Melvin Frank" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?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: Melvin Frank
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work