Question: Which movie is longer, Casino Royale (the one that has Peter Lorre as a cast member) or The Animatrix?
Choices: Neighbours
The Animatrix
Friends
The Fugitive
Eve
Frankenstein
Casino Royale
The Cure
Robin Hood
David Copperfield
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 Animatrix" .  } ?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 Animatrix
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Animatrix