Class: Entity
A database entity.
URI: kb_cdm:Entity
classDiagram
class Entity
click Entity href "../Entity"
Table <|-- Entity
click Table href "../Table"
Entity : created
Entity : data_source_created
Entity : data_source_entity_id
Entity : data_source_id
Entity : data_source_updated
Entity : entity_id
Entity : entity_type
Entity --> "1" EntityType : entity_type
click EntityType href "../EntityType"
Entity : updated
Inheritance
- Table
- Entity
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
entity_id | 1 UUID |
Internal (CDM) unique identifier for an entity | direct |
data_source_id | 1 UUID |
Internal (CDM) unique identifier for a data source | direct |
entity_type | 1 EntityType |
The class of the entity | direct |
data_source_entity_id | 0..1 Uriorcurie |
The primary ID of the entity at the data source | direct |
data_source_created | 1 Iso8601 |
Date/timestamp for when the entity was created or added to the data source | direct |
data_source_updated | 0..1 Iso8601 |
Date/timestamp for when the entity was updated in the data source | direct |
created | 1 Iso8601 |
Date/timestamp for when the entity was created or added to the CDM | direct |
updated | 1 Iso8601 |
Date/timestamp for when the entity was updated in the CDM | direct |
Identifier and Mapping Information
Schema Source
- from schema: http://kbase.github.io/cdm-schema/cdm_schema
Mappings
Mapping Type | Mapped Value |
---|---|
self | kb_cdm:Entity |
native | kb_cdm:Entity |
LinkML Source
Direct
name: Entity
description: A database entity.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
is_a: Table
slots:
- entity_id
- data_source_id
slot_usage:
entity_id:
name: entity_id
identifier: true
attributes:
entity_type:
name: entity_type
description: The class of the entity. Must be a valid CDM class.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
domain_of:
- Cluster
- Entity
range: EntityType
required: true
data_source_entity_id:
name: data_source_entity_id
description: The primary ID of the entity at the data source.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
domain_of:
- Entity
range: uriorcurie
data_source_created:
name: data_source_created
description: Date/timestamp for when the entity was created or added to the data
source.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
domain_of:
- Entity
range: iso8601
required: true
data_source_updated:
name: data_source_updated
description: Date/timestamp for when the entity was updated in the data source.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
domain_of:
- Entity
range: iso8601
created:
name: created
description: Date/timestamp for when the entity was created or added to the CDM.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
domain_of:
- Entity
range: iso8601
required: true
updated:
name: updated
description: Date/timestamp for when the entity was updated in the CDM.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
domain_of:
- Entity
range: iso8601
required: true
Induced
name: Entity
description: A database entity.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
is_a: Table
slot_usage:
entity_id:
name: entity_id
identifier: true
attributes:
entity_type:
name: entity_type
description: The class of the entity. Must be a valid CDM class.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
alias: entity_type
owner: Entity
domain_of:
- Cluster
- Entity
range: EntityType
required: true
data_source_entity_id:
name: data_source_entity_id
description: The primary ID of the entity at the data source.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
alias: data_source_entity_id
owner: Entity
domain_of:
- Entity
range: uriorcurie
data_source_created:
name: data_source_created
description: Date/timestamp for when the entity was created or added to the data
source.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
alias: data_source_created
owner: Entity
domain_of:
- Entity
range: iso8601
required: true
data_source_updated:
name: data_source_updated
description: Date/timestamp for when the entity was updated in the data source.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
alias: data_source_updated
owner: Entity
domain_of:
- Entity
range: iso8601
created:
name: created
description: Date/timestamp for when the entity was created or added to the CDM.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
alias: created
owner: Entity
domain_of:
- Entity
range: iso8601
required: true
updated:
name: updated
description: Date/timestamp for when the entity was updated in the CDM.
from_schema: http://kbase.github.io/cdm-schema/cdm_base
rank: 1000
alias: updated
owner: Entity
domain_of:
- Entity
range: iso8601
required: true
entity_id:
name: entity_id
description: Internal (CDM) unique identifier for an entity.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
rank: 1000
identifier: true
alias: entity_id
owner: Entity
domain_of:
- Association_X_SupportingObject
- Entity_X_Measurement
- ClusterMember
- Sequence
- Entity
- Identifier
- Name
- AttributeValue
range: UUID
required: true
data_source_id:
name: data_source_id
description: Internal (CDM) unique identifier for a data source.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
rank: 1000
alias: data_source_id
owner: Entity
domain_of:
- DataSource
- Entity
range: UUID
required: true