Question: Does  Dune (that is filmed in Mexico) or Cowboys & Aliens have the higher box office?
Choices: Cowboys & Aliens
Dune
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
The Fifth Element
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dune" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Mexico" .   } UNION { ?e <pred:name> "Cowboys & Aliens" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Dune
function: And
dependencies: 1
2
function: Find
inputs: Cowboys & Aliens
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
Answer: Cowboys & Aliens