Reply – Re: Comparing classes or construction object
Your Name
Subject
Message
or Cancel
In Reply To
Re: Comparing classes or construction object
— by Jiba Jiba
issubclass() works only for "real" classes, sorry. In Owlready, And and Or are not "real" Python classes, because they are usually not directly used as classes in ontology (although they are theorically classes, indeed).

A possible solution (but not "light") is to create classes equivalent to your And and Or, because calling the reasoner.

Jiba