Question: Which has a lesser box office, Mission: Impossible (whose narrative location is Dublin) or The Godfather Part III?
Choices:
Rebecca
Pleasantville
Talk to Her
Mission: Impossible
The Fifth Element
A Prairie Home Companion
Training Day
Curse of the Golden Flower
The Godfather Part III
The Hunchback of Notre Dame
Program:
function: Find
inputs: Dublin
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Mission: Impossible
function: And
dependencies: 1
2
function: Find
inputs: The Godfather Part III
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mission: Impossible" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Dublin" .   } UNION { ?e <pred:name> "The Godfather Part III" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Godfather Part III