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