Question: Which work is awarded a Cannes Best Director Award that is won by John Boorman?
Choices: Love Me or Leave Me
Casablanca
Spin City
Breaker Morant
The Affair of the Necklace
Siesta
My Fair Lady
Work It
The General
Safe
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cannes Best Director Award" . ?e_2 <pred:name> "John Boorman" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Cannes Best Director Award
function: Find
inputs: John Boorman
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: The General