I am not sure that I understand your problem, maybe you can just use the `.domain` attribute:
extending the example from another recent mailinglist question (which you do not need to understand in detail)
https://nbviewer.jupyter.org/github/cknoll/demo-material/blob/main/expertise_system/cardinality_restriction_demo.ipynbThis would read:
print(type(has_Equipments))
<class 'owlready2.prop.ObjectPropertyClass'>
print(has_Equipments.domain) # note: this is a list
[test.EquipmentContainer]
Best,
Carsten.