Re: Support load() to provide explicit ontology file locations

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Support-load-to-provide-explicit-ontology-file-locations-tp3197p3210.html

Hi,

A third option is to manually preload the imported ontology before loading the ontology itself. But I admit that it is not fully satisfying.

Possibly a simpler solution would be to modify PREDEFINED_ONTOLOGIES so as it also accepts absolute path (and not only path relative to owlready2/ontos), so as one can just update the dictionary with additional mappings?

Jiba