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