Question: Is The Jacket or Sunday, Bloody Sunday the longer of the two?
Choices:
Rebecca
The Hunchback of Notre Dame
The Towering Inferno
The Jacket
Pleasantville
Sunday, Bloody Sunday
Training Day
Talk to Her
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: The Jacket
function: Find
inputs: Sunday, Bloody Sunday
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Jacket" .  } UNION { ?e <pred:name> "Sunday, Bloody Sunday" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sunday, Bloody Sunday