Question: Which had a longer duratin, Cleopatra with Timothy Dalton in the cast, or America's Next Top Model?
Choices:
The Ten Commandments
The Diary of Anne Frank
Edge of Darkness
The Pacific
Roots
Cleopatra
George Washington
Battlestar Galactica
The Stand
America's Next Top Model
Answer: Cleopatra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Timothy Dalton" .   } UNION { ?e <pred:name> "America's Next Top Model" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Timothy Dalton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: America's Next Top Model
function: SelectBetween
dependencies: 3
4
inputs: duration
greater