> ## Documentation Index
> Fetch the complete documentation index at: https://docs.learningcommons.org/llms.txt
> Use this file to discover all available pages before exploring further.

# All relationships

> Reference for relationship properties and relationshipType values across Knowledge Graph entities, including edge structure and join behavior.

## Overview

Relationships share the same set of properties and are documented below. Take a look at the other dataset docs to learn more about the types of relationships for each entity.

`relationshipType` is the core property that differentiates the types of relationships between different entities.

## Data relationship diagram

<Frame>
  <img
    src="https://mintcdn.com/czi-60a2a443/bb-F2r75Gz83PPsi/images/kg/all-relationships.svg?fit=max&auto=format&n=bb-F2r75Gz83PPsi&q=85&s=ba19cf20ffb4a14558b253c696d56164"
    alt="Diagram of shared relationship properties (author, license,
relationshipType, sourceEntity, targetEntity, etc.) used across all Knowledge
Graph edges"
    width="1332"
    height="935"
    data-path="images/kg/all-relationships.svg"
  />
</Frame>

<Accordion title="Diagram description">
  This diagram illustrates the **shared property set** that every relationship edge has. It does **not** show entity-to-entity topology or which relationship types connect which entities; for that, see the dataset-specific docs linked below.

  **Example:** A single edge—e.g. a **hasEducationalAlignment** from a Lesson to a standard—carries properties such as `relationshipType` ("hasEducationalAlignment"), `sourceEntity` ("Lesson"), `targetEntity` ("StandardsFrameworkItem"), `sourceEntityValue`, `targetEntityValue`, `author`, `license`, `description`, `identifier`. A **hasStandardAlignment** (crosswalk) edge also has `jaccard`, `stateLCCount`, `ccssLCCount`, `sharedLCCount`. So every edge in the graph shares this common shape; the diagram is about that shape, not which nodes connect to which. Dataset docs: [Academic Standards](/knowledge-graph/graph-reference/academic-standards), [Learning Progressions](/knowledge-graph/graph-reference/learning-progressions), [Learning Components](/knowledge-graph/graph-reference/learning-components), [Curriculum](/knowledge-graph/graph-reference/curriculum), [Standards Crosswalks](/knowledge-graph/graph-reference/standards-crosswalks), [Learner Variability Navigator](/knowledge-graph/graph-reference/learner-variability-navigator). Some properties apply only to specific relationship types; see [Standards Crosswalks](/knowledge-graph/graph-reference/standards-crosswalks) and the footnote above.
</Accordion>

## Relationship properties

| Property               | Description                                                                                                                                                                                                                                       | Type      | Cardinality |
| :--------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :-------- | :---------- |
| `author`               | Author of this content                                                                                                                                                                                                                            | `String`  | 1           |
| `attributionStatement` | Textual credit that acknowledges the source or creator of a work, included when required by the content’s license (e.g., Creative Commons BY); the statement specifies how the creator should be attributed in accordance with the license terms. | `String`  | 1           |
| `ccssLCCount`          | Number of LCs supporting the CCSS standard                                                                                                                                                                                                        | `Integer` | 1           |
| `connectionType`       | Specifies whether the strategy supports or improves the target factor                                                                                                                                                                             | `String`  | 1           |
| `dateCreated`          | Date on which the element was created                                                                                                                                                                                                             | `Date`    | 0..1        |
| `dateModified`         | Date on which the element was most recently modified                                                                                                                                                                                              | `Date`    | 0..1        |
| `description`          | Description of the item                                                                                                                                                                                                                           | `String`  | 1           |
| `factorCategory`       | Category of the target factor                                                                                                                                                                                                                     | `String`  | 0..1        |
| `identifier`           | Identifier of the item, either as textual strings or as URL (URI) links                                                                                                                                                                           | `String`  | 1           |
| `jaccard`              | Proportion of shared LCs, calculated as the size of the intersection ÷ size of the union of LC sets; range: (0, 1]                                                                                                                                | `Float`   | 1           |
| `license`              | License document that applies to this content, typically indicated by URL                                                                                                                                                                         | `String`  | 1           |
| `provider`             | Service provider, service operator, or service performer                                                                                                                                                                                          | `String`  | 1           |
| `relationshipType`     | Normalized value that defines the semantic meaning of the connection between the source and target entities (e.g., hasChild, supports, buildsTowards)                                                                                             | `String`  | 1           |
| `sharedLCCount`        | Number of LCs supporting both the state and CCSS standard                                                                                                                                                                                         | `Integer` | 1           |
| `sourceEntity`         | Type of entity from which the relationship originates; specifies the class or category of the starting node in the connection                                                                                                                     | `String`  | 1           |
| `sourceEntityKey`      | Name of the property within the source entity that contains its unique identifier; used to locate and reference the entity in the dataset                                                                                                         | `String`  | 1           |
| `sourceEntityValue`    | Identifier of the entity where the relationship originates; represents the starting point of the connection                                                                                                                                       | `String`  | 1           |
| `stateLCCount`         | Number of LCs supporting the state standard                                                                                                                                                                                                       | `Integer` | 1           |
| `targetEntity`         | Type of entity to which the relationship points; specifies the class or category of the ending node in the connection                                                                                                                             | `String`  | 1           |
| `targetEntityKey`      | Name of the property within the target entity that contains its unique identifier; used to locate and reference the entity in the dataset                                                                                                         | `String`  | 1           |
| `targetEntityValue`    | Identifier of the entity the relationship points to; represents the endpoint or destination of the connection                                                                                                                                     | `String`  | 1           |

**Indicates properties that are only available for [Standards Crosswalks](/knowledge-graph/graph-reference/standards-crosswalks) and [Learner Variability Navigator](/knowledge-graph/graph-reference/learner-variability-navigator) data.**

## Example

The example below shows the relationship between an `Activity` and a `StandardsFrameworkItem`.

```json JSON theme={null}
{
  "type": "relationship",
  "identifier": "58de2d2a-34b2-512f-a14d-389b8840aa52",
  "label": "hasEducationalAlignment",
  "properties": {
    "license": "https://creativecommons.org/licenses/by/4.0/",
    "targetEntity": "StandardsFrameworkItem",
    "attributionStatement": "Knowledge Graph is provided by Learning Commons under the CC BY-4.0 license. Learning Commons received the scope and sequence of the Illustrative Mathematics 360 curriculum under CC BY-4.0 from Illustrative Mathematics.",
    "identifier": "58de2d2a-34b2-512f-a14d-389b8840aa52",
    "curriculumAlignmentType": "addressing",
    "provider": "Learning Commons",
    "sourceEntity": "Activity",
    "sourceEntityKey": "identifier",
    "alignmentType": "teaches",
    "author": "Illustrative Mathematics",
    "targetEntityKey": "caseIdentifierUUID",
    "relationshipType": "hasEducationalAlignment"
  },
  "source_identifier": "im:3c223476-a9f5-568d-8176-0ee31861723b",
  "source_labels": ["Activity"],
  "target_identifier": "827a633a-b88a-5ce9-8a7a-18369c547363",
  "target_labels": ["StandardsFrameworkItem"]
}
```
