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