Question: Which has greater box office The Lord of the Rings: The Fellowship of the Ring (the one whose release region is Japan) or The Hunger Games?
Choices:
The Towering Inferno
Pleasantville
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
The Fifth Element
The Lord of the Rings: The Fellowship of the Ring
Rebecca
The Hunger Games
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lord of the Rings: The Fellowship of the Ring
function: And
dependencies: 1
2
function: Find
inputs: The Hunger Games
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lord of the Rings: The Fellowship of the Ring" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Japan" .   } UNION { ?e <pred:name> "The Hunger Games" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Lord of the Rings: The Fellowship of the Ring