Question: What is the relationship between Stephen Woolley's production of Hairspray and New Line Cinema?
Choices:
film distribute region
shares border with
official residence
place of burial
military rank
part of the series
educated at
approved by
distributor
takes place in fictional universe
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hairspray" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Stephen Woolley" . ?e_2 <pred:name> "New Line Cinema" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Stephen Woolley
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Hairspray
function: And
dependencies: 1
2
function: Find
inputs: New Line Cinema
function: QueryRelation
dependencies: 3
4