Display all classes included in this endpoint

Database: 
Statement: 
Display all classes included in this endpoint
A limit of results per page $number$ (e.g., 2)
Query: 
select distinct ?classes where {?s rdf:type ?classes} Limit ??number