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