Skip to content

Class: DataSource

Source of any kind of data.

URI: dcm:DataSource

classDiagram class DataSource click DataSource href "../DataSource" DataSource : access_timestamp DataSource : source_data_updated DataSource : source_name DataSource : source_url

Slots

Name Cardinality and Range Description Inheritance
access_timestamp 1
Integer
Unix timestamp for when the data was retrieved from that source direct
source_data_updated 0..1
Datetime
The date when the data source was last updated, if available direct
source_name 0..1
String
Where the data was retrieved from direct
source_url 0..1
Uriorcurie
URL from whence data was retrieved direct

Usages

used by used in type used
Metadata credit_metadata_source range DataSource

Identifier and Mapping Information

Schema Source

  • from schema: https://kbase.github.io/credit_engine/linkml/credit_metadata

Mappings

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

LinkML Source

Direct

name: DataSource
description: Source of any kind of data.
from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
attributes:
  access_timestamp:
    name: access_timestamp
    description: Unix timestamp for when the data was retrieved from that source.
    comments:
    - This could be added programmatically when updates occur.
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    domain_of:
    - DataSource
    range: integer
    required: true
  source_data_updated:
    name: source_data_updated
    description: The date when the data source was last updated, if available.
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    domain_of:
    - DataSource
    range: datetime
  source_name:
    name: source_name
    description: Where the data was retrieved from.
    examples:
    - value: DataCite
    - value: Crossref
    - value: IMG
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    domain_of:
    - DataSource
    range: string
  source_url:
    name: source_url
    description: URL from whence data was retrieved.
    examples:
    - value: https://figshare.com/articles/dataset/Blue_Hole_Metagenome-assembled_Genomes/12644081
    - value: https://api.microbiomedata.org/studies/sty-123abc-999
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    domain_of:
    - DataSource
    range: uriorcurie
any_of:
- slot_conditions:
    source_name:
      name: source_name
      required: true
- slot_conditions:
    source_url:
      name: source_url
      required: true

Induced

name: DataSource
description: Source of any kind of data.
from_schema: https://kbase.github.io/credit_engine/linkml/credit_metadata
attributes:
  access_timestamp:
    name: access_timestamp
    description: Unix timestamp for when the data was retrieved from that source.
    comments:
    - This could be added programmatically when updates occur.
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    alias: access_timestamp
    owner: DataSource
    domain_of:
    - DataSource
    range: integer
    required: true
  source_data_updated:
    name: source_data_updated
    description: The date when the data source was last updated, if available.
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    alias: source_data_updated
    owner: DataSource
    domain_of:
    - DataSource
    range: datetime
  source_name:
    name: source_name
    description: Where the data was retrieved from.
    examples:
    - value: DataCite
    - value: Crossref
    - value: IMG
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    alias: source_name
    owner: DataSource
    domain_of:
    - DataSource
    range: string
  source_url:
    name: source_url
    description: URL from whence data was retrieved.
    examples:
    - value: https://figshare.com/articles/dataset/Blue_Hole_Metagenome-assembled_Genomes/12644081
    - value: https://api.microbiomedata.org/studies/sty-123abc-999
    from_schema: https://kbase.github.io/credit_engine/linkml/components
    rank: 1000
    alias: source_url
    owner: DataSource
    domain_of:
    - DataSource
    range: uriorcurie
any_of:
- slot_conditions:
    source_name:
      name: source_name
      required: true
- slot_conditions:
    source_url:
      name: source_url
      required: true