Question: What is the connection between Pleasantville (the one whose composer is Randy Newman) to Warner Bros.?
Choices:
student
production company
destination point
creator
substitute/deputy/replacement of office/officeholder
designated as terrorist by
home world
designed by
candidate
developer
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pleasantville" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Randy Newman" . ?e_2 <pred:name> "Warner Bros." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Randy Newman
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Pleasantville
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: QueryRelation
dependencies: 3
4