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