Question: Which has a shorter duration, Closer or Hope and Glory?
Choices:
Curse of the Golden Flower
The Fifth Element
Training Day
Talk to Her
Rebecca
Closer
The Towering Inferno
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Closer
function: Find
inputs: Hope and Glory
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Closer" .  } UNION { ?e <pred:name> "Hope and Glory" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Closer