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