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