Specializing relation roles


#1

Hello,

I was playing with subbing role types recently and was started wondering.
What will happen if i try to overwrite an existing relation with more specific roles, i.e. ones that sub of the current ones?
E. g. if a have a relation (parent: Bob, child: Alice) and know that

father sub parent;
daughter sub child;

then what will happen if I attempt to insert a specialisation (father Bob, daughter: Alice)?

Stefan


#2

Hi Stefan,

Relations are uniquely identified via their roles and role players. This means that you won’t actually be specialising an existing relation, rather you will be creating a new relation. So you will have one which has the following Role/Role Players:

//Role:Role Player
Parent : Bob
Child : Alice

and the other with:

//Role:Role Player
Father : Bob
Daughter : Alice

Hope that helps.

Regards,

Filipe