You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: