Administrator
|
Hi,
Currently, it is not possible to do that... To fix that, I've added the OntologyClass argument to the get_ontology function (and similarly for the get_namespace function), in the development version.
You can download the development version on Bitbucket. You may also just create the ontology with YourOntologyClass("base iri"), provided that the base IRI ends with # or /, and that the ontology does not exist yet in Python (these two tasks are normally handled by get_ontology()).
Jiba
|