Question: Which one has more running time between Casablanca (the one that has Peter Lorre as a cast member) or The Fast and the Furious (the one that has Ted Levine as a cast member)?
Choices: Pleasantville
The Fifth Element
A Prairie Home Companion
The Fast and the Furious
Talk to Her
Rebecca
Training Day
Curse of the Golden Flower
The Towering Inferno
Casablanca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Casablanca" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Lorre" .   } UNION { ?e <pred:name> "The Fast and the Furious" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Ted Levine" .  } ?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: Casablanca
function: And
dependencies: 1
2
function: Find
inputs: Ted Levine
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Fast and the Furious
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Fast and the Furious