Question: What is the connection between Grimsby (whose distributor is Columbia Pictures) and Village Roadshow Pictures?
Choices:
illustrator
seed team
mouth of the watercourse
sport
production company
organizer
voice type
sponsor
contains settlement
production designer
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Grimsby" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Columbia Pictures" . ?e_2 <pred:name> "Village Roadshow Pictures" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Grimsby
function: And
dependencies: 1
2
function: Find
inputs: Village Roadshow Pictures
function: QueryRelation
dependencies: 3
4