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