Question: Which movie is longer, Casino Royale (the one that has Peter Lorre as a cast member) or The Tree of Life?
Choices: Casino Royale
The Tree of Life
Training Day
Pleasantville
Rebecca
Curse of the Golden Flower
Talk to Her
The Towering Inferno
The Fifth Element
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Casino Royale" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Lorre" .   } UNION { ?e <pred:name> "The Tree of Life" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Peter Lorre
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Casino Royale
function: And
dependencies: 1
2
function: Find
inputs: The Tree of Life
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Tree of Life