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