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