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