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