Question: Which movie is longer, Dead Poets Society or Speed (the one that is followed by Speed 2: Cruise Control)?
Choices: Curse of the Golden Flower
The Towering Inferno
Dead Poets Society
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
Rebecca
Talk to Her
Speed
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dead Poets Society" .  } UNION { ?e <pred:name> "Speed" . ?e_1 <follows> ?e . ?e_1 <pred:name> "Speed 2: Cruise Control" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dead Poets Society
function: Find
inputs: Speed 2: Cruise Control
function: Relate
dependencies: 1
inputs: follows
forward
function: Find
inputs: Speed
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Speed