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