Question: Which one lasts longer, Hercules (the one whose number of episodes is 2) or Saturday Night's Main Event?
Choices: George Washington
Edge of Darkness
The Stand
The Ten Commandments
The Civil War
Hercules
The Pacific
Saturday Night's Main Event
Battlestar Galactica
Roots
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hercules" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2"^^xsd:double . } UNION { ?e <pred:name> "Saturday Night's Main Event" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hercules
function: FilterNum
dependencies: 0
inputs: number of episodes
2
=
function: Find
inputs: Saturday Night's Main Event
function: SelectBetween
dependencies: 1
2
inputs: duration
greater
Answer: Hercules