Question: Does Hellboy (the one whose release region is Peru) or Apollo 13 have less box office?
Choices:
Talk to Her
Training Day
Apollo 13
The Towering Inferno
Hellboy
Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Program:
function: Find
inputs: Peru
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Hellboy
function: And
dependencies: 1
2
function: Find
inputs: Apollo 13
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hellboy" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Peru" .   } UNION { ?e <pred:name> "Apollo 13" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hellboy