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