– Re: Comparing classes or construction object
In Reply To
A possible solution (but not "light") is to create classes equivalent to your And and Or, because calling the reasoner.
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).