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