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