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