Add or modify roles in Workbase


#1

In the Workbase graphical interface it is possible to create Entities, Attributes and Relationships, indicating their attributes (has) and their roles (plays). Once created it is possible to add or modify the attributes, but I did not find where to add or modify the roles in this graphical interface.


#2

Hi @jeposadap

Thanks for your suggestion. That feature is in the roadmap and will be implemented. :slight_smile:
Also feel free to make pull requests to the repo directly if you’re interested. :wink:


#3

I appreciate your prompt response. In the meantime I do not know if you can tell me how I can add a role to an existing entity using graql (command line).


#6

You can simply define the role that a concept is allowed to play:

define siblings sub relationship, relates sibling;
define person sub entity, plays sibling;
commit