sparql distinct example Example: sparql count distinct SELECT ?a (count(distinct ?a) as ?count) WHERE { ?a ?b ?c }