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