Display how to get an object’s properties from its class

Statement: 

How to get an object’s properties from its class A limit of results per page $number$ (e.g. 10)

Query: 
prefix npg: <http://ns.nature.com/terms/> prefix void: <http://rdfs.org/ns/void#> select ?bnode ?property ?value where { npg:Term npg:hasGraph ?graph . ?graph void:propertyPartition ?bnode . ?bnode ?property ?value . } order by ?bnode limit ??number