Question: Which one, The Delta Force or The Bridge on the River Kwai, has greater duration?
Choices:
Training Day
Talk to Her
The Towering Inferno
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
The Bridge on the River Kwai
The Delta Force
Program:
function: Find
inputs: The Delta Force
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 Delta Force" .  } 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