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