Skip to content

Class: DataSource

The source dataset from which data within the CDM was extracted. This might be an API query; a set of files downloaded from a website or uploaded by a user; a database dump; etc. A given data source should have either version information (e.g. UniProt's release number) or an access date to allow the original raw data dump to be recapitulated.

URI: kb_cdm:DataSource

classDiagram class DataSource click DataSource href "../DataSource" Table <|-- DataSource click Table href "../Table" DataSource : comments DataSource : data_source_id DataSource : date_accessed DataSource : name DataSource : url DataSource : version

Inheritance

Slots

Name Cardinality and Range Description Inheritance
data_source_id 1
UUID
Internal (CDM) unique identifier for a data source direct
name 0..1
String
The name of the data source direct
comments 0..1
String
Additional details about the dataset direct
date_accessed 0..1
Iso8601
The date when the data was downloaded from the data source direct
url 0..1
Uri
The URL from which the data was loaded direct
version 0..1
String
For versioned data sources, the version of the dataset direct

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: DataSource
description: The source dataset from which data within the CDM was extracted. This
  might be an API query; a set of files downloaded from a website or uploaded by a
  user; a database dump; etc. A given data source should have either version information
  (e.g. UniProt's release number) or an access date to allow the original raw data
  dump to be recapitulated.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
is_a: Table
slots:
- data_source_id
- name
slot_usage:
  data_source_id:
    name: data_source_id
    identifier: true
  name:
    name: name
    description: The name of the data source.
    examples:
    - value: UniProt
    - value: NMDC Runtime API
attributes:
  comments:
    name: comments
    description: Additional details about the dataset.
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    domain_of:
    - Association
    - DataSource
  date_accessed:
    name: date_accessed
    description: The date when the data was downloaded from the data source.
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    rank: 1000
    domain_of:
    - DataSource
    range: iso8601
  url:
    name: url
    description: The URL from which the data was loaded.
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    rank: 1000
    domain_of:
    - DataSource
    - Protocol
    range: uri
  version:
    name: version
    description: For versioned data sources, the version of the dataset.
    examples:
    - value: '115'
    - value: v1.5.3
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    rank: 1000
    domain_of:
    - DataSource
    - Protocol

Induced

name: DataSource
description: The source dataset from which data within the CDM was extracted. This
  might be an API query; a set of files downloaded from a website or uploaded by a
  user; a database dump; etc. A given data source should have either version information
  (e.g. UniProt's release number) or an access date to allow the original raw data
  dump to be recapitulated.
from_schema: http://kbase.github.io/cdm-schema/cdm_schema
is_a: Table
slot_usage:
  data_source_id:
    name: data_source_id
    identifier: true
  name:
    name: name
    description: The name of the data source.
    examples:
    - value: UniProt
    - value: NMDC Runtime API
attributes:
  comments:
    name: comments
    description: Additional details about the dataset.
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    alias: comments
    owner: DataSource
    domain_of:
    - Association
    - DataSource
    range: string
  date_accessed:
    name: date_accessed
    description: The date when the data was downloaded from the data source.
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    rank: 1000
    alias: date_accessed
    owner: DataSource
    domain_of:
    - DataSource
    range: iso8601
  url:
    name: url
    description: The URL from which the data was loaded.
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    rank: 1000
    alias: url
    owner: DataSource
    domain_of:
    - DataSource
    - Protocol
    range: uri
  version:
    name: version
    description: For versioned data sources, the version of the dataset.
    examples:
    - value: '115'
    - value: v1.5.3
    from_schema: http://kbase.github.io/cdm-schema/cdm_components
    rank: 1000
    alias: version
    owner: DataSource
    domain_of:
    - DataSource
    - Protocol
    range: string
  data_source_id:
    name: data_source_id
    description: Internal (CDM) unique identifier for a data source.
    from_schema: http://kbase.github.io/cdm-schema/cdm_schema
    rank: 1000
    identifier: true
    alias: data_source_id
    owner: DataSource
    domain_of:
    - DataSource
    - Entity
    range: UUID
    required: true
  name:
    name: name
    description: The name of the data source.
    examples:
    - value: UniProt
    - value: NMDC Runtime API
    from_schema: http://kbase.github.io/cdm-schema/cdm_schema
    rank: 1000
    slot_uri: schema:name
    alias: name
    owner: DataSource
    domain_of:
    - Cluster
    - Contributor
    - DataSource
    - Event
    - Experiment
    - Name
    range: string