Question: Which movie is longer, Everybody Loves Raymond or Taken (the one that is originally aired on Syfy)?
Choices:
Battlestar Galactica
The Stand
Taken
The Ten Commandments
The Civil War
George Washington
Everybody Loves Raymond
The Diary of Anne Frank
Roots
Edge of Darkness
Program:
function: Find
inputs: Everybody Loves Raymond
function: Find
inputs: Syfy
function: Relate
dependencies: 1
inputs: original network
backward
function: Find
inputs: Taken
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Everybody Loves Raymond" .  } UNION { ?e <pred:name> "Taken" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Syfy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Taken