How to count the number of distinct values of each data property SPARQL

I m trying to make a SPARQL query that returns the number of distinct values of each data property of a Turtle file. I have created a simple ontology to test: @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix uni: <http://www.hiai.fit.edu/university#> . @prefix xml: <http://www.w3.org/XML/1998/namespace> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .…

Details