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