Class: OntologyClass
A representation of class defined in an external ontology.
URI: nmdc:OntologyClass
classDiagram
class OntologyClass
click OntologyClass href "../OntologyClass"
NamedThing <|-- OntologyClass
click NamedThing href "../NamedThing"
OntologyClass <|-- EnvironmentalMaterialTerm
click EnvironmentalMaterialTerm href "../EnvironmentalMaterialTerm"
OntologyClass <|-- ChemicalEntity
click ChemicalEntity href "../ChemicalEntity"
OntologyClass <|-- FunctionalAnnotationTerm
click FunctionalAnnotationTerm href "../FunctionalAnnotationTerm"
OntologyClass : alternative_identifiers
OntologyClass : alternative_names
OntologyClass : definition
OntologyClass : description
OntologyClass : id
OntologyClass : name
OntologyClass : relations
OntologyClass --> "*" OntologyRelation : relations
click OntologyRelation href "../OntologyRelation"
OntologyClass : type
Inheritance
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
alternative_names | * String |
A list of alternative names used to refer to the entity | direct |
definition | 0..1 String |
The definition of the ontology term as provided by the ontology | direct |
relations | * OntologyRelation |
direct | |
id | 1 Uriorcurie |
A unique identifier for a thing | NamedThing |
name | 0..1 String |
A human readable label for an entity | NamedThing |
description | 0..1 String |
a human-readable description of a thing | NamedThing |
alternative_identifiers | * Uriorcurie |
A list of alternative identifiers for the entity | NamedThing |
type | 1 Uriorcurie |
the class_uri of the class that has been instantiated | NamedThing |
Usages
used by | used in | type | used |
---|---|---|---|
ControlledTermValue | term | range | OntologyClass |
ControlledIdentifiedTermValue | term | range | OntologyClass |
OntologyRelation | subject | range | OntologyClass |
OntologyRelation | predicate | range | OntologyClass |
OntologyRelation | object | range | OntologyClass |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/nmdc/nmdc
Mappings
Mapping Type | Mapped Value |
---|---|
self | nmdc:OntologyClass |
native | nmdc:OntologyClass |
exact | biolink:OntologyClass, owl:Class, schema:Class |
LinkML Source
Direct
name: OntologyClass
description: A representation of class defined in an external ontology.
from_schema: https://w3id.org/nmdc/nmdc
exact_mappings:
- biolink:OntologyClass
- owl:Class
- schema:Class
is_a: NamedThing
slots:
- alternative_names
slot_usage:
id:
name: id
notes:
- The identifiers for terms from external ontologies can't have their ids constrained
to the nmdc namespace
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_\.]+:[a-zA-Z0-9_][a-zA-Z0-9_\-\/\.,]*$
attributes:
definition:
name: definition
description: The definition of the ontology term as provided by the ontology.
from_schema: https://w3id.org/nmdc/basic_classes
rank: 1000
domain_of:
- OntologyClass
range: string
relations:
name: relations
from_schema: https://w3id.org/nmdc/basic_classes
rank: 1000
domain_of:
- OntologyClass
range: OntologyRelation
multivalued: true
inlined: true
inlined_as_list: true
class_uri: nmdc:OntologyClass
Induced
name: OntologyClass
description: A representation of class defined in an external ontology.
from_schema: https://w3id.org/nmdc/nmdc
exact_mappings:
- biolink:OntologyClass
- owl:Class
- schema:Class
is_a: NamedThing
slot_usage:
id:
name: id
notes:
- The identifiers for terms from external ontologies can't have their ids constrained
to the nmdc namespace
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_\.]+:[a-zA-Z0-9_][a-zA-Z0-9_\-\/\.,]*$
attributes:
definition:
name: definition
description: The definition of the ontology term as provided by the ontology.
from_schema: https://w3id.org/nmdc/basic_classes
rank: 1000
alias: definition
owner: OntologyClass
domain_of:
- OntologyClass
range: string
relations:
name: relations
from_schema: https://w3id.org/nmdc/basic_classes
rank: 1000
alias: relations
owner: OntologyClass
domain_of:
- OntologyClass
range: OntologyRelation
multivalued: true
inlined: true
inlined_as_list: true
alternative_names:
name: alternative_names
description: A list of alternative names used to refer to the entity. The distinction
between name and alternative names is application-specific.
from_schema: https://w3id.org/nmdc/nmdc
exact_mappings:
- dcterms:alternative
- skos:altLabel
rank: 1000
alias: alternative_names
owner: OntologyClass
domain_of:
- OntologyClass
- Study
range: string
multivalued: true
id:
name: id
description: A unique identifier for a thing. Must be either a CURIE shorthand
for a URI or a complete URI
notes:
- The identifiers for terms from external ontologies can't have their ids constrained
to the nmdc namespace
examples:
- value: nmdc:mgmag-00-x012.1_7_c1
description: https://github.com/microbiomedata/nmdc-schema/pull/499#discussion_r1018499248
from_schema: https://w3id.org/nmdc/nmdc
rank: 1000
identifier: true
alias: id
owner: OntologyClass
domain_of:
- NamedThing
range: uriorcurie
required: true
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_\.]+:[a-zA-Z0-9_][a-zA-Z0-9_\-\/\.,]*$
name:
name: name
description: A human readable label for an entity
from_schema: https://w3id.org/nmdc/nmdc
rank: 1000
alias: name
owner: OntologyClass
domain_of:
- PersonValue
- NamedThing
- Protocol
range: string
description:
name: description
description: a human-readable description of a thing
from_schema: https://w3id.org/nmdc/nmdc
rank: 1000
slot_uri: dcterms:description
alias: description
owner: OntologyClass
domain_of:
- ImageValue
- NamedThing
range: string
alternative_identifiers:
name: alternative_identifiers
description: A list of alternative identifiers for the entity.
from_schema: https://w3id.org/nmdc/nmdc
rank: 1000
alias: alternative_identifiers
owner: OntologyClass
domain_of:
- MetaboliteIdentification
- NamedThing
range: uriorcurie
multivalued: true
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_\.]+:[a-zA-Z0-9_][a-zA-Z0-9_\-\/\.,\(\)\=\#]*$
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: OntologyClass
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:OntologyClass