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