Skip to content

Class: EntityAttributeValue

Class comprising all possible entity-attribute-value slots.

  • NOTE: this is an abstract class and should not be instantiated directly

URI: kb_cdm:EntityAttributeValue

classDiagram class EntityAttributeValue click EntityAttributeValue href "../EntityAttributeValue/" AttributeMixin <|-- EntityAttributeValue click AttributeMixin href "../AttributeMixin/" EntityMixin <|-- EntityAttributeValue click EntityMixin href "../EntityMixin/" UnitMixin <|-- EntityAttributeValue click UnitMixin href "../UnitMixin/" EntityAttributeValue : attribute_cv_id EntityAttributeValue : attribute_cv_label EntityAttributeValue : attribute_string EntityAttributeValue : date_time EntityAttributeValue : entity_id EntityAttributeValue : language EntityAttributeValue : latitude EntityAttributeValue : longitude EntityAttributeValue : maximum_numeric_value EntityAttributeValue : minimum_numeric_value EntityAttributeValue : numeric_value EntityAttributeValue : text_value EntityAttributeValue : unit_cv_id EntityAttributeValue : unit_cv_label EntityAttributeValue : unit_string EntityAttributeValue : value_cv_id EntityAttributeValue : value_cv_label

Inheritance

Slots

Name Cardinality and Range Description Inheritance
date_time 0..1
Iso8601
A date or date and time, expressed in ISO 8601 format with timezone indicators where appropriate. The date or date/time value, expressed in ISO 8601-compatible form. Dates should be expressed as YYYY-MM-DD; times should be expressed as HH:MM:SS with optional milliseconds and an indication of the timezone. direct
language 0..1
String
the human language in which the value is encoded, e.g. 'en' direct
latitude 0..1
DecimalDegree
The latitude portion of a geolocation. direct
longitude 0..1
DecimalDegree
The longitude portion of a geolocation. direct
minimum_numeric_value 0..1
Float
The minimum value part, expressed as number, of the quantity value when the value covers a range. direct
maximum_numeric_value 0..1
Float
The maximum value part, expressed as number, of the quantity value when the value covers a range. direct
numeric_value 0..1
Float
The numerical part of a quantity value. direct
text_value 0..1
String
The value, as a text string. This field should only be used if the value is not represented in a controlled vocabulary, ontology, or enumeration. direct
language 0..1
String
the human language in which the value is encoded, e.g. 'en' direct
value_cv_id 0..1
LocalCurie
For values that are in a controlled vocabulary (CV), this attribute should capture the controlled vocabulary ID for the value. direct
value_cv_label 0..1
LocalCurieName
For values that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term from the controlled vocabulary. direct
attribute_cv_id 0..1
LocalCurie
The attribute being represented. For attributes that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term ID from the controlled vocabulary. AttributeMixin
attribute_cv_label 0..1
LocalCurieName
The attribute being represented. For attributes that are in a controlled vocabulary, ontology, or enumeration, this attribute should capture the term from the controlled vocabulary. AttributeMixin
attribute_string 0..1
String
The attribute being represented, as a text string. This field should only be used if the attribute is not represented in a controlled vocabulary, ontology, or enumeration. AttributeMixin
entity_id 1
CdmId
The database entity (sample, feature, protein, etc.) to which the attribute-value annotation refers. EntityMixin
unit_cv_id 0..1
LocalCurie
The unit of the quantity, expressed as a CURIE from the Unit Ontology. UnitMixin
unit_cv_label 0..1
LocalCurieName
The unit of a quantity, expressed as the term name of a term from the Unit Ontology or UCUM. UnitMixin
unit_string 0..1
String
Links a QuantityValue to a unit. Units should be taken from the UCUM unit collection or the Unit Ontology. This field should only be used if the unit is not present in one of those sources. UnitMixin

Identifier and Mapping Information

Schema Source

  • from schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema

Mappings

Mapping Type Mapped Value
self kb_cdm:EntityAttributeValue
native kb_cdm:EntityAttributeValue

LinkML Source

Direct

name: EntityAttributeValue
description: Class comprising all possible entity-attribute-value slots.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
abstract: true
mixins:
- AttributeMixin
- EntityMixin
- UnitMixin
slots:
- date_time
- language
- latitude
- longitude
- minimum_numeric_value
- maximum_numeric_value
- numeric_value
- text_value
- language
- value_cv_id
- value_cv_label

Induced

name: EntityAttributeValue
description: Class comprising all possible entity-attribute-value slots.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
abstract: true
mixins:
- AttributeMixin
- EntityMixin
- UnitMixin
attributes:
  date_time:
    name: date_time
    description: A date or date and time, expressed in ISO 8601 format with timezone
      indicators where appropriate.  The date or date/time value, expressed in ISO
      8601-compatible form. Dates should be expressed as YYYY-MM-DD; times should
      be expressed as HH:MM:SS with optional milliseconds and an indication of the
      timezone.
    examples:
    - value: '2025-11-09'
    - value: '2025-09-16T22:48:54Z'
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - date
    - time
    - timestamp
    rank: 1000
    alias: date_time
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - DateTimeValue
    range: iso8601
  language:
    name: language
    description: the human language in which the value is encoded, e.g. 'en'
    todos:
    - use an enum (rather than a string)
    comments:
    - only used when value is populated
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    alias: language
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - TextValue
    - Statements
    - ResourceDescription
    - ResourceTitle
    range: string
  latitude:
    name: latitude
    description: The latitude portion of a geolocation.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    alias: latitude
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - Geolocation
    range: decimal_degree
  longitude:
    name: longitude
    description: The longitude portion of a geolocation.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    alias: longitude
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - Geolocation
    range: decimal_degree
  minimum_numeric_value:
    name: minimum_numeric_value
    description: The minimum value part, expressed as number, of the quantity value
      when the value covers a range.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:minimum_numeric_value
    rank: 1000
    alias: minimum_numeric_value
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - QuantityRangeValue
    range: float
  maximum_numeric_value:
    name: maximum_numeric_value
    description: The maximum value part, expressed as number, of the quantity value
      when the value covers a range.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:maximum_numeric_value
    rank: 1000
    alias: maximum_numeric_value
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - QuantityRangeValue
    range: float
  numeric_value:
    name: numeric_value
    description: The numerical part of a quantity value.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:numeric_value
    - qud:quantityValue
    - schema:value
    rank: 1000
    alias: numeric_value
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - QuantityValue
    range: float
  text_value:
    name: text_value
    description: The value, as a text string. This field should only be used if the
      value is not represented in a controlled vocabulary, ontology, or enumeration.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - value string
    - value text
    - string value
    rank: 1000
    alias: text_value
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - TextValue
    range: string
  value_cv_id:
    name: value_cv_id
    description: For values that are in a controlled vocabulary (CV), this attribute
      should capture the controlled vocabulary ID for the value.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - value term ID
    - value PID
    rank: 1000
    alias: value_cv_id
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - ControlledVocabularyTermValue
    range: local_curie
  value_cv_label:
    name: value_cv_label
    description: For values that are in a controlled vocabulary, ontology, or enumeration,
      this attribute should capture the term from the controlled vocabulary.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - value term name
    rank: 1000
    alias: value_cv_label
    owner: EntityAttributeValue
    domain_of:
    - EntityAttributeValue
    - ControlledTermValue
    - ControlledVocabularyTermValue
    range: local_curie_name
  attribute_cv_id:
    name: attribute_cv_id
    description: The attribute being represented. For attributes that are in a controlled
      vocabulary, ontology, or enumeration, this attribute should capture the term
      ID from the controlled vocabulary.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - attribute term ID
    - attribute PID
    rank: 1000
    alias: attribute_cv_id
    owner: EntityAttributeValue
    domain_of:
    - AttributeMixin
    range: local_curie
  attribute_cv_label:
    name: attribute_cv_label
    description: The attribute being represented. For attributes that are in a controlled
      vocabulary, ontology, or enumeration, this attribute should capture the term
      from the controlled vocabulary.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - attribute term name
    rank: 1000
    alias: attribute_cv_label
    owner: EntityAttributeValue
    domain_of:
    - AttributeMixin
    range: local_curie_name
  attribute_string:
    name: attribute_string
    description: The attribute being represented, as a text string. This field should
      only be used if the attribute is not represented in a controlled vocabulary,
      ontology, or enumeration.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - attribute
    - tag
    rank: 1000
    alias: attribute_string
    owner: EntityAttributeValue
    domain_of:
    - AttributeMixin
    range: string
  entity_id:
    name: entity_id
    description: The database entity (sample, feature, protein, etc.) to which the
      attribute-value annotation refers.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_attr_value
    alias: entity_id
    owner: EntityAttributeValue
    domain_of:
    - ClusterMember
    - EntityMixin
    - Entity
    - Identifier
    - Name
    - Sequence
    - Association_x_SupportingObject
    range: cdm_id
    required: true
  unit_cv_id:
    name: unit_cv_id
    description: The unit of the quantity, expressed as a CURIE from the Unit Ontology.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - unit term ID
    - unit PID
    rank: 1000
    alias: unit_cv_id
    owner: EntityAttributeValue
    domain_of:
    - UnitMixin
    range: local_curie
  unit_cv_label:
    name: unit_cv_label
    description: The unit of a quantity, expressed as the term name of a term from
      the Unit Ontology or UCUM.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - unit term name
    rank: 1000
    alias: unit_cv_label
    owner: EntityAttributeValue
    domain_of:
    - UnitMixin
    range: local_curie_name
  unit_string:
    name: unit_string
    description: Links a QuantityValue to a unit. Units should be taken from the UCUM
      unit collection or the Unit Ontology. This field should only be used if the
      unit is not present in one of those sources.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - scale
    mappings:
    - nmdc:unit
    - qud:unit
    - schema:unitCode
    - UO:0000000
    rank: 1000
    alias: unit_string
    owner: EntityAttributeValue
    domain_of:
    - UnitMixin
    range: string