title: How can I get only the classes and subclasses from an ontology using the class Model?
body: <p>I know how to do it using the OntModel, but the problem with this constructor is that I am getting also the classes from the imported ontologies, and I only want to get the classes and subclasses from the BaseModel.
  If I use the method listSubjects() I also get the properties and I dont want them.
  Thank you.</p>