Question: Which movie is shorter, The Mask of Zorro or The Animatrix?
Choices:
The Animatrix
Friends
The Cure
Frankenstein
The Mask of Zorro
David Copperfield
The Fugitive
Eve
Neighbours
The Town
Program:
function: Find
inputs: The Mask of Zorro
function: Find
inputs: The Animatrix
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mask of Zorro" .  } UNION { ?e <pred:name> "The Animatrix" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Animatrix