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