Question: For which work was Mark Johnson (the one whose CANTIC-ID is a10946469) awarded the Academy Award for Best Picture?
Choices: No Way Out
In the Valley of Elah
Baby Doll
24: Redemption
Love Me or Leave Me
Easy Rider
Bleak House
Boulevard of Broken Dreams
Corpse Bride
Rain Man
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Johnson" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10946469" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Mark Johnson
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10946469
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 1
2
inputs: award received
for work
Answer: Rain Man