Question: Which movie cost more to make, Batman Begins (the one that is shot in Waukegan) or Moonrise Kingdom
Choices: The Hunchback of Notre Dame
Training Day
Batman Begins
Moonrise Kingdom
Rebecca
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Batman Begins" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Waukegan" .   } UNION { ?e <pred:name> "Moonrise Kingdom" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Waukegan
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Batman Begins
function: And
dependencies: 1
2
function: Find
inputs: Moonrise Kingdom
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
Answer: Batman Begins