Question: Which had a greater box office, It's Complicated or Amadeus (the one that was nominated for Academy Award for Best Sound Mixing)?
Choices: Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
It's Complicated
Talk to Her
Curse of the Golden Flower
The Fifth Element
Training Day
The Towering Inferno
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "It's Complicated" .  } UNION { ?e <pred:name> "Amadeus" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Mixing" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: It's Complicated
function: Find
inputs: Academy Award for Best Sound Mixing
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Amadeus
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
Answer: It's Complicated