# create a frequency table of the types of organizations SELECT ?label (COUNT(DISTINCT ?uri) AS ?count) WHERE { ?uri a foaf:Organization . ?uri a ufVivo:UFEntity . ?uri rdf:type ?label . } GROUP BY ?label ORDER BY DESC(?count)