Question: Does Flight (whose release region is Finland) or The Nutty Professor (whose production company is Imagine Entertainment) have the higher box office?
Choices:
The Nutty Professor
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Pleasantville
Rebecca
Flight
The Towering Inferno
Answer: The Nutty Professor
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flight" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } UNION { ?e <pred:name> "The Nutty Professor" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Imagine Entertainment" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Flight
function: And
dependencies: 1
2
function: Find
inputs: Imagine Entertainment
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: The Nutty Professor
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
greater