Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs of owlready2 #27

Open
AleSteB opened this issue Oct 12, 2023 · 2 comments
Open

Bugs of owlready2 #27

AleSteB opened this issue Oct 12, 2023 · 2 comments

Comments

@AleSteB
Copy link

AleSteB commented Oct 12, 2023

When working with owlready2 some bugs/features arise, which I want to address here, maybe it helps someone, hope it is the right place to post.

With some ontologies, I get a stack overflow error during readin of the respective ontology using owlready2's get_ontology(URL).load()

This often is due to contained obsolete classes and deprecated object properties within the ontology file.
My workaround is to manual delete the obsolete classes and object properties within the ontology file with Protégé and then saving the resulting file in rdf/xml as a local copy.
Afterwards you can use get_ontology('./local_path_to_ontology/ontology_name.owl').load() to load the 'fixed' ontology.

@felixocker
Copy link
Contributor

the Owlready forum would also be a good place to share this

@AleSteB
Copy link
Author

AleSteB commented Oct 19, 2023

Thank you! Posted it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants