Question: Which was longer,  Lust, Caution or Arizona (the one whose producer is Douglas Fairbanks)?
Choices:
Training Day
Rebecca
Pleasantville
A Prairie Home Companion
The Fifth Element
The Towering Inferno
Arizona
Lust, Caution
The Hunchback of Notre Dame
Talk to Her
Answer: Lust, Caution
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lust, Caution" .  } UNION { ?e <pred:name> "Arizona" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Douglas Fairbanks" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lust, Caution
function: Find
inputs: Douglas Fairbanks
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Arizona
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater