Display all classes included in this endpoint

Statement: 

Display all classes included in this endpoint A limit of results per page $number$ (e.g., 12)

Query: 
select distinct ?s where { ?s ?p <http://www.w3.org/2002/07/owl#Class> .} limit ??number