Question: How is Hairspray composed by Marc Shaiman related to Canada?
Choices:
has parts of the class
director
costume designer
legislative body
business division
part of
has part
heritage designation
film release region
commander of
Program:
function: Find
inputs: Marc Shaiman
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Hairspray
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hairspray" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Marc Shaiman" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Answer: film release region