Question: Which movie is longer, The Great Gatsby (the one whose release region is New Zealand) or The Song of Bernadette?
Choices: Pleasantville
Talk to Her
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Training Day
The Song of Bernadette
A Prairie Home Companion
Rebecca
The Great Gatsby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Great Gatsby" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "New Zealand" .   } UNION { ?e <pred:name> "The Song of Bernadette" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New Zealand
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 1
2
function: Find
inputs: The Song of Bernadette
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: The Song of Bernadette