Question: Which has a longer running time, The Barbarian Invasions or Spirited Away?
Choices:
The Barbarian Invasions
Code Geass
Wonder Woman
My-HiME
A Christmas Carol
Anastasia
Ponyo on the Cliff by the Sea
Spirited Away
Magic Knight Rayearth
The Polar Express
Program:
function: Find
inputs: The Barbarian Invasions
function: Find
inputs: Spirited Away
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Barbarian Invasions" .  } UNION { ?e <pred:name> "Spirited Away" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spirited Away