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