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