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