Question: Which made more at the box office, Inception or The Nutty Professor which was nominated for a BAFTA Award for Best Special Visual Effects?
Choices:
Pleasantville
Training Day
The Fifth Element
Talk to Her
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Inception
The Nutty Professor
Curse of the Golden Flower
Answer: Inception
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Inception" .  } UNION { ?e <pred:name> "The Nutty Professor" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Special Visual Effects" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Inception
function: Find
inputs: BAFTA Award for Best Special Visual Effects
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Nutty Professor
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater