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