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