Question: Which is the one that has a bigger duration, Poltergeist (the one that has Italy as a release region) or Dogville.
Choices:
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Training Day
Rebecca
The Hunchback of Notre Dame
Dogville
Pleasantville
Talk to Her
Poltergeist
Program:
function: Find
inputs: Dogville
function: Find
inputs: Italy
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Poltergeist
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dogville" .  } UNION { ?e <pred:name> "Poltergeist" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Italy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dogville