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