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