Class: DataSourceNew
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. a release number, like those used by UniProt or RefSeq) or an access date to allow the original raw data dump to be recapitulated.
__
URI: kb_cdm:DataSourceNew
classDiagram
class DataSourceNew
click DataSourceNew href "../DataSourceNew/"
Table <|-- DataSourceNew
click Table href "../Table/"
DataSourceNew : comments
DataSourceNew : data_source_id
DataSourceNew : date_accessed
DataSourceNew : date_published
DataSourceNew : date_updated
DataSourceNew : license
DataSourceNew : name
DataSourceNew : publisher
DataSourceNew : resource_type
DataSourceNew --> "1" ResourceType : resource_type
click ResourceType href "../ResourceType/"
DataSourceNew : url
DataSourceNew : version
Inheritance
- Table
- DataSourceNew
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
data_source_id | 1 CdmDataSourceId |
Internal (CDM) unique identifier for a data source. From the Entity table: entity_id where entity_type == 'DataSource'. |
direct |
name | 0..1 String |
The name of the data source. | direct |
comments | 0..1 String |
Freeform text providing extra information. | direct |
date_accessed | 1 Iso8601 |
The date when the data was downloaded from the data source. | direct |
date_published | 0..1 Iso8601 |
The date when the data source was originally made public. | direct |
date_updated | 0..1 Iso8601 |
The date when the data source was last updated. | direct |
license | 0..1 CdmLicenseId |
Usage license for the resource. Use one of the SPDX license identifiers or provide a link to the license text if no SPDX ID is available. | direct |
publisher | 0..1 CdmContributorId |
The publisher of the resource. For a dataset, this is the repository where it is stored. | direct |
resource_type | 1 ResourceType |
The broad type of the source data for this object. 'dataset' is currently the only valid value supported by this schema. | direct |
url | 0..1 Uri |
The URL from which the data was loaded. | direct |
version | 0..1 String |
The version of the resource. This must be an absolute version, not a relative version like 'latest'. | direct |
Usages
used by | used in | type | used |
---|---|---|---|
Schema | data_sources | range | DataSourceNew |
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:DataSourceNew |
native | kb_cdm:DataSourceNew |
LinkML Source
Direct
name: DataSourceNew
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. a release number, like those used by UniProt or RefSeq) or an access date
to allow the original raw data dump to be recapitulated.
'
from_schema: http://kbase.github.io/cdm-schema/linkml/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
- value: NCBI RefSeq
attributes:
comments:
name: comments
description: Freeform text providing extra information.
examples:
- value: This comment adds a lot of extra value!
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
slot_uri: schema:comment
domain_of:
- Association
- DataSourceNew
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/linkml/cdm_credit
rank: 1000
domain_of:
- DataSourceNew
range: iso8601
required: true
date_published:
name: date_published
description: The date when the data source was originally made public.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
aliases:
- date_created
rank: 1000
domain_of:
- DataSourceNew
range: iso8601
date_updated:
name: date_updated
description: The date when the data source was last updated.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
rank: 1000
domain_of:
- DataSourceNew
range: iso8601
license:
name: license
description: 'Usage license for the resource. Use one of the SPDX license identifiers
or provide a link to the license text if no SPDX ID is available.
'
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
exact_mappings:
- biolink:license
related_mappings:
- DataCite:attributes.rights_list
rank: 1000
slot_uri: schema:license
domain_of:
- DataSourceNew
range: cdm_license_id
publisher:
name: publisher
description: The publisher of the resource. For a dataset, this is the repository
where it is stored.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
narrow_mappings:
- ORCID:url
- OSTI.ARTICLE:site_url
rank: 1000
slot_uri: schema:provider
domain_of:
- DataSourceNew
range: cdm_contributor_id
resource_type:
name: resource_type
description: The broad type of the source data for this object. 'dataset' is currently
the only valid value supported by this schema.
examples:
- value: dataset
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
exact_mappings:
- OSTI.ARTICLE:product_type
- OSTI.ARTICLE:workType
- DataCite:attributes.types.schema_org
narrow_mappings:
- OSTI.ARTICLE:dataset_type
rank: 1000
slot_uri: schema:@type
domain_of:
- DataSourceNew
range: ResourceType
required: true
url:
name: url
description: The URL from which the data was loaded.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
rank: 1000
domain_of:
- DataSourceNew
- License
- Protocol
range: uri
version:
name: version
description: The version of the resource. This must be an absolute version, not
a relative version like 'latest'.
examples:
- value: '5'
- value: 1.2.1
- value: '20220405'
- value: v1.5.3
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
exact_mappings:
- DataCite:attributes.version
rank: 1000
slot_uri: schema:version
domain_of:
- DataSourceNew
- Protocol
any_of:
- slot_conditions:
date_updated:
name: date_updated
required: true
- slot_conditions:
version:
name: version
required: true
Induced
name: DataSourceNew
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. a release number, like those used by UniProt or RefSeq) or an access date
to allow the original raw data dump to be recapitulated.
'
from_schema: http://kbase.github.io/cdm-schema/linkml/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
- value: NCBI RefSeq
attributes:
comments:
name: comments
description: Freeform text providing extra information.
examples:
- value: This comment adds a lot of extra value!
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
slot_uri: schema:comment
alias: comments
owner: DataSourceNew
domain_of:
- Association
- DataSourceNew
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/linkml/cdm_credit
rank: 1000
alias: date_accessed
owner: DataSourceNew
domain_of:
- DataSourceNew
range: iso8601
required: true
date_published:
name: date_published
description: The date when the data source was originally made public.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
aliases:
- date_created
rank: 1000
alias: date_published
owner: DataSourceNew
domain_of:
- DataSourceNew
range: iso8601
date_updated:
name: date_updated
description: The date when the data source was last updated.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
rank: 1000
alias: date_updated
owner: DataSourceNew
domain_of:
- DataSourceNew
range: iso8601
license:
name: license
description: 'Usage license for the resource. Use one of the SPDX license identifiers
or provide a link to the license text if no SPDX ID is available.
'
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
exact_mappings:
- biolink:license
related_mappings:
- DataCite:attributes.rights_list
rank: 1000
slot_uri: schema:license
alias: license
owner: DataSourceNew
domain_of:
- DataSourceNew
range: cdm_license_id
publisher:
name: publisher
description: The publisher of the resource. For a dataset, this is the repository
where it is stored.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
narrow_mappings:
- ORCID:url
- OSTI.ARTICLE:site_url
rank: 1000
slot_uri: schema:provider
alias: publisher
owner: DataSourceNew
domain_of:
- DataSourceNew
range: cdm_contributor_id
resource_type:
name: resource_type
description: The broad type of the source data for this object. 'dataset' is currently
the only valid value supported by this schema.
examples:
- value: dataset
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
exact_mappings:
- OSTI.ARTICLE:product_type
- OSTI.ARTICLE:workType
- DataCite:attributes.types.schema_org
narrow_mappings:
- OSTI.ARTICLE:dataset_type
rank: 1000
slot_uri: schema:@type
alias: resource_type
owner: DataSourceNew
domain_of:
- DataSourceNew
range: ResourceType
required: true
url:
name: url
description: The URL from which the data was loaded.
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
rank: 1000
alias: url
owner: DataSourceNew
domain_of:
- DataSourceNew
- License
- Protocol
range: uri
version:
name: version
description: The version of the resource. This must be an absolute version, not
a relative version like 'latest'.
examples:
- value: '5'
- value: 1.2.1
- value: '20220405'
- value: v1.5.3
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_credit
exact_mappings:
- DataCite:attributes.version
rank: 1000
slot_uri: schema:version
alias: version
owner: DataSourceNew
domain_of:
- DataSourceNew
- Protocol
range: string
data_source_id:
name: data_source_id
description: 'Internal (CDM) unique identifier for a data source.
From the Entity table: entity_id where entity_type == ''DataSource''.
'
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
rank: 1000
identifier: true
alias: data_source_id
owner: DataSourceNew
domain_of:
- Entity
- Contributor_x_DataSource
- DataSource
- DataSourceNew
- DataSource_x_Description
- DataSource_x_FundingReference
- DataSource_x_License
- DataSource_x_Title
range: cdm_data_source_id
required: true
name:
name: name
description: The name of the data source.
examples:
- value: UniProt
- value: NMDC Runtime API
- value: NCBI RefSeq
from_schema: http://kbase.github.io/cdm-schema/linkml/cdm_schema
rank: 1000
slot_uri: schema:name
alias: name
owner: DataSourceNew
domain_of:
- Cluster
- Event
- Name
- Contributor
- DataSource
- DataSourceNew
- License
- Experiment
- Parameter
- Protocol
- ProtocolExecution
- Variable
range: string
any_of:
- slot_conditions:
date_updated:
name: date_updated
required: true
- slot_conditions:
version:
name: version
required: true