Question: Which movie has a lower box office, Limitless (the one whose release region is Bosnia and Herzegovina) or Basic Instinct?
Choices:
The Towering Inferno
Limitless
Training Day
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
Rebecca
Basic Instinct
Program:
function: Find
inputs: Bosnia and Herzegovina
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Limitless
function: And
dependencies: 1
2
function: Find
inputs: Basic Instinct
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limitless" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Bosnia and Herzegovina" .   } UNION { ?e <pred:name> "Basic Instinct" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Limitless