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