Question: Did Wonder Woman, set in Belgium, or Zookeeper do better at the box office?
Choices:
A Prairie Home Companion
Wonder Woman
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
Pleasantville
Talk to Her
Rebecca
Zookeeper
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: Zookeeper
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wonder Woman" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Belgium" .   } UNION { ?e <pred:name> "Zookeeper" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wonder Woman