Question: Did Cleopatra (nominated for an Academy Award for Best Production Design) or American Psycho earn more at the box office?
Choices:
Training Day
Curse of the Golden Flower
Pleasantville
Rebecca
Talk to Her
Cleopatra
A Prairie Home Companion
The Towering Inferno
The Fifth Element
American Psycho
Answer: Cleopatra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cleopatra" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Production Design" .   } UNION { ?e <pred:name> "American Psycho" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 1
2
function: Find
inputs: American Psycho
function: SelectBetween
dependencies: 3
4
inputs: box office
greater