Question: Did Pan's Labyrinth do better within the box office, or was it The Perks of Being a Wallflower, released in Spain?
Choices:
Curse of the Golden Flower
The Fifth Element
Training Day
The Towering Inferno
Talk to Her
Pleasantville
The Perks of Being a Wallflower
Pan's Labyrinth
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Spain
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Perks of Being a Wallflower
function: And
dependencies: 1
2
function: Find
inputs: Pan's Labyrinth
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Perks of Being a Wallflower" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Spain" .   } UNION { ?e <pred:name> "Pan's Labyrinth" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pan's Labyrinth