Question: Was it costlier to make Charlie and the Chocolate Factory,  released in Denmark, or The Avengers, directed by Joss Whedon?
Choices:
The Fifth Element
Pleasantville
Rebecca
Curse of the Golden Flower
A Prairie Home Companion
Charlie and the Chocolate Factory
The Avengers
Talk to Her
Training Day
The Hunchback of Notre Dame
Answer: The Avengers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie and the Chocolate Factory" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Denmark" .   } UNION { ?e <pred:name> "The Avengers" . ?e <director> ?e_2 . ?e_2 <pred:name> "Joss Whedon" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Charlie and the Chocolate Factory
function: And
dependencies: 1
2
function: Find
inputs: Joss Whedon
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: The Avengers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater