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