Question: Which movie made more at the box office, Minority Report (the one that is shot in Florida) or Grease?
Choices:
Rebecca
Pleasantville
A Prairie Home Companion
Talk to Her
Training Day
Grease
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Minority Report
Answer: Grease
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Minority Report" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Florida" .   } UNION { ?e <pred:name> "Grease" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Florida
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Minority Report
function: And
dependencies: 1
2
function: Find
inputs: Grease
function: SelectBetween
dependencies: 3
4
inputs: box office
greater