Question: Did Charlie and the Chocolate Factory, released in Kazakhstan, or The Piano do better in terms of box office revenue?
Choices:
A Prairie Home Companion
The Towering Inferno
Pleasantville
The Fifth Element
Training Day
Charlie and the Chocolate Factory
The Hunchback of Notre Dame
Rebecca
The Piano
Curse of the Golden Flower
Answer: Charlie and the Chocolate Factory
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie and the Chocolate Factory" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Kazakhstan" .   } UNION { ?e <pred:name> "The Piano" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kazakhstan
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: The Piano
function: SelectBetween
dependencies: 3
4
inputs: box office
greater