Re: Loading OWL imports from local

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Loading-OWL-imports-from-local-tp1606p1610.html

Hello,

You can use the "onto_path" global variable to define pathes were ontologies are searched.

The ontologies must be in one of the directories in onto_path, and they must have a filename corresponding to the end of their IRI (with an additional .owl if needed).

See the doc here:

https://owlready2.readthedocs.io/en/latest/onto.html#loading-an-ontology-from-owl-files

Jiba