Question: Count the number teams which have former ice hockey players which also included American Hockey League?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:formerTeam <http://dbpedia.org/resource/American_Hockey_League> . ?x onto:formerTeam ?uri }