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