Hi all,
I got an error which I do not completely understand:
[TYW34] Invalid Type Write: The role type 'relation102:role10' cannot be used as an alias for the inherited role type 'relation100:role10' - use the inherited role type or define a new role type overriding it with a new name.
The schema looks like this
relation100 sub relation, relates role10
relation101 sub relation100, plays relation2:role2
relation102 sub relation101, plays relation3:role3
entity1 sub entity, plays relation102:role10
The error is thrown when defining this last entity1. So my question is, can one not use the inherited relates role ‘role10’ for all its children relations when defining a play role in one of them?
Maybe I’m missing something, but I thought basically that the relates role gets just inherited along the line and that an entity could play a role in relation102 with that inherited relates role ‘role10’. Also when defining a relation with relation101, I get the error:
Invalid Type Write: The role type 'relation101:role10' cannot be used as an alias for the inherited role type 'relation100:role10' - use the inherited role type or define a new role type overriding it with a new name.
So this would imply that an object can only play role10 in relation100 but not in relation101 or relation102, but then I think I’m really lacking an understanding of what it means to pass on ‘relates roles’ (or inherit relates roles respectively)
Would be great to here your opinion on that! ![]()
Many thanks!