Question: Count the number of sports played by schools which play hockey ?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:sport <http://dbpedia.org/resource/Hockey> . ?x onto:sport ?uri }