Question: Which is longer, Monk or The Stand that mainly depicts influenza?
Choices: George Washington
Edge of Darkness
Battlestar Galactica
Monk
The Civil War
The Diary of Anne Frank
The Pacific
Roots
The Ten Commandments
The Stand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monk" .  } UNION { ?e <pred:name> "The Stand" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "influenza" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Monk
function: Find
inputs: influenza
function: Relate
dependencies: 1
inputs: main subject
backward
function: Find
inputs: The Stand
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: The Stand