If I have defined two classes A and B (also dynamically), and assert A(i) [in DLs] with i=A() [in Owlready], then if I assert B(i), I have to execute i=B() which will cover i=A(). That is not what I want, I want to assert A(i) and B(i). I tried to use i.is_instance_of.append(B), but got error. It is not convenient to use `A and B` explicitly, since A(i) is also asserted dynamically.
Similarly, I met the same issue when I defined a subclass of two existed classes.
My purpose is to build a man-machine conversation system with owlready
.
https://github.com/Freakwill/gimbiseo