Skip to content

Commit

Permalink
Update neural_ontology_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LckyLke committed Dec 9, 2024
1 parent 8e135e9 commit 1a524f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions owlapy/owl_neural_reasoners/neural_ontology_manager.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from owlapy.owl_ontology_manager import OntologyManager, Ontology
from owlapy.owl_ontology_manager import OntologyManager
from dicee.knowledge_graph_embeddings import KGE

# LF: for now functions same as normal OntologyManager (+ can return path)
class NeuralOntologyManager(OntologyManager):
def __init__(self, world_store=None):
super().__init__(world_store)

def load_ontology(self, path: str = None) -> Ontology:
def load_ontology(self, path: str = None):
self._path = path
return super().load_ontology(path)

Expand Down

0 comments on commit 1a524f2

Please sign in to comment.