Question: Which movie cost more to make, Limitless (the one whose release region is Canada) or The Master (the one whose composer is Jonny Greenwood)?
Choices:
The Fifth Element
Training Day
Talk to Her
Limitless
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
The Master
Answer: The Master
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limitless" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Canada" .   } UNION { ?e <pred:name> "The Master" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Jonny Greenwood" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Limitless
function: And
dependencies: 1
2
function: Find
inputs: Jonny Greenwood
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: The Master
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater