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