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: cdm:DataSource

classDiagram class DataSource click DataSource href "../DataSource" DataSource : comments DataSource : date_accessed DataSource : name DataSource : source DataSource : url DataSource : version

Slots

Name Cardinality and Range Description Inheritance
name 0..1
String
A string used as a name or title direct
comments 0..1
String
Additional details about the dataset direct
date_accessed 0..1
String
The date when the data was downloaded from the data source direct
source 0..1
String
The name of 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: https://github.com/kbase/cdm-schema

Mappings

Mapping Type Mapped Value
self cdm:DataSource
native 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: https://github.com/kbase/cdm-schema
slots:
- name
attributes:
  comments:
    name: comments
    description: Additional details about the dataset.
    from_schema: https://github.com/kbase/cdm-schema
    domain_of:
    - Association
    - DataSource
  date_accessed:
    name: date_accessed
    description: The date when the data was downloaded from the data source.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    domain_of:
    - DataSource
  source:
    name: source
    description: The name of the data source.
    examples:
    - value: UniProt
    - value: NMDC Runtime API
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    domain_of:
    - DataSource
    - Identifier
    - Name
    range: string
  url:
    name: url
    description: The URL from which the data was loaded.
    from_schema: https://github.com/kbase/cdm-schema
    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: https://github.com/kbase/cdm-schema
    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: https://github.com/kbase/cdm-schema
attributes:
  comments:
    name: comments
    description: Additional details about the dataset.
    from_schema: https://github.com/kbase/cdm-schema
    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: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: date_accessed
    owner: DataSource
    domain_of:
    - DataSource
    range: string
  source:
    name: source
    description: The name of the data source.
    examples:
    - value: UniProt
    - value: NMDC Runtime API
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: source
    owner: DataSource
    domain_of:
    - DataSource
    - Identifier
    - Name
    range: string
  url:
    name: url
    description: The URL from which the data was loaded.
    from_schema: https://github.com/kbase/cdm-schema
    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: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: version
    owner: DataSource
    domain_of:
    - DataSource
    - Protocol
    range: string
  name:
    name: name
    description: A string used as a name or title.
    from_schema: https://github.com/kbase/cdm-schema
    rank: 1000
    alias: name
    owner: DataSource
    domain_of:
    - Contributor
    - DataSource
    - Event
    - Experiment
    - Measurement
    - Name
    range: string