### Question:
RDFSSchemaGenerator extends AbstractSchemaGenerator { @Override public Set<OWLAxiom> generateSchema() { LOGGER.info("generating RDFS schema..."); learnedAxiomsTotal = new HashSet<>(); learnTransitiveClosure(AxiomType.SUB_DATA_PROPERTY, EntityType.DATA_PROPERTY); learnTransitiveClosure(AxiomType.SUB_OBJECT_PROPERTY, EntityType.OBJECT_PROPERTY); learnTransitiveClosure(AxiomType.SUBCLASS_OF, EntityType.CLASS); learnIterative(AxiomType.DATA_PROPERTY_DOMAIN, EntityType.DATA_PROPERTY); learnIterative(AxiomType.OBJECT_PROPERTY_DOMAIN, EntityType.OBJECT_PROPERTY); learnIterative(AxiomType.DATA_PROPERTY_RANGE, EntityType.DATA_PROPERTY); learnIterative(AxiomType.OBJECT_PROPERTY_RANGE, EntityType.OBJECT_PROPERTY); return learnedAxiomsTotal; } RDFSSchemaGenerator(QueryExecutionFactory qef);  RDFSSchemaGenerator(OWLOntology ontology);  RDFSSchemaGenerator(Model model); @Override Set<OWLAxiom> generateSchema(); static void main(String[] args);  }### Answer:
@Test public void testGenerateSchema() throws Exception { SchemaGenerator gen = new RDFSSchemaGenerator(ontology); Set<OWLAxiom> schema = gen.generateSchema(); System.out.println("generated schema:"); schema.forEach(axiom -> System.out.println(axiom)); }