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