|
How do I create a relation between two classes but limiting the output once this relation is called.
e.g.
If classA has instances [A1, A2, A3] and class B has [B1, B2, B3],
I want to create relation R that maps class A's instances to classB's instances, however
exclude B1.
Is there a way in specifying this when creating the relation class?
Or, Is there any other way to add this kind of logic in Owlready please?
Thanks
|