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