Question: What relation does the Charlie and the Chocolate Factory that cost 150,000,000 US dollars have to a BAFTA Award for Best Makeup and Hair?
Choices:
affiliation
contains settlement
headquarters location
nominated for
airline hub
designated as terrorist by
terminus
production designer
update method
domain of saint or deity
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charlie and the Chocolate Factory" . ?e_1 <cost> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "150000000"^^xsd:double . ?e_2 <pred:name> "BAFTA Award for Best Makeup and Hair" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charlie and the Chocolate Factory
function: FilterNum
dependencies: 0
inputs: cost
150000000 United States dollar
=
function: Find
inputs: BAFTA Award for Best Makeup and Hair
function: QueryRelation
dependencies: 1
2