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