You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/unify/data-graph/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: Data Graph
3
3
plan: unify
4
4
redirect_from:
5
5
- '/unify/linked-profiles/data-graph'
6
+
- '/unify/data-graph/data-graph'
6
7
---
7
8
8
9
The Data Graph acts as a semantic layer that allows businesses to define relationships between various entity datasets in the warehouse — such as accounts, subscriptions, households, and products — with the Segment Profile. It makes these relational datasets easily accessible to business teams for targeted and personalized customer engagements.
@@ -59,7 +60,7 @@ The Data Graph is a semantic layer that represents a subset of relevant business
59
60
60
61
**Defining Relationships**
61
62
62
-
Similar to the concept of [cardinality in data modeling](en.wikipedia.org/wiki/Cardinality_(data_modeling)), the Data Graph supports 3 types of relationships:
63
+
Similar to the concept of [cardinality in data modeling](https://w.wiki/Ay$u){:target="_blank"}, the Data Graph supports 3 types of relationships:
63
64
-**Profile-to-entity relationship:** This is a relationship between your entity table and the Segment Profiles tables, and is the first level of relationship.
64
65
-**1:many relationship:** For example, an `account` can have many `carts`, but each `cart` can only be associated with one `account`.
65
66
-**many:many relationship:** For example, a user can have many `carts`, and each `cart` can have many `products`. However, these `products` can also belong to many `carts`.
@@ -228,9 +229,9 @@ data_graph {
228
229
### 3c: Define relationships
229
230
230
231
Now define your relationships between your entities. Similar to the concept of [cardinality in data modeling](en.wikipedia.org/wiki/Cardinality_(data_modeling)), the Data Graph supports 3 types of relationships below. All relationship types require you to define the relationship slug, name, and related entity. Each type of relationship has unique join on conditions.
231
-
-**Profile-to-entity relationship:** This is a relationship between your entity table and the Segment Profiles tables, andis the first level of relationship.
232
-
-**1:many relationship:** For example, an `account` can have many `carts`, but each `cart` can only be associated with one `account`.
233
-
-**many:many relationship:** For example, a user can have many `carts`, and each `cart` can have many `products`. However, these `products` can also belong to many `carts`.
232
+
-**[Profile-to-entity relationship](#define-profile-to-entity-relationship):** This is a relationship between your entity table and the Segment Profiles tables, and is the first level of relationship.
233
+
-**[1:many relationship](#define-a-1many-relationship):** For example, an `account` can have many `carts`, but each `cart` can only be associated with one `account`.
234
+
-**[many:many relationship](#define-manymany-relationship):** For example, a user can have many `carts`, and each `cart` can have many `products`. However, these `products` can also belong to many `carts`.
234
235
235
236
#### Define profile-to-entity relationship
236
237
This is the first level of relationships and a unique type of relationship between the Segment profile entity and a related entity.
0 commit comments