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