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