Class: TextValue
A basic string value
URI: nmdc:TextValue
classDiagram
class TextValue
click TextValue href "../TextValue"
AttributeValue <|-- TextValue
click AttributeValue href "../AttributeValue"
TextValue : has_raw_value
TextValue : language
TextValue : type
Inheritance
- AttributeValue
- TextValue
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
language | 0..1 LanguageCode |
Should use ISO 639-1 code e | direct |
has_raw_value | 0..1 String |
The value that was specified for an annotation in raw form, i | AttributeValue |
type | 1 Uriorcurie |
the class_uri of the class that has been instantiated | AttributeValue |
Usages
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/nmdc/nmdc
Mappings
Mapping Type | Mapped Value |
---|---|
self | nmdc:TextValue |
native | nmdc:TextValue |
LinkML Source
Direct
name: TextValue
description: A basic string value
from_schema: https://w3id.org/nmdc/nmdc
is_a: AttributeValue
slots:
- language
class_uri: nmdc:TextValue
Induced
name: TextValue
description: A basic string value
from_schema: https://w3id.org/nmdc/nmdc
is_a: AttributeValue
attributes:
language:
name: language
description: Should use ISO 639-1 code e.g. "en", "fr"
from_schema: https://w3id.org/nmdc/nmdc
rank: 1000
alias: language
owner: TextValue
domain_of:
- TextValue
range: language_code
has_raw_value:
name: has_raw_value
description: The value that was specified for an annotation in raw form, i.e.
a string. E.g. "2 cm" or "2-4 cm"
from_schema: https://w3id.org/nmdc/nmdc
rank: 1000
alias: has_raw_value
owner: TextValue
domain_of:
- AttributeValue
range: string
type:
name: type
description: the class_uri of the class that has been instantiated
notes:
- replaces legacy nmdc:type slot
- makes it easier to read example data files
- required for polymorphic MongoDB collections
examples:
- value: nmdc:Biosample
- value: nmdc:Study
from_schema: https://w3id.org/nmdc/nmdc
see_also:
- https://github.com/microbiomedata/nmdc-schema/issues/1048
- https://github.com/microbiomedata/nmdc-schema/issues/1233
- https://github.com/microbiomedata/nmdc-schema/issues/248
rank: 1000
slot_uri: rdf:type
designates_type: true
alias: type
owner: TextValue
domain_of:
- EukEval
- FunctionalAnnotationAggMember
- PeptideQuantification
- ProteinQuantification
- MobilePhaseSegment
- PortionOfSubstance
- MagBin
- MetaboliteIdentification
- GenomeFeature
- FunctionalAnnotation
- AttributeValue
- NamedThing
- OntologyRelation
- FailureCategorization
- Protocol
- CreditAssociation
- Doi
range: uriorcurie
required: true
class_uri: nmdc:TextValue