Question: Which movie is longer, Cleopatra (the one that has Billy Zane as a cast member) or The Cosby Show?
Choices: The Pacific
Roots
Edge of Darkness
Cleopatra
The Cosby Show
Battlestar Galactica
The Civil War
George Washington
The Diary of Anne Frank
The Stand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Billy Zane" .   } UNION { ?e <pred:name> "The Cosby Show" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Billy Zane
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: The Cosby Show
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Cleopatra