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