Question: Was the box office revenue lower for The Lorax released in Indonesia or Toy Story released in Germany?
Choices:
Aladdin
Shrek 2
Beauty and the Beast
The Lorax
WALL·E
Lilo & Stitch
Peter Pan
The Rescuers
Toy Story
Renaissance
Program:
function: Find
inputs: Indonesia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lorax
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Toy Story
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lorax" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Indonesia" .   } UNION { ?e <pred:name> "Toy Story" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Germany" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Lorax