Question: Which movie is shorter, Flashdance or Nick and Norah's Infinite Playlist?
Choices:
A Prairie Home Companion
Nick and Norah's Infinite Playlist
Curse of the Golden Flower
Training Day
Rebecca
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
The Fifth Element
Flashdance
Program:
function: Find
inputs: Flashdance
function: Find
inputs: Nick and Norah's Infinite Playlist
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flashdance" .  } 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