Question: Which movie cost more to make, Thunderball (the one whose release region is United States of America) or The Polar Express (the one that was nominated for Academy Award for Best Sound Editing)?
Choices:
Naruto Shippuden the Movie: Bonds
Wonder Woman
Ponyo on the Cliff by the Sea
Magic Knight Rayearth
Code Geass
A Christmas Carol
Thunderball
My-HiME
The Polar Express
Superman
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Thunderball
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Sound Editing
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Polar Express
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thunderball" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "The Polar Express" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Sound Editing" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Polar Express