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