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