Class: File
A single file within a dataset or file collection. Represents an individual data file, code file, documentation file, etc. Maps to RO-Crate File entities.
URI: schema:MediaObject
classDiagram
class File
click File href "../File/"
Information <|-- File
click Information href "../Information/"
File : bytes
File : compression
File --> "0..1" CompressionEnum : compression
click CompressionEnum href "../CompressionEnum/"
File : conforms_to
File : conforms_to_class
File : conforms_to_schema
File : created_by
File : created_on
File : description
File : dialect
File : doi
File : download_url
File : encoding
File --> "0..1" EncodingEnum : encoding
click EncodingEnum href "../EncodingEnum/"
File : file_type
File --> "0..1" FileTypeEnum : file_type
click FileTypeEnum href "../FileTypeEnum/"
File : format
File --> "0..1" FormatEnum : format
click FormatEnum href "../FormatEnum/"
File : hash
File : id
File : issued
File : keywords
File : language
File : last_updated_on
File : license
File : md5
File : media_type
File --> "0..1" MediaTypeEnum : media_type
click MediaTypeEnum href "../MediaTypeEnum/"
File : modified_by
File : name
File : page
File : path
File : publisher
File : sha256
File : status
File : title
File : version
File : was_derived_from
Inheritance
- NamedThing
- Information
- File
- Information
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| bytes | 0..1 Integer |
Size of the data in bytes | direct |
| path | 0..1 String |
direct | |
| format | 0..1 FormatEnum |
The file format, physical medium, or dimensions of a resource | direct |
| encoding | 0..1 EncodingEnum |
the character encoding of the data | direct |
| compression | 0..1 CompressionEnum |
compression format used, if any | direct |
| media_type | 0..1 MediaTypeEnum |
The media type of the data | direct |
| hash | 0..1 String |
hash of the data | direct |
| md5 | 0..1 String |
md5 hash of the data | direct |
| sha256 | 0..1 String |
sha256 hash of the data | direct |
| dialect | 0..1 String |
Specific format dialect or variation (e | direct |
| file_type | 0..1 FileTypeEnum |
Semantic type or purpose of this file (e | direct |
| conforms_to | 0..1 String |
Information | |
| conforms_to_class | 0..1 String |
Information | |
| conforms_to_schema | 0..1 String |
Information | |
| created_by | 0..1 String |
Information | |
| created_on | 0..1 Datetime |
Information | |
| doi | 0..1 String |
digital object identifier | Information |
| download_url | 0..1 Uri |
URL from which the data can be downloaded | Information |
| issued | 0..1 Datetime |
Information | |
| keywords | * String |
Information | |
| language | 0..1 String |
language in which the information is expressed | Information |
| last_updated_on | 0..1 Datetime |
Information | |
| license | 0..1 String |
Information | |
| modified_by | 0..1 String |
Information | |
| page | 0..1 String |
Information | |
| publisher | 0..1 Uriorcurie |
Information | |
| status | 0..1 String |
Information | |
| title | 0..1 String |
the official title of the element | Information |
| version | 0..1 String |
Information | |
| was_derived_from | 0..1 String |
Information | |
| id | 1 Uriorcurie |
A unique identifier for a thing | NamedThing |
| name | 0..1 String |
A human-readable name for a thing | NamedThing |
| description | 0..1 String |
A human-readable description for a thing | NamedThing |
Usages
| used by | used in | type | used |
|---|---|---|---|
| FileCollection | resources | any_of[range] | File |
Aliases
- data file
- file
- file object
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/bridge2ai/data-sheets-schema
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | schema:MediaObject |
| native | data_sheets_schema:File |
| exact | schema:DigitalDocument |
LinkML Source
Direct
name: File
description: A single file within a dataset or file collection. Represents an individual
data file, code file, documentation file, etc. Maps to RO-Crate File entities.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
aliases:
- data file
- file
- file object
exact_mappings:
- schema:DigitalDocument
is_a: Information
slots:
- bytes
- path
- format
- encoding
- compression
- media_type
- hash
- md5
- sha256
- dialect
attributes:
file_type:
name: file_type
description: Semantic type or purpose of this file (e.g., data_file, code_file,
documentation_file, metadata_file).
from_schema: https://w3id.org/bridge2ai/data-sheets-schema/file-collection
rank: 1000
slot_uri: d4d:fileType
domain_of:
- File
range: FileTypeEnum
class_uri: schema:MediaObject
Induced
name: File
description: A single file within a dataset or file collection. Represents an individual
data file, code file, documentation file, etc. Maps to RO-Crate File entities.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
aliases:
- data file
- file
- file object
exact_mappings:
- schema:DigitalDocument
is_a: Information
attributes:
file_type:
name: file_type
description: Semantic type or purpose of this file (e.g., data_file, code_file,
documentation_file, metadata_file).
from_schema: https://w3id.org/bridge2ai/data-sheets-schema/file-collection
rank: 1000
slot_uri: d4d:fileType
alias: file_type
owner: File
domain_of:
- File
range: FileTypeEnum
bytes:
name: bytes
description: Size of the data in bytes.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcat:byteSize
alias: bytes
owner: File
domain_of:
- File
range: integer
path:
name: path
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: schema:contentUrl
alias: path
owner: File
domain_of:
- File
- FileCollection
range: string
format:
name: format
description: The file format, physical medium, or dimensions of a resource. This
should be a file extension or MIME type.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:format
alias: format
owner: File
domain_of:
- File
range: FormatEnum
encoding:
name: encoding
description: the character encoding of the data
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcat:mediaType
alias: encoding
owner: File
domain_of:
- File
range: EncodingEnum
compression:
name: compression
description: compression format used, if any. e.g., gzip, bzip2, zip
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcat:compressFormat
alias: compression
owner: File
domain_of:
- Information
- File
- FileCollection
range: CompressionEnum
media_type:
name: media_type
description: The media type of the data. This should be a MIME type.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
exact_mappings:
- schema:encodingFormat
rank: 1000
slot_uri: dcat:mediaType
alias: media_type
owner: File
domain_of:
- File
range: MediaTypeEnum
hash:
name: hash
description: hash of the data
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:identifier
alias: hash
owner: File
domain_of:
- File
range: string
md5:
name: md5
description: md5 hash of the data
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:identifier
alias: md5
owner: File
domain_of:
- File
range: string
sha256:
name: sha256
description: sha256 hash of the data
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:identifier
alias: sha256
owner: File
domain_of:
- File
range: string
dialect:
name: dialect
description: Specific format dialect or variation (e.g., CSV dialect, JSON-LD
profile).
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: schema:encodingFormat
alias: dialect
owner: File
domain_of:
- File
range: string
conforms_to:
name: conforms_to
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:conformsTo
alias: conforms_to
owner: File
domain_of:
- Information
range: string
conforms_to_class:
name: conforms_to_class
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:conformsTo
alias: conforms_to_class
owner: File
domain_of:
- Information
range: string
conforms_to_schema:
name: conforms_to_schema
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:conformsTo
alias: conforms_to_schema
owner: File
domain_of:
- Information
range: string
created_by:
name: created_by
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:creator
alias: created_by
owner: File
domain_of:
- Information
range: string
created_on:
name: created_on
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:created
alias: created_on
owner: File
domain_of:
- Information
range: datetime
doi:
name: doi
description: digital object identifier
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:identifier
alias: doi
owner: File
domain_of:
- Information
range: string
pattern: 10\.\d{4,}\/.+
download_url:
name: download_url
description: URL from which the data can be downloaded. This is not the same as
the landing page, which is a page that describes the dataset. Rather, this URL
points directly to the data itself.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
exact_mappings:
- schema:url
rank: 1000
slot_uri: dcat:downloadURL
alias: download_url
owner: File
domain_of:
- Information
range: uri
issued:
name: issued
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:issued
alias: issued
owner: File
domain_of:
- Information
range: datetime
keywords:
name: keywords
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcat:keyword
alias: keywords
owner: File
domain_of:
- Information
range: string
multivalued: true
language:
name: language
description: language in which the information is expressed
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
exact_mappings:
- schema:inLanguage
rank: 1000
slot_uri: dcterms:language
alias: language
owner: File
domain_of:
- Information
range: string
last_updated_on:
name: last_updated_on
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:modified
alias: last_updated_on
owner: File
domain_of:
- Information
range: datetime
license:
name: license
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:license
alias: license
owner: File
domain_of:
- Software
- Information
range: string
modified_by:
name: modified_by
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:contributor
alias: modified_by
owner: File
domain_of:
- Information
range: string
page:
name: page
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcat:landingPage
alias: page
owner: File
domain_of:
- Information
range: string
publisher:
name: publisher
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:publisher
alias: publisher
owner: File
domain_of:
- Information
range: uriorcurie
status:
name: status
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:type
alias: status
owner: File
domain_of:
- Information
range: string
title:
name: title
description: the official title of the element
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:title
alias: title
owner: File
domain_of:
- Information
range: string
version:
name: version
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
rank: 1000
slot_uri: dcterms:hasVersion
alias: version
owner: File
domain_of:
- Software
- Information
range: string
was_derived_from:
name: was_derived_from
from_schema: https://w3id.org/bridge2ai/data-sheets-schema
exact_mappings:
- dcterms:source
rank: 1000
slot_uri: prov:wasDerivedFrom
alias: was_derived_from
owner: File
domain_of:
- Information
range: string
id:
name: id
description: A unique identifier for a thing.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema/base
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: File
domain_of:
- NamedThing
- DatasetProperty
range: uriorcurie
required: true
name:
name: name
description: A human-readable name for a thing.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema/base
rank: 1000
slot_uri: schema:name
alias: name
owner: File
domain_of:
- NamedThing
- DatasetProperty
range: string
description:
name: description
description: A human-readable description for a thing.
from_schema: https://w3id.org/bridge2ai/data-sheets-schema/base
rank: 1000
slot_uri: schema:description
alias: description
owner: File
domain_of:
- NamedThing
- DatasetProperty
- DatasetRelationship
range: string
class_uri: schema:MediaObject