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