Question: Which movie is longer, Dressed to Kill (the one whose release region is Greece) or Brideshead Revisited (the one that origins from Italy)?
Choices:
Curse of the Golden Flower
Rebecca
The Towering Inferno
Talk to Her
Training Day
A Prairie Home Companion
The Fifth Element
Brideshead Revisited
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Dressed to Kill
function: And
dependencies: 1
2
function: Find
inputs: Italy
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Brideshead Revisited
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dressed to Kill" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Greece" .   } UNION { ?e <pred:name> "Brideshead Revisited" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "Italy" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brideshead Revisited