Reply – Re: Comparing classes or construction object
Your Name
Subject
Message
or Cancel
In Reply To
Re: Comparing classes or construction object
— by fengbozheng fengbozheng
Thanks for your reply.
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,
Fengbo