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