Question: Which movie made more at the box office, Dirty Dancing (the one whose regional debut venue is Cannes Film Festival) or The Matrix?
Choices:
Dirty Dancing
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
The Matrix
Pleasantville
Curse of the Golden Flower
Training Day
Talk to Her
The Towering Inferno
Answer: The Matrix
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dirty Dancing" . ?e <film_regional_debut_venue> ?e_1 . ?e_1 <pred:name> "Cannes Film Festival" .   } UNION { ?e <pred:name> "The Matrix" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cannes Film Festival
function: Relate
dependencies: 0
inputs: film regional debut venue
backward
function: Find
inputs: Dirty Dancing
function: And
dependencies: 1
2
function: Find
inputs: The Matrix
function: SelectBetween
dependencies: 3
4
inputs: box office
greater