La requête :

PREFIX abo: <http://artemisBookstore.com/ontology#>

SELECT (COUNT (distinct ?writer) AS ?nbWriters)
WHERE {
  ?writer a abo:Writer
}

Le résultat est 1164