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