Is there a way to use the Sparql endpoint to query the ontology itself - ie instead of returning the instances of the classes, the class definition itself?
Issue between me and keyboard - you can query the model as if it is any other set of triples.
The key is to disable reasoning when performing the query.