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