Question: For which work did Jim Clark (who has the occupation of film director) receive an Academy Award for Best Film Editing?
Choices:
The Killing Fields
Wall Street
The Damnation Game
Little Voice
Everyone Says I Love You
Judy at Carnegie Hall
Paper Moon
The Shadow of the Torturer
Wild Strawberries
The Confessions Tour
Answer: The Killing Fields
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jim Clark" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film director" . ?e_2 <pred:name> "Academy Award for Best Film Editing" . ?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: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jim Clark
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Film Editing
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
for work