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