Question: Which movie made more at the box office, The X-Files (the one whose budget is 66000000 United States dollar) or The Lord of the Rings: The Return of the King (the one that was nominated for BAFTA Award for Best Actor in a Supporting Role)?
Choices:
Talk to Her
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Training Day
Pleasantville
A Prairie Home Companion
The Lord of the Rings: The Return of the King
Program:
function: Find
inputs: The X-Files
function: FilterNum
dependencies: 0
inputs: budget
66000000 United States dollar
=
function: Find
inputs: BAFTA Award for Best Actor in a Supporting Role
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: The Lord of the Rings: The Return of the King
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The X-Files" . ?e <budget> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "66000000"^^xsd:double . } UNION { ?e <pred:name> "The Lord of the Rings: The Return of the King" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Actor in a Supporting Role" . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Lord of the Rings: The Return of the King