Dataset¶
Data published as one thing. The metadata lives in the fields; data is the interpreted
payload, and the type of data is the schema, so there is no separate schema object to keep
in sync.
- module:
datasets0.1.0 - extended by: TabularDataset
- schema file:
/datasets/dev/Dataset.schema.json
| Term | Constraints | Consensus mapping | Alternative mappings |
|---|---|---|---|
type | array, default ["Dataset"] | @type | - |
"Dataset"Data published as one thing. Metadata lives in the fields; data is the interpreted payload, and the type of data is the schema, so there is no separate schema object. A distribution is a serialisation of the same dataset. | type alias | dcat:Dataset |
|
title | string | dcterms:Title | |
description | string | dcterms:Description | |
issued | string, format date | dcterms:Date Issued | - |
license | string, format iri-reference | dcterms:License | |
aboutIRI of what the data is about, the sample or device it was taken from | string, format iri-reference | schema:about | - |
generated_byIRI of the process that produced it | string, format iri-reference | prov:wasGeneratedBy | - |
dataThe interpreted payload. Its type is the schema, so a subschema restricts it; absent where the payload lives in a distribution | - | dataset:/properties/data | - |
array, items Distribution | dcat:distribution | ||
type | array, default ["Distribution"] | @type | - |
download_url | string, format iri-reference | dcat:download URL |
|
access_urlLanding page where the file is reached indirectly | string, format iri-reference | dcat:access address | - |
media_type | string | dcat:media type |
|
byte_size | integer | dcat:byte size | - |
package_format | string | dcat:packaging format | - |
conforms_toIRI of the dataset schema these bytes embody | string, format iri-reference | dcterms:Conforms To | - |
table_schemaIRI of the row schema, where the serialisation is tabular | string, format iri-reference | csvw:table schema | - |
selectorThe part within a container: sheet, HDF path, SQL table, archive member | string | distribution:/properties/selector | - |
partsIRIs of sub-datasets | array | dcterms:Has Part | - |
* marks a required property.
{
"$schema": "https://oo-ld.org/latest/meta/oold-meta-schema.json",
"$id": "Dataset.schema.json",
"x-oold-uuid": "c13190a3-cb8d-58d9-a58f-5b4b0193332b",
"x-oold-version": "0.1.0",
"title": "Dataset",
"x-oold-instance-rdf-type": [
"Dataset"
],
"description": "Data published as one thing. Metadata lives in the fields; `data` is the interpreted payload, and the type of `data` is the schema, so there is no separate schema object. A distribution is a serialisation of the same dataset.",
"examples": [
{
"type": [
"Dataset"
],
"title": "Cycling of cell LFP-042",
"license": "https://creativecommons.org/licenses/by/4.0/"
}
],
"type": "object",
"properties": {
"type": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"Dataset"
]
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"issued": {
"type": "string",
"format": "date"
},
"license": {
"type": "string",
"format": "iri-reference"
},
"about": {
"type": "string",
"format": "iri-reference",
"description": "IRI of what the data is about, the sample or device it was taken from"
},
"generated_by": {
"type": "string",
"format": "iri-reference",
"description": "IRI of the process that produced it"
},
"data": {
"description": "The interpreted payload. Its type is the schema, so a subschema restricts it; absent where the payload lives in a distribution"
},
"distributions": {
"type": "array",
"items": {
"$ref": "Distribution.schema.json"
},
"description": "Serialisations of this dataset"
},
"parts": {
"type": "array",
"items": {
"type": "string",
"format": "iri-reference"
},
"x-oold-range": "Dataset.schema.json",
"description": "IRIs of sub-datasets"
}
},
"required": [
"type"
],
"@context": [
"Distribution.schema.json",
{
"@version": 1.1,
"dcat": "http://www.w3.org/ns/dcat#",
"dcterms": "http://purl.org/dc/terms/",
"prov": "http://www.w3.org/ns/prov#",
"csvw": "http://www.w3.org/ns/csvw#",
"schema": "http://schema.org/",
"qudt": "http://qudt.org/schema/qudt/",
"qunit": "http://qudt.org/vocab/unit/",
"qkind": "http://qudt.org/vocab/quantitykind/",
"emmo": "https://w3id.org/emmo#",
"echem": "https://w3id.org/emmo/domain/electrochemistry#",
"obo": "http://purl.obolibrary.org/obo/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dataset": {
"@id": "https://w3id.org/oo-ld/schemas/datasets/0.1/Dataset.schema.json#",
"@prefix": true
},
"id": "@id",
"type": {
"@id": "@type",
"@container": "@set"
},
"Dataset": "dcat:Dataset",
"title": "dcterms:title",
"description": "dcterms:description",
"issued": {
"@id": "dcterms:issued",
"@type": "xsd:date"
},
"license": {
"@id": "dcterms:license",
"@type": "@id"
},
"about": {
"@id": "schema:about",
"@type": "@id"
},
"generated_by": {
"@id": "prov:wasGeneratedBy",
"@type": "@id"
},
"data": {
"@id": "dataset:/properties/data",
"@type": "@id",
"@container": "@set"
},
"distributions": {
"@id": "dcat:distribution",
"@type": "@id",
"@container": "@set"
},
"parts": {
"@id": "dcterms:hasPart",
"@type": "@id",
"@container": "@set"
}
}
],
"x-oold-context": {
"Dataset": {
"schema:Dataset": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv"
}
},
"obo:IAO_0000100": {
"x-oold-sssom": {
"predicate_id": "skos:closeMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
"comment": "homogenous data collection"
}
},
"emmo:EMMO_194e367c_9783_4bf5_96d0_9ad597d48d9a": {
"x-oold-sssom": {
"predicate_id": "skos:closeMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv",
"object_source_version": "https://w3id.org/emmo/1.0.4",
"comment": "Dataset"
}
}
},
"title": {
"schema:name": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv"
}
}
},
"description": {
"schema:description": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv"
}
}
},
"license": {
"schema:license": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv"
}
}
},
"distributions": {
"schema:distribution": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv"
}
}
}
}
}
$schema: https://oo-ld.org/latest/meta/oold-meta-schema.json
$id: Dataset.schema.json
x-oold-uuid: c13190a3-cb8d-58d9-a58f-5b4b0193332b
x-oold-version: 0.1.0
title: Dataset
x-oold-instance-rdf-type:
- Dataset
description: Data published as one thing. Metadata lives in the fields; `data` is the interpreted payload,
and the type of `data` is the schema, so there is no separate schema object. A distribution is a serialisation
of the same dataset.
examples:
- type:
- Dataset
title: Cycling of cell LFP-042
license: https://creativecommons.org/licenses/by/4.0/
type: object
properties:
type:
type: array
items:
type: string
default:
- Dataset
title:
type: string
description:
type: string
issued:
type: string
format: date
license:
type: string
format: iri-reference
about:
type: string
format: iri-reference
description: IRI of what the data is about, the sample or device it was taken from
generated_by:
type: string
format: iri-reference
description: IRI of the process that produced it
data:
description: The interpreted payload. Its type is the schema, so a subschema restricts it; absent
where the payload lives in a distribution
distributions:
type: array
items:
$ref: Distribution.schema.json
description: Serialisations of this dataset
parts:
type: array
items:
type: string
format: iri-reference
x-oold-range: Dataset.schema.json
description: IRIs of sub-datasets
required:
- type
'@context':
- Distribution.schema.json
- '@version': 1.1
dcat: http://www.w3.org/ns/dcat#
dcterms: http://purl.org/dc/terms/
prov: http://www.w3.org/ns/prov#
csvw: http://www.w3.org/ns/csvw#
schema: http://schema.org/
qudt: http://qudt.org/schema/qudt/
qunit: http://qudt.org/vocab/unit/
qkind: http://qudt.org/vocab/quantitykind/
emmo: https://w3id.org/emmo#
echem: https://w3id.org/emmo/domain/electrochemistry#
obo: http://purl.obolibrary.org/obo/
xsd: http://www.w3.org/2001/XMLSchema#
dataset:
'@id': https://w3id.org/oo-ld/schemas/datasets/0.1/Dataset.schema.json#
'@prefix': true
id: '@id'
type:
'@id': '@type'
'@container': '@set'
Dataset: dcat:Dataset
title: dcterms:title
description: dcterms:description
issued:
'@id': dcterms:issued
'@type': xsd:date
license:
'@id': dcterms:license
'@type': '@id'
about:
'@id': schema:about
'@type': '@id'
generated_by:
'@id': prov:wasGeneratedBy
'@type': '@id'
data:
'@id': dataset:/properties/data
'@type': '@id'
'@container': '@set'
distributions:
'@id': dcat:distribution
'@type': '@id'
'@container': '@set'
parts:
'@id': dcterms:hasPart
'@type': '@id'
'@container': '@set'
x-oold-context:
Dataset:
schema:Dataset:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv
obo:IAO_0000100:
x-oold-sssom:
predicate_id: skos:closeMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
comment: homogenous data collection
emmo:EMMO_194e367c_9783_4bf5_96d0_9ad597d48d9a:
x-oold-sssom:
predicate_id: skos:closeMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv
object_source_version: https://w3id.org/emmo/1.0.4
comment: Dataset
title:
schema:name:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv
description:
schema:description:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv
license:
schema:license:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv
distributions:
schema:distribution:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/schemaorg.sssom.tsv
{
"$schema": "https://w3id.org/oo-ld/schemas/datasets/dev/Dataset.schema.json",
"@context": "https://w3id.org/oo-ld/schemas/datasets/dev/Dataset.schema.json",
"@id": "https://example.org/instance",
"type": [
"Dataset"
],
"title": "Cycling of cell LFP-042",
"license": "https://creativecommons.org/licenses/by/4.0/"
}
PREFIX creativecommons_licenses_by_4_0: <https://creativecommons.org/licenses/by/4.0/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ex: <https://example.org/>
ex:instance
a dcat:Dataset ;
dcterms:license creativecommons_licenses_by_4_0: ;
dcterms:title "Cycling of cell LFP-042" ;
.
PREFIX creativecommons_licenses_by_4_0: <https://creativecommons.org/licenses/by/4.0/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX emmo: <https://w3id.org/emmo#>
PREFIX ex: <https://example.org/>
ex:instance
a emmo:EMMO_194e367c_9783_4bf5_96d0_9ad597d48d9a ;
dcterms:license creativecommons_licenses_by_4_0: ;
dcterms:title "Cycling of cell LFP-042" ;
.
PREFIX creativecommons_licenses_by_4_0: <https://creativecommons.org/licenses/by/4.0/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ex: <https://example.org/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
ex:instance
a obo:IAO_0000100 ;
dcterms:license creativecommons_licenses_by_4_0: ;
dcterms:title "Cycling of cell LFP-042" ;
.
flowchart LR
n0["instance<br>dcat:Dataset"]
n1["https://creativecommons.org/licenses/by/4.0/"]
n2[/"Cycling of cell LFP-042"/]
n0 -->|dcterms:License| n1
n0 -->|dcterms:Title| n2
flowchart LR
n0["instance<br>emmo:Dataset"]
n1["https://creativecommons.org/licenses/by/4.0/"]
n2[/"Cycling of cell LFP-042"/]
n0 -->|dcterms:License| n1
n0 -->|dcterms:Title| n2
flowchart LR
n0["instance<br>obo:homogenous data collection"]
n1["https://creativecommons.org/licenses/by/4.0/"]
n2[/"Cycling of cell LFP-042"/]
n0 -->|dcterms:License| n1
n0 -->|dcterms:Title| n2
flowchart LR
n0["instance<br>schema:Dataset"]
n1["https://creativecommons.org/licenses/by/4.0/"]
n2[/"Cycling of cell LFP-042"/]
n0 -->|schema:license| n1
n0 -->|schema:name| n2
Three ways to hold the payload, and the schema is the same for all three: inline in data,
behind a JSON-LD @id that a loader dereferences, or in a file described by a
Distribution. A distribution is a serialisation of this dataset, not a
different thing, which is what conforms_to records.