SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/athletics> <http://dbpedia.org/resource/Basketball> . ?x <http://dbpedia.org/property/athletics> ?uri }
Count the number of sports played by the universities whose one of the sports is baketball ?
SELECT DISTINCT COUNT ( ?i ) WHERE { ?m property:athletics resource:Basketball . ?m property:athletics ?i }
75
There are [75] athletics on the universities where one them is basketball.
Universities where you play basketball have [75] athletics.