Question: Which has a greater duration, Christopher Columbus (which has Oliver Reed as a cast member) or Shanghai Knights?
Choices: The Goodbye Girl
The Music Man
Shanghai Knights
Shackleton
Christopher Columbus
A Streetcar Named Desire
A Christmas Carol
The Challenge
All Quiet on the Western Front
The Three Musketeers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Oliver Reed" .   } UNION { ?e <pred:name> "Shanghai Knights" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oliver Reed
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Christopher Columbus
function: And
dependencies: 1
2
function: Find
inputs: Shanghai Knights
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Christopher Columbus