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