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