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