OntologyYaml.rdf_to_yaml(...) instantiates Translator() with no arguments, but Translator.__init__ references self.__triple_store_service.get_schema_graph() even though __triple_store_service is not defined in Translator. As written, calling rdf_to_yaml will raise an AttributeError unless Translator is fixed or externally patched to have __triple_store_service.
Default argument class_colors_mapping: dict = {} is mutable.
Only the first subclassOf entry is used when emitting a class is_a relation (subclass[0]).
Relation extraction for individuals depends on object property labels (rdfs:label); it then looks for those label strings as keys in the individual’s predicate-mapped dict (i.e., the label must match the mapped predicate name in self.mapping output).