Skip to content

Class: DataResource

An individual file or table

URI: dcat:Distribution

Inheritance

Slots

Name Range Cardinality Description Info
path string 0..1 None .
title string 0..1 the official title of the element .
description string 0..1 human readable description of the information .
format string 0..1 None .
media_type string 0..1 None .
encoding string 0..1 None .
bytes integer 0..1 None .
hash string 0..1 None .
md5 string 0..1 None .
sha256 string 0..1 None .
dialect string 0..1 None .
name string 0..1 the unique name of the dataset .
download_url uri 0..1 None .
license string 0..1 license for the data .
conforms_to uriorcurie 0..1 None .
conforms_to_schema uriorcurie 0..1 None .
conforms_to_class uriorcurie 0..1 class in schema which the data object instantiates .
version string 0..1 particular version of schema .
language string 0..1 language in which the information is expressed .
publisher uriorcurie 0..1 None .
keywords string 0..* None .
issued datetime 0..1 None .
created_by uriorcurie 0..1 agent that created the element .
created_on datetime 0..1 time at which the element was created .
compression CompressionTypeEnum 0..1 None .
was_derived_from string 0..1 A derivation is a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity.@en .
page string 0..1 None .
test_roles TestRole 0..* None .

Usages

used by used in type used
DataPackage resources range DataResource

Identifier and Mapping Information

LinkML Specification

Direct

name: DataResource
exact_mappings:
- schema:DataDownload
description: An individual file or table
from_schema: https://w3id.org/linkml/data-manifesto
see_also:
- https://specs.frictionlessdata.io/data-resource
is_a: Information
slots:
- path
- title
- description
- format
- media_type
- encoding
- bytes
- hash
- md5
- sha256
- dialect
class_uri: dcat:Distribution

Induced

name: DataResource
exact_mappings:
- schema:DataDownload
description: An individual file or table
from_schema: https://w3id.org/linkml/data-manifesto
see_also:
- https://specs.frictionlessdata.io/data-resource
is_a: Information
attributes:
  path:
    name: path
    close_mappings:
    - frictionless:path
    from_schema: https://w3id.org/linkml/data-manifesto
    alias: path
    owner: DataResource
    range: string
  title:
    name: title
    description: the official title of the element
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:title
    alias: title
    owner: DataResource
    range: string
  description:
    name: description
    description: human readable description of the information
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:description
    alias: description
    owner: DataResource
    range: string
  format:
    name: format
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:format
    alias: format
    owner: DataResource
    range: string
  media_type:
    name: media_type
    exact_mappings:
    - frictionless:mediatype
    - schema:encodingFormat
    - dcterms:MediaType
    examples:
    - value: text/csv
    - value: application/json
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcat:mediaType
    alias: media_type
    owner: DataResource
    range: string
  encoding:
    name: encoding
    from_schema: https://w3id.org/linkml/data-manifesto
    alias: encoding
    owner: DataResource
    range: string
  bytes:
    name: bytes
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcat:byteSize
    alias: bytes
    owner: DataResource
    range: integer
  hash:
    name: hash
    notes:
    - we recommend using a more specific slot such as sha256 or md5
    from_schema: https://w3id.org/linkml/data-manifesto
    alias: hash
    owner: DataResource
    range: string
  md5:
    name: md5
    from_schema: https://w3id.org/linkml/data-manifesto
    is_a: hash
    alias: md5
    owner: DataResource
    range: string
  sha256:
    name: sha256
    from_schema: https://w3id.org/linkml/data-manifesto
    is_a: hash
    alias: sha256
    owner: DataResource
    range: string
  dialect:
    name: dialect
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: csvw:dialect
    alias: dialect
    owner: DataResource
    range: string
  name:
    name: name
    exact_mappings:
    - schema:name
    description: the unique name of the dataset
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:identifier
    identifier: true
    alias: name
    owner: DataResource
    range: string
  download_url:
    name: download_url
    exact_mappings:
    - schema:url
    close_mappings:
    - frictionless:path
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcat:downloadURL
    alias: download_url
    owner: DataResource
    range: uri
  license:
    name: license
    exact_mappings:
    - frictionless:licenses
    description: license for the data
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:license
    alias: license
    owner: DataResource
    range: string
  conforms_to:
    name: conforms_to
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:conformsTo
    alias: conforms_to
    owner: DataResource
    range: uriorcurie
  conforms_to_schema:
    name: conforms_to_schema
    exact_mappings:
    - frictionless:schema
    from_schema: https://w3id.org/linkml/data-manifesto
    is_a: conforms_to
    alias: conforms_to_schema
    owner: DataResource
    range: uriorcurie
  conforms_to_class:
    name: conforms_to_class
    description: class in schema which the data object instantiates
    from_schema: https://w3id.org/linkml/data-manifesto
    is_a: conforms_to
    alias: conforms_to_class
    owner: DataResource
    range: uriorcurie
  version:
    name: version
    exact_mappings:
    - schema:version
    - dcterms:hasVersion
    description: particular version of schema
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: pav:version
    alias: version
    owner: DataResource
    range: string
  language:
    name: language
    description: language in which the information is expressed
    from_schema: https://w3id.org/linkml/data-manifesto
    alias: language
    owner: DataResource
    range: string
  publisher:
    name: publisher
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:publisher
    alias: publisher
    owner: DataResource
    range: uriorcurie
  keywords:
    name: keywords
    exact_mappings:
    - schema:keywords
    from_schema: https://w3id.org/linkml/data-manifesto
    singular_name: keyword
    slot_uri: dcat:keyword
    multivalued: true
    alias: keywords
    owner: DataResource
    range: string
  issued:
    name: issued
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcterms:issued
    alias: issued
    owner: DataResource
    range: datetime
  created_by:
    name: created_by
    description: agent that created the element
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: pav:createdBy
    alias: created_by
    owner: DataResource
    range: uriorcurie
  created_on:
    name: created_on
    description: time at which the element was created
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: pav:createdOn
    alias: created_on
    owner: DataResource
    range: datetime
  compression:
    name: compression
    from_schema: https://w3id.org/linkml/data-manifesto
    alias: compression
    owner: DataResource
    range: CompressionTypeEnum
  was_derived_from:
    name: was_derived_from
    description: A derivation is a transformation of an entity into another, an update
      of an entity resulting in a new one, or the construction of a new entity based
      on a pre-existing entity.@en
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: prov:wasDerivedFrom
    alias: was_derived_from
    owner: DataResource
    range: string
  page:
    name: page
    from_schema: https://w3id.org/linkml/data-manifesto
    slot_uri: dcat:landingPage
    alias: page
    owner: DataResource
    range: string
  test_roles:
    name: test_roles
    from_schema: https://w3id.org/linkml/data-manifesto
    multivalued: true
    alias: test_roles
    owner: DataResource
    range: TestRole
class_uri: dcat:Distribution