Re: How to move concepts from one ontology to another

Posted by mkumba on
URL: http://owlready.306.s1.nabble.com/How-to-move-concepts-from-one-ontology-to-another-tp1386p1390.html

Thanks.  

I know it's not trivial.  I have designed an algorithm that I think will get what I need anyway (I will do the recursion and make some decisions about what to include and not include)

For right now a shallow copy would suffice (by shallow I mean the class, with its restrictions, and annotations), I will handle the superclasses and disjoints myself.  

I'm following my nose, looks like I need to use a setattr, which I've never done.  When I get some spare time (probably not today) I'll read the source code to see if I can find where to add the classes and properties.

Thanks much, very impressed with this package