Question: tell me which one has a greater duration, magic Knight rayearth or My Big Fat Greek Wedding.
Choices:
Magic Knight Rayearth
Curse of the Golden Flower
The Towering Inferno
My Big Fat Greek Wedding
Pleasantville
The Hunchback of Notre Dame
Training Day
The Fifth Element
Talk to Her
A Prairie Home Companion
Program:
function: Find
inputs: My Big Fat Greek Wedding
function: Find
inputs: Magic Knight Rayearth
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "My Big Fat Greek Wedding" .  } UNION { ?e <pred:name> "Magic Knight Rayearth" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: My Big Fat Greek Wedding