Question: Which costed more, Insidious (the one whose release region is New Zealand) or Little Shop of Horrors?
Choices:
A Prairie Home Companion
Talk to Her
Training Day
Insidious
The Towering Inferno
The Fifth Element
Little Shop of Horrors
Rebecca
Pleasantville
The Hunchback of Notre Dame
Program:
function: Find
inputs: New Zealand
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Insidious
function: And
dependencies: 1
2
function: Find
inputs: Little Shop of Horrors
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Insidious" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "New Zealand" .   } UNION { ?e <pred:name> "Little Shop of Horrors" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Little Shop of Horrors