Question: Which movie is longer, Hope and Glory or Bucky Larson: Born to Be a Star?
Choices:
Hope and Glory
Training Day
Bucky Larson: Born to Be a Star
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Talk to Her
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Program:
function: Find
inputs: Hope and Glory
function: Find
inputs: Bucky Larson: Born to Be a Star
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hope and Glory" .  } UNION { ?e <pred:name> "Bucky Larson: Born to Be a Star" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hope and Glory