Question: Which secondary school in Montreal is the education place of Peter Cullen (who was educated at National Theatre School of Canada)?
Choices:
London Academy of Music and Dramatic Art
Royal Military Academy
National School of Drama
National Theatre School of Canada
Royal Military Academy Sandhurst
Fiorello H. LaGuardia High School
Phillips Academy
Royal Academy of Dramatic Art
Lee Strasberg Theatre and Film Institute
Punahou School
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: secondary school
function: Find
inputs: National Theatre School of Canada
function: Relate
dependencies: 3
inputs: educated at
backward
function: Find
inputs: Peter Cullen
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: educated at
forward
function: FilterConcept
dependencies: 7
inputs: secondary school
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "secondary school" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Montreal" .  ?e_2 <educated_at> ?e . ?e_2 <pred:name> "Peter Cullen" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "National Theatre School of Canada" .  }
Answer: National Theatre School of Canada