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