Question: Which earned more in ticket sales: Little Fockers or Charlie and the Chocolate Factory, an Academy Award nominee for Best Costume Design?
Choices: Curse of the Golden Flower
Pleasantville
The Fifth Element
A Prairie Home Companion
Training Day
Charlie and the Chocolate Factory
Talk to Her
Rebecca
The Hunchback of Notre Dame
Little Fockers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Little Fockers" .  } UNION { ?e <pred:name> "Charlie and the Chocolate Factory" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Costume Design" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Little Fockers
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Charlie and the Chocolate Factory
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
Answer: Charlie and the Chocolate Factory