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