Question: How is Charlie and the Chocolate Factory, released in Hungary, linked to Brad Grey?
Choices: rector
general manager
official color
cites
medical condition
contains administrative territorial entity
screenwriter
producer
legal form
military casualty classification
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charlie and the Chocolate Factory" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Hungary" . ?e_2 <pred:name> "Brad Grey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hungary
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Charlie and the Chocolate Factory
function: And
dependencies: 1
2
function: Find
inputs: Brad Grey
function: QueryRelation
dependencies: 3
4
Answer: producer