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