Question: Which movie cost more to make, Bonnie and Clyde (the one whose narrative location is Iowa) or Scary Movie?
Choices:
Bonnie and Clyde
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Talk to Her
The Fifth Element
Scary Movie
Rebecca
The Towering Inferno
Training Day
Answer: Scary Movie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bonnie and Clyde" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Iowa" .   } UNION { ?e <pred:name> "Scary Movie" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Iowa
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Bonnie and Clyde
function: And
dependencies: 1
2
function: Find
inputs: Scary Movie
function: SelectBetween
dependencies: 3
4
inputs: cost
greater