Class: Relationship
URI: [knowtation:class/Relationship](https://gitlab.tarkam.org/tarkam/knowtation/schema/class/Relationship)
[String](../types/String.md) | | direct | | [to_element](../slots/to_element.md) | 1
[String](../types/String.md) | | direct | | [kind](../slots/kind.md) | 0..1
[RelationshipKind](../enums/RelationshipKind.md) | | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [Resource](../classes/Resource.md) | [relationships](../slots/relationships.md) | range | [Relationship](../classes/Relationship.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://gitlab.tarkam.org/tarkam/knowtation/schema ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | knowtation:Relationship | | native | knowtation:Relationship | ## LinkML Source ### Direct
### Induced
classDiagram
class Relationship
click Relationship href "../../classes/Relationship/"
Relationship : from_element
Relationship : kind
Relationship --> "0..1" RelationshipKind : kind
click RelationshipKind href "../../enums/RelationshipKind/"
Relationship : to_element
## Slots
| Name | Cardinality and Range | Description | Inheritance |
| --- | --- | --- | --- |
| [from_element](../slots/from_element.md) | 1 [String](../types/String.md) | | direct | | [to_element](../slots/to_element.md) | 1
[String](../types/String.md) | | direct | | [kind](../slots/kind.md) | 0..1
[RelationshipKind](../enums/RelationshipKind.md) | | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [Resource](../classes/Resource.md) | [relationships](../slots/relationships.md) | range | [Relationship](../classes/Relationship.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://gitlab.tarkam.org/tarkam/knowtation/schema ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | knowtation:Relationship | | native | knowtation:Relationship | ## LinkML Source ### Direct
name: Relationship
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
attributes:
from_element:
name: from_element
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
rank: 1000
domain_of:
- Relationship
- Overlap
required: true
to_element:
name: to_element
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
rank: 1000
domain_of:
- Relationship
- Overlap
required: true
kind:
name: kind
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
domain_of:
- Resource
- Relationship
range: RelationshipKind
name: Relationship
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
attributes:
from_element:
name: from_element
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
rank: 1000
owner: Relationship
domain_of:
- Relationship
- Overlap
range: string
required: true
to_element:
name: to_element
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
rank: 1000
owner: Relationship
domain_of:
- Relationship
- Overlap
range: string
required: true
kind:
name: kind
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
owner: Relationship
domain_of:
- Resource
- Relationship
range: RelationshipKind