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