Question: Which movie is shorter, Cave of Forgotten Dreams or Nick and Norah's Infinite Playlist?
Choices:
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
Talk to Her
Training Day
The Towering Inferno
Nick and Norah's Infinite Playlist
The Fifth Element
Program:
function: Find
inputs: Cave of Forgotten Dreams
function: Find
inputs: Nick and Norah's Infinite Playlist
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cave of Forgotten Dreams" .  } UNION { ?e <pred:name> "Nick and Norah's Infinite Playlist" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nick and Norah's Infinite Playlist