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