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