SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/leaderName> <http://dbpedia.org/resource/West_Berkshire_Council> . ?uri <http://dbpedia.org/property/city> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/School>}
Count the number of schools which are in a city governed by the West Berkshire Council?
SELECT DISTINCT COUNT ( ?z ) WHERE { ?z rdf:type ontology:School . ?a property:leader_name resource:West_Berkshire_Council . ?z property:city ?a }
28
There are [28] schools whose city's leader is West Berkshire Council.
There are [28] schools led by West Berkshire Council.