Design a Schema
Workbase allows the visualisation and design of a grakn schema.
Navigate to the Schema Designer
[caption: We can access the schema designer by clicking the top left schema desinger icon.]
Define New Entity Type
[slide:start]
[body:start][body:end]
[footer:start]We can use the left bar to define new entity type.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specify the name of the entity and the super type.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specifiy the attributes that the entity can have, given that the attribute type has already been defined.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specify the roles the entity type can play, given that the relation for those roles have been defined.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] Create the type by clikcing on **Submit**. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] [footer:end]
[slide:end]
Define New Attribute Type
[slide:start]
[body:start][body:end]
[footer:start]We can use the left bar to deine new attribute type.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specify the name of the attribute and the data type.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specifiy the attributes that the attribute can have, given that the attribute type has already been defined. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specify the roles the attribute type can play, given that the relation for those roles have been defined. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] Create the type by clikcing on **Submit**. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] [footer:end]
[slide:end]
Define New Relation Type
[slide:start]
[body:start][body:end]
[footer:start]We can use the left bar to deine new relation type.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specify the name of the relation, the super type and the role players.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specifiy the attributes that the relation can have, given that the attribute type has already been defined. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can specify the roles the relation type can play, given that the relation for those roles have been defined. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] Create the type by clikcing on **Submit**. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] [footer:end]
[slide:end]
Manage Attribute Types
[slide:start]
[body:start][body:end]
[footer:start]We may add an exisiting attribute type to a schema concept type by selecting it and clicking on **Add Attribute Types** in the right bar.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]Select the attribute we want to add.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]Click **Add**. [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] [footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can remove an attribute by clicking on the **trash** icon next to the attribute. [footer:end]
[slide:end]
Display Settings
[slide:start]
[body:start][body:end]
[footer:start]Navigate to the **Display Settings** by clicking on the **gear** icon.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start]We can toggle schema concept types to show or hide them.[footer:end]
[slide:end]
[slide:start]
[body:start][body:end]
[footer:start] [footer:end]
[slide:end]
Delete
[caption: We may delete an existing schema concept type by right-clicking on the node and clicking Delete.]