Re: onto.metadata creator, publisher, date and license

Posted by phiofx on
URL: http://owlready.306.s1.nabble.com/onto-metadata-creator-publisher-date-and-license-tp772p2266.html

this tip didnt quite work for me (with version 0.26). I do get some triplets, but the namespaces seem mangled (I need multiple "non-owl" annotations, from dcterms, dc etc.) and the annotations are displayed in protege as instances?

One workaround that seems to be working (and could be adequate for some use cases) is to prepare these
"non owl" annotations separately (say in protege in a file template.owl), load the file and work programmatically from then on.

The interesting thing is that owlready does parse / does something with these namespaces / annotations.
"xmlns:terms="http://purl.org/dc/terms/" is replaced by "xmlns:term="http://purl.org/dc/terms/"
"xmlns:dc="http://purl.org/dc/elements/1.1/" becomes "xmlns:x_1.1="http://purl.org/dc/elements/1.1/"

but when the updated ontology is saved this does not cause any problem (the annotations are still there)