Question: Which movie is longer, Cedar Rapids (the one that has Mike O'Malley as a cast member) or Rambo: First Blood Part II?
Choices: Cedar Rapids
Rebecca
The Fifth Element
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
Training Day
Rambo: First Blood Part II
Talk to Her
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cedar Rapids" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Mike O'Malley" .   } UNION { ?e <pred:name> "Rambo: First Blood Part II" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mike O'Malley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cedar Rapids
function: And
dependencies: 1
2
function: Find
inputs: Rambo: First Blood Part II
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Rambo: First Blood Part II