Question: Which movie is longer, Jesus of Nazareth or The Waltons?
Choices:
Battlestar Galactica
Jesus of Nazareth
The Stand
The Civil War
The Ten Commandments
Edge of Darkness
The Diary of Anne Frank
George Washington
The Pacific
The Waltons
Program:
function: Find
inputs: Jesus of Nazareth
function: Find
inputs: The Waltons
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jesus of Nazareth" .  } UNION { ?e <pred:name> "The Waltons" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jesus of Nazareth