Question: Which has less box office, The Phantom of the Opera that was nominated for a Satellite Award for Best Costume Design or Salt?
Choices:
The Fifth Element
Pleasantville
Training Day
Talk to Her
The Towering Inferno
Rebecca
Salt
The Phantom of the Opera
The Hunchback of Notre Dame
A Prairie Home Companion
Program:
function: Find
inputs: Satellite Award for Best Costume Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: Find
inputs: Salt
function: SelectBetween
dependencies: 3
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Phantom of the Opera" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Satellite Award for Best Costume Design" .   } UNION { ?e <pred:name> "Salt" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Phantom of the Opera