Question: Which has greater duration, Battle Creek that originally aired on CBS or The Diary of Anne Frank whose duration is 112 minutes?
Choices: Battle Creek
The Civil War
Roots
The Pacific
George Washington
Emma
The Stand
The Diary of Anne Frank
Edge of Darkness
The Ten Commandments
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Battle Creek" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" . } UNION { ?e <pred:name> "The Diary of Anne Frank" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "112"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: CBS
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Battle Creek
function: And
dependencies: 1
2
function: Find
inputs: The Diary of Anne Frank
function: FilterNum
dependencies: 4
inputs: duration
112 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater
Answer: The Diary of Anne Frank