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