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