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