Question: Were expenses higher for Groundhog Day or Bonnie and Clyde, with its story set in Iowa?
Choices:
Curse of the Golden Flower
Pleasantville
Talk to Her
The Hunchback of Notre Dame
Bonnie and Clyde
A Prairie Home Companion
The Towering Inferno
Training Day
The Fifth Element
Groundhog Day
Program:
function: Find
inputs: Groundhog Day
function: Find
inputs: Iowa
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Bonnie and Clyde
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Groundhog Day" .  } UNION { ?e <pred:name> "Bonnie and Clyde" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Iowa" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Groundhog Day