Question: Which movie is longer, What Lies Beneath or The Book of Eli?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
The Book of Eli
What Lies Beneath
Rebecca
The Fifth Element
Pleasantville
Talk to Her
The Towering Inferno
Program:
function: Find
inputs: What Lies Beneath
function: Find
inputs: The Book of Eli
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "What Lies Beneath" .  } UNION { ?e <pred:name> "The Book of Eli" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: What Lies Beneath