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