Skip to content

Class: Variable

A variable (input, output, environmental, etc.) that can be set or measured as part of a protocol.

URI: kb_cdm:Variable

classDiagram class Variable click Variable href "../Variable/" Table <|-- Variable click Table href "../Table/" Variable : description Variable : name Variable : name_cv_id Variable : unit Variable : value_type Variable --> "1" VariableType : value_type click VariableType href "../VariableType/" Variable : variable_id

Inheritance

Slots

Name Cardinality and Range Description Inheritance
variable_id 1
CdmId
Internal CDM unique identifier for a variable. direct
name 0..1
String
A string used as a name or title. direct
description 0..1
String
Brief textual definition or description. direct
name_cv_id 0..1
String
If the name is from a controlled vocabulary (CV), the curie of the controlled vocabulary term. direct
unit 0..1
String
The units used to measure the value of the variable, if applicable. Units should be expressed using the Unit Ontology or a term from UCUM. direct
value_type 1
VariableType
The type of the value of a variable. Should be a LinkML data type or one of the defined CDM data types. direct

Usages

used by used in type used
Schema variables range Variable

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:Variable
native kb_cdm:Variable

LinkML Source

Direct

name: Variable
description: A variable (input, output, environmental, etc.) that can be set or measured
  as part of a protocol.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
is_a: Table
slots:
- variable_id
- name
- description
slot_usage:
  variable_id:
    name: variable_id
    identifier: true
attributes:
  name_cv_id:
    name: name_cv_id
    description: If the `name` is from a controlled vocabulary (CV), the curie of
      the controlled vocabulary term.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_protocol
    rank: 1000
    domain_of:
    - Variable
  unit:
    name: unit
    description: The units used to measure the value of the variable, if applicable.
      Units should be expressed using the Unit Ontology or a term from UCUM.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_protocol
    rank: 1000
    domain_of:
    - Variable
    required: false
  value_type:
    name: value_type
    description: The type of the value of a variable. Should be a LinkML data type
      or one of the defined CDM data types.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_protocol
    domain_of:
    - Parameter
    - Variable
    - VariableValue
    range: VariableType
    required: true

Induced

name: Variable
description: A variable (input, output, environmental, etc.) that can be set or measured
  as part of a protocol.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
is_a: Table
slot_usage:
  variable_id:
    name: variable_id
    identifier: true
attributes:
  name_cv_id:
    name: name_cv_id
    description: If the `name` is from a controlled vocabulary (CV), the curie of
      the controlled vocabulary term.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_protocol
    rank: 1000
    alias: name_cv_id
    owner: Variable
    domain_of:
    - Variable
    range: string
  unit:
    name: unit
    description: The units used to measure the value of the variable, if applicable.
      Units should be expressed using the Unit Ontology or a term from UCUM.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_protocol
    rank: 1000
    alias: unit
    owner: Variable
    domain_of:
    - Variable
    range: string
    required: false
  value_type:
    name: value_type
    description: The type of the value of a variable. Should be a LinkML data type
      or one of the defined CDM data types.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_protocol
    alias: value_type
    owner: Variable
    domain_of:
    - Parameter
    - Variable
    - VariableValue
    range: VariableType
    required: true
  variable_id:
    name: variable_id
    description: Internal CDM unique identifier for a variable.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    slot_uri: CDM:variable_id
    identifier: true
    alias: variable_id
    owner: Variable
    domain_of:
    - ExperimentCondition
    - MeasurementSet
    - ProtocolVariable
    - Variable
    - VariableValue
    range: cdm_id
    required: true
  name:
    name: name
    description: A string used as a name or title.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    slot_uri: schema:name
    alias: name
    owner: Variable
    domain_of:
    - Cluster
    - Event
    - Name
    - Contributor
    - DataSource
    - DataSourceNew
    - License
    - Experiment
    - Parameter
    - Protocol
    - ProtocolExecution
    - Variable
    range: string
  description:
    name: description
    description: Brief textual definition or description.
    from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
    rank: 1000
    alias: description
    owner: Variable
    domain_of:
    - Cluster
    - Event
    - Identifier
    - Name
    - Project
    - Experiment
    - Parameter
    - Protocol
    - ProtocolExecution
    - Variable
    - Protein
    - Sample
    range: string