Question: Does Anger Management whose narrative location is New York City or Kramer vs. Kramer have the higher box office?
Choices:
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
Talk to Her
Pleasantville
Rebecca
The Towering Inferno
Anger Management
Training Day
Kramer vs. Kramer
Answer: Anger Management
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anger Management" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "Kramer vs. Kramer" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Anger Management
function: And
dependencies: 1
2
function: Find
inputs: Kramer vs. Kramer
function: SelectBetween
dependencies: 3
4
inputs: box office
greater