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