Skip to content

Commit

Permalink
update data model (#2544)
Browse files Browse the repository at this point in the history
* update data model

* update

* Update 2.data-model.md

* Update 2.data-model.md

* Update 2.data-model.md
  • Loading branch information
cooper-lzy authored Apr 25, 2024
1 parent d0430aa commit 9974ce2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs-2.0-en/1.introduction/2.data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ The following table is an example of the structure of the basketball player data

| Element | Name | Property name (Data type) | Description |
| :--- | :--- | :--- | :--- |
| Tag | **player** | name (string) <br>age (int) | Represents players in the team. |
| Tag | **team** | name (string) | Represents the teams. |
| Edge type | **serve** | start_year (int) <br> end_year (int) | Represents actions taken by players in the team.<br>An action links a player with a team, and the direction is from a player to a team. |
| Edge type | **follow** | degree (int) | Represents actions taken by players in the team.<br>An action links a player with another player, and the direction is from one player to the other player. |
| Tag | **player** | name (string) </br>age (int) | Represents players in the team. </br>The properties `name` and `age` indicate the name and age. |
| Tag | **team** | name (string) | Represents the teams. </br>The property `name` indicates the team name. |
| Edge type | **serve** | start_year (int) </br> end_year (int) | Represents the action of a player serving a team. The action links the player to the team, and the direction is from the player to the team.</br>The properties `start_year` and `end_year` indicate the start year and end year of the service respectively.|
| Edge type | **follow** | degree (int) | Represents the action of a player following another player on Twitter. The action links one player to the other player, and the direction is from one player to the other player.</br>The property `degree` indicates the rating on how well the follower liked the followee. |

!!! note

Expand Down
8 changes: 4 additions & 4 deletions docs-2.0-zh/1.introduction/2.data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@

| 类型 | 名称 | 属性名(数据类型) | 说明 |
| :--- | :--- | :---| :--- |
|Tag| **player** | name (string) <br>age(int) | 表示球员。 |
|Tag| **team** | name (string) | 表示球队。 |
|Edge type| **serve** | start_year (int) <br> end_year (int) | 表示球员的行为。<br>该行为将球员和球队联系起来,方向是从球员到球队|
|Edge type| **follow** | degree (int) | 表示球员的行为。<br>该行为将两个球员联系起来,方向是从一个球员到另一个球员。 |
|Tag| **player** | name (string) </br>age(int) | 表示球员。</br>属性`name`表示姓名,`age`表示年龄|
|Tag| **team** | name (string) | 表示球队。</br>属性`name`表示球队名。 |
|Edge type| **serve** | start_year (int) </br> end_year (int) | 表示球员效力球队的行为。该行为将球员和球队联系起来,方向是从球员到球队。</br>属性`start_year`表示效力的起始年份,`end_year`表示效力的结束年份|
|Edge type| **follow** | degree (int) | 表示推特上球员关注另一个球员的行为。该行为将两个球员联系起来,方向是从一个球员到另一个球员。</br>属性`degree`表示喜爱程度|

!!! note

Expand Down

0 comments on commit 9974ce2

Please sign in to comment.