> ## 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/entity-and-relationship-reference/academic-standards), [Learning progressions](/knowledge-graph/entity-and-relationship-reference/learning-progressions), [Learning components](/knowledge-graph/entity-and-relationship-reference/learning-components), [Curriculum](/knowledge-graph/entity-and-relationship-reference/curriculum), [Crosswalks](/knowledge-graph/entity-and-relationship-reference/crosswalks), [Learner Variability Navigator](/knowledge-graph/entity-and-relationship-reference/learner-variability-navigator). Some properties apply only to specific relationship types; see [Crosswalks](/knowledge-graph/entity-and-relationship-reference/crosswalks) and the footnote above.
</Accordion>

## Relationship properties

| Property                 | Description                                                                                                                                                                                                                                         | Type    | Cardinality |
| :----------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------ | ----------- |
| **author**               | The author of this content.                                                                                                                                                                                                                         | String  | 1           |
| **attributionStatement** | A 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**          | The date on which the element was created.                                                                                                                                                                                                          | Date    | 0..1        |
| **dateModified**         | The date on which the element was most recently modified.                                                                                                                                                                                           | Date    | 0..1        |
| **description**          | A description of the item.                                                                                                                                                                                                                          | String  | 1           |
| **factorCategory\*\***   | The category of the target factor.                                                                                                                                                                                                                  | String  | 0..1        |
| **identifier**           | The 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**              | A license document that applies to this content, typically indicated by URL.                                                                                                                                                                        | String  | 1           |
| **provider**             | The service provider, service operator, or service performer.                                                                                                                                                                                       | String  | 1           |
| **relationshipType**     | A 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**         | The type of entity from which the relationship originates. This specifies the class or category of the starting node in the connection.                                                                                                             | String  | 1           |
| **sourceEntityKey**      | The name of the property within the source entity that contains its unique identifier. This key is used to locate and reference the entity in the dataset.                                                                                          | String  | 1           |
| **sourceEntityValue**    | The 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**         | The type of entity to which the relationship points. This specifies the class or category of the ending node in the connection.                                                                                                                     | String  | 1           |
| **targetEntityKey**      | The name of the property within the target entity that contains its unique identifier. This key is used to locate and reference the entity in the dataset.                                                                                          | String  | 1           |
| **targetEntityValue**    | The 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. Please see here for more information.***](/knowledge-graph/entity-and-relationship-reference/crosswalks)

**\*\* Indicates properties that are only available for 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"]
}
```
