– Re: Comparing classes or construction object
In Reply To
For the first case, I tried the function issubclass(), it worked fine (owlready2.issubclass(ClassA, ClassB)).
For the second case, I'm not sure. Do I need to treat/create constructor as new class?
Could you explain more or provide a concrete example? Suppose I have two constructor (either And or Or) ConstructorA and ConstructorB, how could I use owlready to compare them?
Thanks for your reply.