Question: Which movie is longer, A Star Is Born (the one whose distributor is United Artists) or The Fast and the Furious (the one that has Roger Corman as a cast member)?
Choices: Curse of the Golden Flower
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
Training Day
Rebecca
Talk to Her
The Fast and the Furious
Pleasantville
A Star Is Born
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Star Is Born" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "United Artists" .   } UNION { ?e <pred:name> "The Fast and the Furious" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Roger Corman" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 1
2
function: Find
inputs: Roger Corman
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: A Star Is Born