Updated at: 2023-02-17 06:02:28

In this example, we need to create a relationship for these two entities "order details" and "user".

 

⇒「Scheme 1:Single Creation」

1. Click the [Create Relationship Class] button in the top toolbar, click and hold the starting entity class "user", and drag it to the ending entity class "order details". At this time, release the mouse and the relationship class sidebar will pop up on the right.

2. Enter the following information.

Parameter Description Sample
Relationship Class Name The relationship class name consists of capital and lower-case letter, numbers and underscores, and the length is 1-50 digits. In this example, we need to create a relationship "order", whose show name could be "订单".

3. Once created, the relationship is displayed on the canvas, and the relationship class created.

4. Click [Next] button to enter the "Knowledge Extracting" page.

 

⇒「Scheme 2:Bulk Creation」

1. Click the "Bulk Relationship Class" button in the top toolbar, and the "Bulk Relationship Class" dialog box will pop up.

2. In this example, we need to select or enter the starting entity class name "user", the ending entity class name "order details", the relationship class name "order", and its show name "订单" in the input box. You can also click the [Add] button to add a new relationship class.

3. Click the [OK] button, the relationship class created. At this time, you can see the relationship between "user" and "order details" on the canvas.

4. Click [Next] button to enter the "Knowledge Extracting" page.