Question: What school has the religion that is the religion of Aaliyah?
Choices:
Catholic school
Frank Skinner
Jason Kidd
Parker Posey
Royal Military Academy Sandhurst
Stuyvesant High School
National Theatre School of Canada
Aaliyah
Michelangelo
Vince Vaughn
Program:
function: Find
inputs: Aaliyah
function: Relate
dependencies: 0
inputs: religion
forward
function: FilterConcept
dependencies: 1
inputs: religion
function: Relate
dependencies: 2
inputs: religion
backward
function: FilterConcept
dependencies: 3
inputs: school
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e <religion> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "religion" . ?e_2 <religion> ?e_1 . ?e_2 <pred:name> "Aaliyah" .   }
Answer: Catholic school