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