Question: What is the number of private schools that have the religion Church of England and that have American Kennel Club as a religion.
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private school" . ?e <religion> ?e_1 . ?e_1 <pred:name> "Church of England" .  ?e <religion> ?e_2 . ?e_2 <pred:name> "American Kennel Club" .  }
Program:
function: Find
inputs: Church of England
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: private school
function: Find
inputs: American Kennel Club
function: Relate
dependencies: 3
inputs: religion
backward
function: FilterConcept
dependencies: 4
inputs: private school
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0