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