Skip to content

Class: TextValue

A basic string value.

URI: nmdc:TextValue

classDiagram class TextValue click TextValue href "../TextValue/" AttributeValue <|-- TextValue click AttributeValue href "../AttributeValue/" TextValue : attribute_cv_id TextValue : attribute_cv_label TextValue : attribute_string TextValue : entity_id TextValue : language TextValue : raw_value TextValue : text_value TextValue : type TextValue --> "0..1" AttributeValueType : type click AttributeValueType href "../AttributeValueType/"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
text_value 1
String
The text value after undergoing normalisation or standardisation. direct
language 0..1
String
Language of the text value. direct
language 0..1
String
Language of the text value. direct
raw_value 0..1
String
The value that was specified for an annotation in its raw form; e.g. "2 cm" or "2-4 cm" AttributeValue
type 0..1
AttributeValueType
The type of value being represented - e.g. QuantityValue, TextValue, DateTimeValue, ControlledVocabularyTermValue, etc. AttributeValue
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

Identifier and Mapping Information

Schema Source

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

Mappings

Mapping Type Mapped Value
self nmdc:TextValue
native kb_cdm:TextValue

LinkML Source

Direct

name: TextValue
description: A basic string value.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
is_a: AttributeValue
slots:
- text_value
- language
slot_usage:
  text_value:
    name: text_value
    description: The text value after undergoing normalisation or standardisation.
    required: true
  type:
    name: type
    ifabsent: AttributeValueType("TextValue")
attributes:
  language:
    name: language
    description: Language of the text value.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_attr_value
    domain_of:
    - EntityAttributeValue
    - TextValue
    - ResourceDescription
    - ResourceTitle
    - Statement
class_uri: nmdc:TextValue

Induced

name: TextValue
description: A basic string value.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
is_a: AttributeValue
slot_usage:
  text_value:
    name: text_value
    description: The text value after undergoing normalisation or standardisation.
    required: true
  type:
    name: type
    ifabsent: AttributeValueType("TextValue")
attributes:
  language:
    name: language
    description: Language of the text value.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_attr_value
    alias: language
    owner: TextValue
    domain_of:
    - EntityAttributeValue
    - TextValue
    - ResourceDescription
    - ResourceTitle
    - Statement
    range: string
  text_value:
    name: text_value
    description: The text value after undergoing normalisation or standardisation.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    aliases:
    - value string
    - value text
    - string value
    rank: 1000
    alias: text_value
    owner: TextValue
    domain_of:
    - EntityAttributeValue
    - TextValue
    range: string
    required: true
  raw_value:
    name: raw_value
    description: The value that was specified for an annotation in its raw form; e.g.
      "2 cm" or "2-4 cm"
    examples:
    - value: 2 cm
    - value: 2 to 5m
    - value: 37-39 degrees celcius
    - value: Regulation of glucose biosynthesis.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    mappings:
    - nmdc:raw_value
    rank: 1000
    alias: raw_value
    owner: TextValue
    domain_of:
    - AttributeValue
    range: string
  type:
    name: type
    description: The type of value being represented - e.g. QuantityValue, TextValue,
      DateTimeValue, ControlledVocabularyTermValue, etc.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    ifabsent: AttributeValueType("TextValue")
    alias: type
    owner: TextValue
    domain_of:
    - AttributeValue
    - EncodedFeature
    - Feature
    - Sample
    - Sequence
    range: AttributeValueType
  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: TextValue
    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: TextValue
    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: TextValue
    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: TextValue
    domain_of:
    - ClusterMember
    - Entity
    - Identifier
    - Name
    - EntityMixin
    - Sequence
    - Association_x_SupportingObject
    range: cdm_id
    required: true
class_uri: nmdc:TextValue