Re: HELP : Add elements from one ontology to another

Posted by cknoll on
URL: http://owlready.306.s1.nabble.com/HELP-Add-elements-from-one-ontology-to-another-tp2128p2133.html

The only way that I know is to dynamically *create* the individuals from B in the context of onto_A:

I implemented a minimal example:

https://github.com/cknoll/demo-material/blob/main/expertise_system/copy_individuals.ipynb

It also shows how to use separate worlds to keep both ontologies apart. However it might be necessary to copy more data than just the comments.


Let me know, if you find a better solution.


Best,
Carsten.