Display all small molecules stored in Bioledge enpoint

Database: 
Statement: 
Display all drugs stored in Bioledge enpoint
A limit of results per page $number$
Query: 
select ?drug_name where{ ?s<http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://www.biopax.org/release/biopax-level3.owl#SmallMolecule> . ?s<http://www.biopax.org/release/biopax-level3.owl#displayName>?drug_name . } LIMIT ??number