I have been able to create a new ontology and add classes and properties. However I haven't been able to figure out how to save the imported ontologies into the file when onto.save() is called. I set them in python using
onto.imported_ontologies = [list, of, ontologies]
but when I look at the output file, they are not located in the Ontology section of the rdfxml.
MCF, LIMICS, Université Paris 13
> Now the ontologies are added when I save from owlready2 to a file but aren't
> there when I import and print(onto.imported_ontologies). It just shows an
> empty list. I'm using the RDFXML format.
> Is there a different way to access them?
> If you reply to this email, your message will be added to the discussion below:
> http://owlready.8326.n8.nabble.com/Saving-New-Imported-Ontologies-tp224p235.html > To start a new topic under Owlready, email [hidden email] > To unsubscribe from Owlready, visit