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