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