Question: Which was longer, My Left Foot or Nine Lives (the one that was nominated for Independent Spirit Award for Best Director)?
Choices:
The Hunchback of Notre Dame
Rebecca
My Left Foot
Pleasantville
Nine Lives
The Towering Inferno
Talk to Her
The Fifth Element
Training Day
A Prairie Home Companion
Program:
function: Find
inputs: My Left Foot
function: Find
inputs: Independent Spirit Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Nine Lives
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "My Left Foot" .  } UNION { ?e <pred:name> "Nine Lives" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Independent Spirit Award for Best Director" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nine Lives