Question: Which movie is longer, Lock, Stock and Two Smoking Barrels or The English Patient?
Choices:
Rebecca
The Towering Inferno
Lock, Stock and Two Smoking Barrels
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Talk to Her
Training Day
The English Patient
Program:
function: Find
inputs: Lock, Stock and Two Smoking Barrels
function: Find
inputs: The English Patient
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lock, Stock and Two Smoking Barrels" .  } UNION { ?e <pred:name> "The English Patient" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The English Patient