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