Question: Mark Johnson who produced My Sister's Keeper received an Academy Award for Best Picture for which work?
Choices:
Ally McBeal
My Boss's Daughter
Seal
The Hurt Locker
Prem Rog
Rain Man
Hannah and Her Sisters
Press Enter■
Jimmy Neutron: Boy Genius
Romancing the Stone
Answer: Rain Man
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mark Johnson" . ?e_3 <producer> ?e_1 . ?e_3 <pred:name> "My Sister's Keeper" . ?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: My Sister's Keeper
function: Relate
dependencies: 0
inputs: producer
forward
function: Find
inputs: Mark Johnson
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work