Question: Is Alien: Resurrection or The Last Samurai the longer of the two?
Choices:
Rebecca
The Towering Inferno
Pleasantville
Training Day
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
The Last Samurai
Curse of the Golden Flower
A Prairie Home Companion
Program:
function: Find
inputs: Alien: Resurrection
function: Find
inputs: The Last Samurai
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alien: Resurrection" .  } UNION { ?e <pred:name> "The Last Samurai" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Last Samurai