things/v2 release prep #543
125 changed files with 3886 additions and 53 deletions
49
Makefile
49
Makefile
|
|
@ -20,16 +20,27 @@ build/linkml-docs: \
|
||||||
build/linkml-docs/s/relations-mixin/unreleased \
|
build/linkml-docs/s/relations-mixin/unreleased \
|
||||||
build/linkml-docs/s/things/unreleased \
|
build/linkml-docs/s/things/unreleased \
|
||||||
build/linkml-docs/s/things/v1 \
|
build/linkml-docs/s/things/v1 \
|
||||||
|
build/linkml-docs/s/things/v2 \
|
||||||
build/linkml-docs/s/things-properties/unreleased \
|
build/linkml-docs/s/things-properties/unreleased \
|
||||||
|
build/linkml-docs/s/things-properties/v1 \
|
||||||
build/linkml-docs/s/things-data/unreleased \
|
build/linkml-docs/s/things-data/unreleased \
|
||||||
|
build/linkml-docs/s/things-data/v1 \
|
||||||
build/linkml-docs/s/things-study/unreleased \
|
build/linkml-docs/s/things-study/unreleased \
|
||||||
|
build/linkml-docs/s/things-study/v1 \
|
||||||
build/linkml-docs/s/things-resources/unreleased \
|
build/linkml-docs/s/things-resources/unreleased \
|
||||||
|
build/linkml-docs/s/things-resources/v1 \
|
||||||
build/linkml-docs/s/things-rules/unreleased \
|
build/linkml-docs/s/things-rules/unreleased \
|
||||||
|
build/linkml-docs/s/things-rules/v1 \
|
||||||
build/linkml-docs/s/things-distributions/unreleased \
|
build/linkml-docs/s/things-distributions/unreleased \
|
||||||
|
build/linkml-docs/s/things-distributions/v1 \
|
||||||
build/linkml-docs/s/things-social/unreleased \
|
build/linkml-docs/s/things-social/unreleased \
|
||||||
|
build/linkml-docs/s/things-social/v1 \
|
||||||
build/linkml-docs/s/things-files/unreleased \
|
build/linkml-docs/s/things-files/unreleased \
|
||||||
|
build/linkml-docs/s/things-files/v1 \
|
||||||
build/linkml-docs/s/things-publications/unreleased \
|
build/linkml-docs/s/things-publications/unreleased \
|
||||||
|
build/linkml-docs/s/things-publications/v1 \
|
||||||
build/linkml-docs/s/things-prov/unreleased \
|
build/linkml-docs/s/things-prov/unreleased \
|
||||||
|
build/linkml-docs/s/things-prov/v1 \
|
||||||
build/linkml-docs/s/flat/unreleased \
|
build/linkml-docs/s/flat/unreleased \
|
||||||
build/linkml-docs/s/spatial-mixin/unreleased \
|
build/linkml-docs/s/spatial-mixin/unreleased \
|
||||||
build/linkml-docs/s/temporal-mixin/unreleased \
|
build/linkml-docs/s/temporal-mixin/unreleased \
|
||||||
|
|
@ -99,16 +110,27 @@ check-models: \
|
||||||
checkmodel/relations-mixin/unreleased \
|
checkmodel/relations-mixin/unreleased \
|
||||||
checkmodel/things/unreleased \
|
checkmodel/things/unreleased \
|
||||||
checkmodel/things/v1 \
|
checkmodel/things/v1 \
|
||||||
|
checkmodel/things/v2 \
|
||||||
checkmodel/things-properties/unreleased \
|
checkmodel/things-properties/unreleased \
|
||||||
|
checkmodel/things-properties/v1 \
|
||||||
checkmodel/things-study/unreleased \
|
checkmodel/things-study/unreleased \
|
||||||
|
checkmodel/things-study/v1 \
|
||||||
checkmodel/things-data/unreleased \
|
checkmodel/things-data/unreleased \
|
||||||
|
checkmodel/things-data/v1 \
|
||||||
checkmodel/things-resources/unreleased \
|
checkmodel/things-resources/unreleased \
|
||||||
|
checkmodel/things-resources/v1 \
|
||||||
checkmodel/things-rules/unreleased \
|
checkmodel/things-rules/unreleased \
|
||||||
|
checkmodel/things-rules/v1 \
|
||||||
checkmodel/things-distributions/unreleased \
|
checkmodel/things-distributions/unreleased \
|
||||||
|
checkmodel/things-distributions/v1 \
|
||||||
checkmodel/things-social/unreleased \
|
checkmodel/things-social/unreleased \
|
||||||
|
checkmodel/things-social/v1 \
|
||||||
checkmodel/things-files/unreleased \
|
checkmodel/things-files/unreleased \
|
||||||
|
checkmodel/things-files/v1 \
|
||||||
checkmodel/things-publications/unreleased \
|
checkmodel/things-publications/unreleased \
|
||||||
|
checkmodel/things-publications/v1 \
|
||||||
checkmodel/things-prov/unreleased \
|
checkmodel/things-prov/unreleased \
|
||||||
|
checkmodel/things-prov/v1 \
|
||||||
checkmodel/flat/unreleased \
|
checkmodel/flat/unreleased \
|
||||||
checkmodel/spatial-mixin/unreleased \
|
checkmodel/spatial-mixin/unreleased \
|
||||||
checkmodel/temporal-mixin/unreleased \
|
checkmodel/temporal-mixin/unreleased \
|
||||||
|
|
@ -165,22 +187,40 @@ check-validation: \
|
||||||
checkvalidation/things/unreleased \
|
checkvalidation/things/unreleased \
|
||||||
convertexamples/things/v1 \
|
convertexamples/things/v1 \
|
||||||
checkvalidation/things/v1 \
|
checkvalidation/things/v1 \
|
||||||
|
convertexamples/things/v2 \
|
||||||
|
checkvalidation/things/v2 \
|
||||||
convertexamples/things-distributions/unreleased \
|
convertexamples/things-distributions/unreleased \
|
||||||
checkvalidation/things-distributions/unreleased \
|
checkvalidation/things-distributions/unreleased \
|
||||||
|
convertexamples/things-distributions/v1 \
|
||||||
|
checkvalidation/things-distributions/v1 \
|
||||||
convertexamples/things-social/unreleased \
|
convertexamples/things-social/unreleased \
|
||||||
checkvalidation/things-social/unreleased \
|
checkvalidation/things-social/unreleased \
|
||||||
|
convertexamples/things-social/v1 \
|
||||||
|
checkvalidation/things-social/v1 \
|
||||||
convertexamples/things-study/unreleased \
|
convertexamples/things-study/unreleased \
|
||||||
checkvalidation/things-study/unreleased \
|
checkvalidation/things-study/unreleased \
|
||||||
|
convertexamples/things-study/v1 \
|
||||||
|
checkvalidation/things-study/v1 \
|
||||||
convertexamples/things-data/unreleased \
|
convertexamples/things-data/unreleased \
|
||||||
checkvalidation/things-data/unreleased \
|
checkvalidation/things-data/unreleased \
|
||||||
|
convertexamples/things-data/v1 \
|
||||||
|
checkvalidation/things-data/v1 \
|
||||||
convertexamples/things-resources/unreleased \
|
convertexamples/things-resources/unreleased \
|
||||||
checkvalidation/things-resources/unreleased \
|
checkvalidation/things-resources/unreleased \
|
||||||
|
convertexamples/things-resources/v1 \
|
||||||
|
checkvalidation/things-resources/v1 \
|
||||||
convertexamples/things-rules/unreleased \
|
convertexamples/things-rules/unreleased \
|
||||||
checkvalidation/things-rules/unreleased \
|
checkvalidation/things-rules/unreleased \
|
||||||
|
convertexamples/things-rules/v1 \
|
||||||
|
checkvalidation/things-rules/v1 \
|
||||||
convertexamples/things-files/unreleased \
|
convertexamples/things-files/unreleased \
|
||||||
checkvalidation/things-files/unreleased \
|
checkvalidation/things-files/unreleased \
|
||||||
|
convertexamples/things-files/v1 \
|
||||||
|
checkvalidation/things-files/v1 \
|
||||||
convertexamples/things-publications/unreleased \
|
convertexamples/things-publications/unreleased \
|
||||||
checkvalidation/things-publications/unreleased \
|
checkvalidation/things-publications/unreleased \
|
||||||
|
convertexamples/things-publications/v1 \
|
||||||
|
checkvalidation/things-publications/v1 \
|
||||||
convertexamples/demo-empirical-data/unreleased \
|
convertexamples/demo-empirical-data/unreleased \
|
||||||
checkvalidation/demo-empirical-data/unreleased \
|
checkvalidation/demo-empirical-data/unreleased \
|
||||||
convertexamples/demo-research-assets/unreleased \
|
convertexamples/demo-research-assets/unreleased \
|
||||||
|
|
@ -205,14 +245,23 @@ checkinvalid/%: src/%/validation src/%.yaml
|
||||||
convert-examples: \
|
convert-examples: \
|
||||||
convertexamples/things/unreleased \
|
convertexamples/things/unreleased \
|
||||||
convertexamples/things/v1 \
|
convertexamples/things/v1 \
|
||||||
|
convertexamples/things/v2 \
|
||||||
convertexamples/things-distributions/unreleased \
|
convertexamples/things-distributions/unreleased \
|
||||||
|
convertexamples/things-distributions/v1 \
|
||||||
convertexamples/things-social/unreleased \
|
convertexamples/things-social/unreleased \
|
||||||
|
convertexamples/things-social/v1 \
|
||||||
convertexamples/things-study/unreleased \
|
convertexamples/things-study/unreleased \
|
||||||
|
convertexamples/things-study/v1 \
|
||||||
convertexamples/things-data/unreleased \
|
convertexamples/things-data/unreleased \
|
||||||
|
convertexamples/things-data/v1 \
|
||||||
convertexamples/things-resources/unreleased \
|
convertexamples/things-resources/unreleased \
|
||||||
|
convertexamples/things-resources/v1 \
|
||||||
convertexamples/things-rules/unreleased \
|
convertexamples/things-rules/unreleased \
|
||||||
|
convertexamples/things-rules/v1 \
|
||||||
convertexamples/things-files/unreleased \
|
convertexamples/things-files/unreleased \
|
||||||
|
convertexamples/things-files/v1 \
|
||||||
convertexamples/things-publications/unreleased \
|
convertexamples/things-publications/unreleased \
|
||||||
|
convertexamples/things-publications/v1 \
|
||||||
convertexamples/flat/unreleased \
|
convertexamples/flat/unreleased \
|
||||||
convertexamples/flat-prov/unreleased \
|
convertexamples/flat-prov/unreleased \
|
||||||
convertexamples/flat-publications/unreleased \
|
convertexamples/flat-publications/unreleased \
|
||||||
|
|
|
||||||
|
|
@ -24,22 +24,17 @@ The sources for all schemas are on [GitHub](https://github.com/psychoinformatics
|
||||||
|
|
||||||
### Latest releases
|
### Latest releases
|
||||||
|
|
||||||
- [Things (v1)](s/things/v1/index.md): foundational schema to describe any "thing"
|
- [Things (v2)](s/things/v2/index.md): foundational schema to describe any "thing"
|
||||||
|
- [Things properties add-on (v1)](s/things-properties/v1/index.md)
|
||||||
### Development
|
- [Things data add-on (v1)](s/things-data/v1/index.md)
|
||||||
|
- [Things study add-on (v1)](s/things-study/v1/index.md)
|
||||||
ALL CONTENT HERE IS UNRELEASED AND MAY CHANGE ANY TIME
|
- [Things resources add-on (v1)](s/things-resources/v1/index.md)
|
||||||
|
- [Things rules add-on (v1)](s/things-rules/v1/index.md)
|
||||||
- [Things properties schema](s/things-properties/unreleased/index.md)
|
- [Things distributions add-on (v1)](s/things-distributions/v1/index.md)
|
||||||
- [Things data schema](s/things-data/unreleased/index.md)
|
- [Things social add-on (v1)](s/things-social/v1/index.md)
|
||||||
- [Things study schema](s/things-study/unreleased/index.md)
|
- [Things files add-on (v1)](s/things-files/v1/index.md)
|
||||||
- [Things resources schema](s/things-resources/unreleased/index.md)
|
- [Things publications add-on (v1)](s/things-publications/v1/index.md)
|
||||||
- [Things rules schema](s/things-rules/unreleased/index.md)
|
- [Things provenance add-on (v1)](s/things-prov/v1/index.md)
|
||||||
- [Things distributions schema](s/things-distributions/unreleased/index.md)
|
|
||||||
- [Things social schema](s/things-social/unreleased/index.md)
|
|
||||||
- [Things files schema](s/things-files/unreleased/index.md)
|
|
||||||
- [Things publications schema](s/things-publications/unreleased/index.md)
|
|
||||||
- [Things provenance schema](s/things-prov/unreleased/index.md)
|
|
||||||
|
|
||||||
### Previous versions
|
### Previous versions
|
||||||
|
|
||||||
|
|
|
||||||
44
mkdocs.yml
44
mkdocs.yml
|
|
@ -5,17 +5,17 @@ nav:
|
||||||
- About: about.md
|
- About: about.md
|
||||||
- Schemas:
|
- Schemas:
|
||||||
- Foundational:
|
- Foundational:
|
||||||
- Things: s/things/v1/index.md
|
- Things: s/things/v2/index.md
|
||||||
- Things data: s/things-data/unreleased/index.md
|
- Things data: s/things-data/v1/index.md
|
||||||
- Things distributions: s/things-distributions/unreleased/index.md
|
- Things distributions: s/things-distributions/v1/index.md
|
||||||
- Things files: s/things-files/unreleased/index.md
|
- Things files: s/things-files/v1/index.md
|
||||||
- Things resources: s/things-resources/unreleased/index.md
|
- Things resources: s/things-resources/v1/index.md
|
||||||
- Things rules: s/things-rules/unreleased/index.md
|
- Things rules: s/things-rules/v1/index.md
|
||||||
- Things social: s/things-social/unreleased/index.md
|
- Things social: s/things-social/v1/index.md
|
||||||
- Things study: s/things-study/unreleased/index.md
|
- Things study: s/things-study/v1/index.md
|
||||||
- Things properties: s/things-properties/unreleased/index.md
|
- Things properties: s/things-properties/v1/index.md
|
||||||
- Things provenance: s/things-prov/unreleased/index.md
|
- Things provenance: s/things-prov/v1/index.md
|
||||||
- Things publications: s/things-publications/unreleased/index.md
|
- Things publications: s/things-publications/v1/index.md
|
||||||
- Demonstrator:
|
- Demonstrator:
|
||||||
- Research information: s/demo-research-information/unreleased/index.md
|
- Research information: s/demo-research-information/unreleased/index.md
|
||||||
- Dump-things storage: dump-things-storage-v0.md
|
- Dump-things storage: dump-things-storage-v0.md
|
||||||
|
|
@ -28,17 +28,17 @@ plugins:
|
||||||
redirect_maps:
|
redirect_maps:
|
||||||
# map unversioned URLs to the latest version
|
# map unversioned URLs to the latest version
|
||||||
'dump-things-storage.md': 'dump-things-storage-v0.md'
|
'dump-things-storage.md': 'dump-things-storage-v0.md'
|
||||||
's/things/index.md': 's/things/v1/index.md'
|
's/things/index.md': 's/things/v2/index.md'
|
||||||
's/things-properties/index.md': 's/things-properties/unreleased/index.md'
|
's/things-properties/index.md': 's/things-properties/v1/index.md'
|
||||||
's/things-data/index.md': 's/things-data/unreleased/index.md'
|
's/things-data/index.md': 's/things-data/v1/index.md'
|
||||||
's/things-study/index.md': 's/things-study/unreleased/index.md'
|
's/things-study/index.md': 's/things-study/v1/index.md'
|
||||||
's/things-resources/index.md': 's/things-resources/unreleased/index.md'
|
's/things-resources/index.md': 's/things-resources/v1/index.md'
|
||||||
's/things-rules/index.md': 's/things-rules/unreleased/index.md'
|
's/things-rules/index.md': 's/things-rules/v1/index.md'
|
||||||
's/things-distributions/index.md': 's/things-distributions/unreleased/index.md'
|
's/things-distributions/index.md': 's/things-distributions/v1/index.md'
|
||||||
's/things-social/index.md': 's/things-social/unreleased/index.md'
|
's/things-social/index.md': 's/things-social/v1/index.md'
|
||||||
's/things-files/index.md': 's/things-files/unreleased/index.md'
|
's/things-files/index.md': 's/things-files/v1/index.md'
|
||||||
's/things-publications/index.md': 's/things-publications/unreleased/index.md'
|
's/things-publications/index.md': 's/things-publications/v1/index.md'
|
||||||
's/things-prov/index.md': 's/things-prov/unreleased/index.md'
|
's/things-prov/index.md': 's/things-prov/v1/index.md'
|
||||||
's/types/index.md': 's/types/v1/index.md'
|
's/types/index.md': 's/types/v1/index.md'
|
||||||
's/identifiers/index.md': 's/identifiers/unreleased/index.md'
|
's/identifiers/index.md': 's/identifiers/unreleased/index.md'
|
||||||
's/temporal-mixin/index.md': 's/temporal-mixin/unreleased/index.md'
|
's/temporal-mixin/index.md': 's/temporal-mixin/unreleased/index.md'
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ prefixes:
|
||||||
# TODO preliminary definition, pointing to a future resolver
|
# TODO preliminary definition, pointing to a future resolver
|
||||||
dldi: https://pid.datalad.org/distributions/
|
dldi: https://pid.datalad.org/distributions/
|
||||||
dlschemas: https://concepts.datalad.org/s/
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
dlthings: https://concepts.datalad.org/s/things/unreleased/
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
dlvocab: https://concepts.datalad.org/vocab/
|
dlvocab: https://concepts.datalad.org/vocab/
|
||||||
doi: https://doi.org/
|
doi: https://doi.org/
|
||||||
eunal: http://publications.europa.eu/resource/authority/
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
|
@ -109,14 +109,14 @@ emit_prefixes:
|
||||||
- xyzrins
|
- xyzrins
|
||||||
|
|
||||||
imports:
|
imports:
|
||||||
- dlschemas:things-data/unreleased
|
- dlschemas:things-data/v1
|
||||||
- dlschemas:things-files/unreleased
|
- dlschemas:things-files/v1
|
||||||
- dlschemas:things-publications/unreleased
|
- dlschemas:things-publications/v1
|
||||||
- dlschemas:things-resources/unreleased
|
- dlschemas:things-resources/v1
|
||||||
- dlschemas:things-prov/unreleased
|
- dlschemas:things-prov/v1
|
||||||
- dlschemas:things-social/unreleased
|
- dlschemas:things-social/v1
|
||||||
- dlschemas:things-study/unreleased
|
- dlschemas:things-study/v1
|
||||||
- dlschemas:things-rules/unreleased
|
- dlschemas:things-rules/v1
|
||||||
|
|
||||||
slots:
|
slots:
|
||||||
application_deadline:
|
application_deadline:
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,11 @@ version: UNRELEASED
|
||||||
status: eunal:concept-status/DRAFT
|
status: eunal:concept-status/DRAFT
|
||||||
title: Concepts for hierarchical data representations for use with the things schema
|
title: Concepts for hierarchical data representations for use with the things schema
|
||||||
description: |
|
description: |
|
||||||
|
*This is an unreleased development version*
|
||||||
|
|
||||||
The schema defines conceptual models for datasets and individual data items
|
The schema defines conceptual models for datasets and individual data items
|
||||||
to describe their nature and relationships across formats and linked with
|
to describe their nature and relationships across formats and linked with
|
||||||
their serializationa (see `things-distribution` and `things-files`)
|
their serializationa (see `things-distributions` and `things-files`).
|
||||||
|
|
||||||
More information may be available on the schema's [about page](about).
|
More information may be available on the schema's [about page](about).
|
||||||
|
|
||||||
|
|
|
||||||
95
src/things-data/v1.yaml
Normal file
95
src/things-data/v1.yaml
Normal file
|
|
@ -0,0 +1,95 @@
|
||||||
|
id: https://concepts.datalad.org/s/things-data/v1
|
||||||
|
name: things-data-schema
|
||||||
|
version: 1.0.0
|
||||||
|
status: eunal:concept-status/DRAFT
|
||||||
|
title: Concepts for hierarchical data representations for use with the things schema
|
||||||
|
description: |
|
||||||
|
The schema defines conceptual models for datasets and individual data items
|
||||||
|
to describe their nature and relationships across formats and linked with
|
||||||
|
their serializationa (see `things-distributions` and `things-files`).
|
||||||
|
|
||||||
|
More information may be available on the schema's [about page](about).
|
||||||
|
|
||||||
|
The schema definition is available as
|
||||||
|
|
||||||
|
- [JSON-LD context](../v1.context.jsonld)
|
||||||
|
- [LinkML YAML](../v1.yaml)
|
||||||
|
- [LinkML YAML (static/resolved)](../v1.static.yaml)
|
||||||
|
- [OWL TTL](../v1.owl.ttl)
|
||||||
|
- [SHACL TTL](../v1.shacl.ttl)
|
||||||
|
|
||||||
|
Upcoming changes to this schema may be available in an [(unreleased)
|
||||||
|
development version](../../things-data/unreleased).
|
||||||
|
|
||||||
|
comments:
|
||||||
|
- ALL CONTENT HERE IS UNRELEASED AND MAY CHANGE ANY TIME
|
||||||
|
|
||||||
|
license: CC-BY-4.0
|
||||||
|
|
||||||
|
prefixes:
|
||||||
|
dcterms: http://purl.org/dc/terms/
|
||||||
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
|
linkml: https://w3id.org/linkml/
|
||||||
|
obo: http://purl.obolibrary.org/obo/
|
||||||
|
owl: http://www.w3.org/2002/07/owl#
|
||||||
|
prov: http://www.w3.org/ns/prov#
|
||||||
|
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
|
||||||
|
rdfs: http://www.w3.org/2000/01/rdf-schema#
|
||||||
|
sh: http://www.w3.org/ns/shacl#
|
||||||
|
skos: http://www.w3.org/2004/02/skos/core#
|
||||||
|
xsd: http://www.w3.org/2001/XMLSchema#
|
||||||
|
|
||||||
|
default_prefix: dlthings
|
||||||
|
|
||||||
|
emit_prefixes:
|
||||||
|
- dlthings
|
||||||
|
- rdf
|
||||||
|
- rdfs
|
||||||
|
- skos
|
||||||
|
- xsd
|
||||||
|
|
||||||
|
imports:
|
||||||
|
- dlschemas:things-properties/v1
|
||||||
|
|
||||||
|
classes:
|
||||||
|
DataItem:
|
||||||
|
is_a: Thing
|
||||||
|
mixins:
|
||||||
|
- ValueSpecificationMixin
|
||||||
|
description: >-
|
||||||
|
An information content entity that is intended to be a truthful statement
|
||||||
|
about something (modulo, e.g., measurement precision or other systematic
|
||||||
|
errors) and is constructed/acquired by a method which reliably tends to
|
||||||
|
produce (approximately) truthful statements.
|
||||||
|
|
||||||
|
This is a conceptual entity. A single data item might be available in
|
||||||
|
more than one representation, with differing formats, and serializations.
|
||||||
|
slots:
|
||||||
|
- part_of
|
||||||
|
slot_usage:
|
||||||
|
part_of:
|
||||||
|
range: Dataset
|
||||||
|
multivalued: true
|
||||||
|
exact_mappings:
|
||||||
|
- obo:IAO_0000027
|
||||||
|
|
||||||
|
Dataset:
|
||||||
|
is_a: Thing
|
||||||
|
description: >-
|
||||||
|
A collection of data (data items), published or curated by a single
|
||||||
|
agent. This is a conceptual entity. A single dataset might be available
|
||||||
|
in more than one representation, with differing schematic layouts,
|
||||||
|
formats, and serializations.
|
||||||
|
slots:
|
||||||
|
- title
|
||||||
|
- short_name
|
||||||
|
- part_of
|
||||||
|
slot_usage:
|
||||||
|
part_of:
|
||||||
|
range: Dataset
|
||||||
|
multivalued: true
|
||||||
|
exact_mappings:
|
||||||
|
- dcat:Dataset
|
||||||
12
src/things-data/v1/examples/DataItem-02-attributes.json
Normal file
12
src/things-data/v1/examples/DataItem-02-attributes.json
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"pid": "https://example.org/wind-strength-on-20250815",
|
||||||
|
"kind": "http://purl.obolibrary.org/obo/ENVO_01001362",
|
||||||
|
"schema_type": "dlthings:DataItem",
|
||||||
|
"part_of": [
|
||||||
|
"https://example.org/dataset/windy"
|
||||||
|
],
|
||||||
|
"defined_by": "http://semanticscience.org/resource/SIO_001215",
|
||||||
|
"unit": "obo:UO_0000094",
|
||||||
|
"value": "22",
|
||||||
|
"@type": "DataItem"
|
||||||
|
}
|
||||||
11
src/things-data/v1/examples/DataItem-02-attributes.yaml
Normal file
11
src/things-data/v1/examples/DataItem-02-attributes.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
pid: https://example.org/wind-strength-on-20250815
|
||||||
|
# atmospheric wind speed
|
||||||
|
kind: http://purl.obolibrary.org/obo/ENVO_01001362
|
||||||
|
value: "22"
|
||||||
|
# m/s
|
||||||
|
unit: obo:UO_0000094
|
||||||
|
# severe -> beaufort scale 9
|
||||||
|
defined_by: http://semanticscience.org/resource/SIO_001215
|
||||||
|
# containing dataset
|
||||||
|
part_of:
|
||||||
|
- https://example.org/dataset/windy
|
||||||
0
src/things-data/v1/extra-docs/about.md
Normal file
0
src/things-data/v1/extra-docs/about.md
Normal file
9
src/things-data/v1/validation/DataItem.valid.cfg.yaml
Normal file
9
src/things-data/v1/validation/DataItem.valid.cfg.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
schema: src/things-data/v1.yaml
|
||||||
|
target_class: DataItem
|
||||||
|
data_sources:
|
||||||
|
- src/things-data/v1/examples/DataItem-02-attributes.yaml
|
||||||
|
plugins:
|
||||||
|
JsonschemaValidationPlugin:
|
||||||
|
closed: true
|
||||||
|
include_range_class_descendants: false
|
||||||
|
RecommendedSlotsPlugin:
|
||||||
|
|
@ -4,6 +4,8 @@ version: UNRELEASED
|
||||||
status: eunal:concept-status/DRAFT
|
status: eunal:concept-status/DRAFT
|
||||||
title: Concept related to distributions for use with the things schema
|
title: Concept related to distributions for use with the things schema
|
||||||
description: |
|
description: |
|
||||||
|
*This is an unreleased development version*
|
||||||
|
|
||||||
Distributions are (physical) manifestations of conceptual entities.
|
Distributions are (physical) manifestations of conceptual entities.
|
||||||
An example is a physical book (a distribution) that contains a particular
|
An example is a physical book (a distribution) that contains a particular
|
||||||
story (conceptual entity).
|
story (conceptual entity).
|
||||||
|
|
|
||||||
93
src/things-distributions/v1.yaml
Normal file
93
src/things-distributions/v1.yaml
Normal file
|
|
@ -0,0 +1,93 @@
|
||||||
|
id: https://concepts.datalad.org/s/things-distributions/v1
|
||||||
|
name: things-distributions-schema
|
||||||
|
version: 1.0.0
|
||||||
|
status: eunal:concept-status/DRAFT
|
||||||
|
title: Concept related to distributions for use with the things schema
|
||||||
|
description: |
|
||||||
|
Distributions are (physical) manifestations of conceptual entities.
|
||||||
|
An example is a physical book (a distribution) that contains a particular
|
||||||
|
story (conceptual entity).
|
||||||
|
|
||||||
|
More information may be available on the schema's [about page](about).
|
||||||
|
|
||||||
|
The schema definition is available as
|
||||||
|
|
||||||
|
- [JSON-LD context](../v1.context.jsonld)
|
||||||
|
- [LinkML YAML](../v1.yaml)
|
||||||
|
- [LinkML YAML (static/resolved)](../v1.static.yaml)
|
||||||
|
- [OWL TTL](../v1.owl.ttl)
|
||||||
|
- [SHACL TTL](../v1.shacl.ttl)
|
||||||
|
|
||||||
|
Upcoming changes to this schema may be available in an [(unreleased)
|
||||||
|
development version](../../things-distributions/unreleased).
|
||||||
|
|
||||||
|
comments:
|
||||||
|
- ALL CONTENT HERE IS UNRELEASED AND MAY CHANGE ANY TIME
|
||||||
|
|
||||||
|
license: CC-BY-4.0
|
||||||
|
|
||||||
|
prefixes:
|
||||||
|
dash: http://datashapes.org/dash#
|
||||||
|
dcat: http://www.w3.org/ns/dcat#
|
||||||
|
dcterms: http://purl.org/dc/terms/
|
||||||
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
fabio: http://purl.org/spar/fabio/
|
||||||
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
|
linkml: https://w3id.org/linkml/
|
||||||
|
obo: http://purl.obolibrary.org/obo/
|
||||||
|
owl: http://www.w3.org/2002/07/owl#
|
||||||
|
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
|
||||||
|
rdfs: http://www.w3.org/2000/01/rdf-schema#
|
||||||
|
skos: http://www.w3.org/2004/02/skos/core#
|
||||||
|
spdx: http://spdx.org/rdf/terms#
|
||||||
|
xsd: http://www.w3.org/2001/XMLSchema#
|
||||||
|
|
||||||
|
default_prefix: dlthings
|
||||||
|
|
||||||
|
emit_prefixes:
|
||||||
|
- dlthings
|
||||||
|
- rdf
|
||||||
|
- rdfs
|
||||||
|
- skos
|
||||||
|
- xsd
|
||||||
|
|
||||||
|
imports:
|
||||||
|
- dlschemas:things-properties/v1
|
||||||
|
|
||||||
|
slots:
|
||||||
|
distributions:
|
||||||
|
title: Distributions
|
||||||
|
description: >-
|
||||||
|
Available distributions of an entity.
|
||||||
|
domain: Thing
|
||||||
|
range: Distribution
|
||||||
|
multivalued: true
|
||||||
|
exact_mappings:
|
||||||
|
- dcat:distribution
|
||||||
|
broad_mappings:
|
||||||
|
- sio:SIO_000341
|
||||||
|
inverse: distribution_of
|
||||||
|
|
||||||
|
distribution_of:
|
||||||
|
description: >-
|
||||||
|
The resource that the subject is a distribution of.
|
||||||
|
domain: Distribution
|
||||||
|
range: Thing
|
||||||
|
broad_mappings:
|
||||||
|
- sio:SIO_000426
|
||||||
|
inverse: distributions
|
||||||
|
|
||||||
|
classes:
|
||||||
|
Distribution:
|
||||||
|
is_a: Thing
|
||||||
|
description: >-
|
||||||
|
A specific (physical) manifestation conceptual entity.
|
||||||
|
slots:
|
||||||
|
- distribution_of
|
||||||
|
slot_usage:
|
||||||
|
distribution_of:
|
||||||
|
multivalued: true
|
||||||
|
exact_mappings:
|
||||||
|
- dcat:Distribution
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"pid": "ex:mybook",
|
||||||
|
"schema_type": "dlthings:Distribution",
|
||||||
|
"distribution_of": [
|
||||||
|
"ex:mywritings"
|
||||||
|
],
|
||||||
|
"@type": "Distribution"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
pid: ex:mybook
|
||||||
|
distribution_of:
|
||||||
|
- ex:mywritings
|
||||||
0
src/things-distributions/v1/extra-docs/about.md
Normal file
0
src/things-distributions/v1/extra-docs/about.md
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
schema: src/things-distributions/v1.yaml
|
||||||
|
target_class: Distribution
|
||||||
|
data_sources:
|
||||||
|
- src/things-distributions/v1/examples/Distribution-02-attributes.yaml
|
||||||
|
plugins:
|
||||||
|
JsonschemaValidationPlugin:
|
||||||
|
closed: true
|
||||||
|
include_range_class_descendants: false
|
||||||
|
RecommendedSlotsPlugin:
|
||||||
|
|
@ -4,6 +4,16 @@ version: UNRELEASED
|
||||||
status: eunal:concept-status/DRAFT
|
status: eunal:concept-status/DRAFT
|
||||||
title: Concept related to files for use with the things schema
|
title: Concept related to files for use with the things schema
|
||||||
description: |
|
description: |
|
||||||
|
*This is an unreleased development version*
|
||||||
|
|
||||||
|
Files are modeled as a special case of a `Distribution`, a manifestation
|
||||||
|
of some information in the form of a concrete electronic file. Files
|
||||||
|
have a certain formation, size in bytes, and checksum. They do not, however,
|
||||||
|
have a particular file name. The filename is considered contextual
|
||||||
|
information, captured an entity containing a file (such as an archive,
|
||||||
|
or a directory). With this approach, one and the same `File` object
|
||||||
|
can be reused by multiple "containers" without duplication.
|
||||||
|
|
||||||
More information may be available on the schema's [about page](about).
|
More information may be available on the schema's [about page](about).
|
||||||
|
|
||||||
The schema definition is available as
|
The schema definition is available as
|
||||||
|
|
|
||||||
183
src/things-files/v1.yaml
Normal file
183
src/things-files/v1.yaml
Normal file
|
|
@ -0,0 +1,183 @@
|
||||||
|
id: https://concepts.datalad.org/s/things-files/v1
|
||||||
|
name: things-files-schema
|
||||||
|
version: 1.0.0
|
||||||
|
status: eunal:concept-status/DRAFT
|
||||||
|
title: Concept related to files for use with the things schema
|
||||||
|
description: |
|
||||||
|
Files are modeled as a special case of a `Distribution`, a manifestation
|
||||||
|
of some information in the form of a concrete electronic file. Files
|
||||||
|
have a certain formation, size in bytes, and checksum. They do not, however,
|
||||||
|
have a particular file name. The filename is considered contextual
|
||||||
|
information, captured an entity containing a file (such as an archive,
|
||||||
|
or a directory). With this approach, one and the same `File` object
|
||||||
|
can be reused by multiple "containers" without duplication.
|
||||||
|
|
||||||
|
More information may be available on the schema's [about page](about).
|
||||||
|
|
||||||
|
The schema definition is available as
|
||||||
|
|
||||||
|
- [JSON-LD context](../v1.context.jsonld)
|
||||||
|
- [LinkML YAML](../v1.yaml)
|
||||||
|
- [LinkML YAML (static/resolved)](../v1.static.yaml)
|
||||||
|
- [OWL TTL](../v1.owl.ttl)
|
||||||
|
- [SHACL TTL](../v1.shacl.ttl)
|
||||||
|
|
||||||
|
Upcoming changes to this schema may be available in an [(unreleased)
|
||||||
|
development version](../../things-files/unreleased).
|
||||||
|
|
||||||
|
comments:
|
||||||
|
- ALL CONTENT HERE IS UNRELEASED AND MAY CHANGE ANY TIME
|
||||||
|
|
||||||
|
license: CC-BY-4.0
|
||||||
|
|
||||||
|
prefixes:
|
||||||
|
dash: http://datashapes.org/dash#
|
||||||
|
dcat: http://www.w3.org/ns/dcat#
|
||||||
|
dcterms: http://purl.org/dc/terms/
|
||||||
|
dlschemas: https://concepts.datalad.org/s/
|
||||||
|
dlthings: https://concepts.datalad.org/s/things/v2/
|
||||||
|
eunal: http://publications.europa.eu/resource/authority/
|
||||||
|
fabio: http://purl.org/spar/fabio/
|
||||||
|
foaf: http://xmlns.com/foaf/0.1/
|
||||||
|
linkml: https://w3id.org/linkml/
|
||||||
|
obo: http://purl.obolibrary.org/obo/
|
||||||
|
owl: http://www.w3.org/2002/07/owl#
|
||||||
|
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
|
||||||
|
rdfs: http://www.w3.org/2000/01/rdf-schema#
|
||||||
|
skos: http://www.w3.org/2004/02/skos/core#
|
||||||
|
spdx: http://spdx.org/rdf/terms#
|
||||||
|
xsd: http://www.w3.org/2001/XMLSchema#
|
||||||
|
|
||||||
|
default_prefix: dlthings
|
||||||
|
|
||||||
|
emit_prefixes:
|
||||||
|
- dlthings
|
||||||
|
- rdf
|
||||||
|
- rdfs
|
||||||
|
- skos
|
||||||
|
- xsd
|
||||||
|
|
||||||
|
imports:
|
||||||
|
- dlschemas:things-distributions/v1
|
||||||
|
|
||||||
|
slots:
|
||||||
|
byte_size:
|
||||||
|
description: >-
|
||||||
|
The size of the subject in bytes.
|
||||||
|
range: NonNegativeInteger
|
||||||
|
exact_mappings:
|
||||||
|
- dcat:byteSize
|
||||||
|
|
||||||
|
checksums:
|
||||||
|
description: >-
|
||||||
|
The checksum property provides a mechanism that can be used to verify
|
||||||
|
that the contents of a file or package have not changed.
|
||||||
|
range: Checksum
|
||||||
|
multivalued: true
|
||||||
|
inlined: true
|
||||||
|
inlined_as_list: true
|
||||||
|
exact_mappings:
|
||||||
|
- spdx:checksum
|
||||||
|
|
||||||
|
format:
|
||||||
|
description: >-
|
||||||
|
The file format of a distribution.
|
||||||
|
range: Thing
|
||||||
|
exact_mappings:
|
||||||
|
- dcterms:format
|
||||||
|
notes:
|
||||||
|
- When type of the distribution is defined by IANA, `media_type` should be used.
|
||||||
|
|
||||||
|
media_type:
|
||||||
|
description: >-
|
||||||
|
The media type of a distribution as defined by IANA
|
||||||
|
range: string
|
||||||
|
examples:
|
||||||
|
- value: text/csv
|
||||||
|
see_also:
|
||||||
|
- https://www.iana.org/assignments/media-types
|
||||||
|
exact_mappings:
|
||||||
|
- dcat:mediaType
|
||||||
|
|
||||||
|
classes:
|
||||||
|
Checksum:
|
||||||
|
is_a: Identifier
|
||||||
|
description: >-
|
||||||
|
A Checksum is a value that allows to check the integrity of the contents
|
||||||
|
of a file. Even small changes to the content of the file will change its
|
||||||
|
checksum. This class allows the results of a variety of checksum and
|
||||||
|
cryptographic message digest algorithms to be represented.
|
||||||
|
exact_mappings:
|
||||||
|
- spdx:Checksum
|
||||||
|
slot_usage:
|
||||||
|
creator:
|
||||||
|
description: >-
|
||||||
|
Identifies the software agent (algorithm) used to produce the subject
|
||||||
|
`Checksum`.
|
||||||
|
required: true
|
||||||
|
exact_mappings:
|
||||||
|
- spdx:algorithm
|
||||||
|
notation:
|
||||||
|
description: >-
|
||||||
|
Lower case hexadecimal encoded checksum digest value.
|
||||||
|
range: HexBinary
|
||||||
|
required: true
|
||||||
|
exact_mappings:
|
||||||
|
- spdx:checksumValue
|
||||||
|
|
||||||
|
File:
|
||||||
|
is_a: Distribution
|
||||||
|
description: >-
|
||||||
|
A specific representation of a data item in the form of
|
||||||
|
an electronic file. The concept of a file here is aligned
|
||||||
|
with the broad UNIX philoshopy of "everything is a file".
|
||||||
|
An archive, a disk image, a directory are all valid instances
|
||||||
|
of a file.
|
||||||
|
slots:
|
||||||
|
- byte_size
|
||||||
|
- checksums
|
||||||
|
- format
|
||||||
|
- media_type
|
||||||
|
- parts
|
||||||
|
- part_of
|
||||||
|
slot_usage:
|
||||||
|
distribution_of:
|
||||||
|
multivalued: true
|
||||||
|
parts:
|
||||||
|
range: NamedFilePart
|
||||||
|
inlined: true
|
||||||
|
part_of:
|
||||||
|
range: File
|
||||||
|
multivalued: true
|
||||||
|
comments:
|
||||||
|
- There is no `name` property or similar, because the focus is on the
|
||||||
|
identity of the distribution content, not how it might be named
|
||||||
|
in a particular context. For example, an image in JPEG format
|
||||||
|
might be names "20250825_102385.jpg" on a camera and
|
||||||
|
"me_at_the_party.jpg" elsewhere, but it would be the exact same
|
||||||
|
image. Expressing naming in some context should be done within
|
||||||
|
the scope of the containing entity (see `named_parts`).
|
||||||
|
broad_mappings:
|
||||||
|
- fabio:DigitalManifestation
|
||||||
|
|
||||||
|
NamedFilePart:
|
||||||
|
description: >-
|
||||||
|
An association class for attaching a `locator` as additional information to a
|
||||||
|
`hasPart` relationship between two files.
|
||||||
|
slots:
|
||||||
|
- locator
|
||||||
|
- roles
|
||||||
|
- object
|
||||||
|
slot_usage:
|
||||||
|
locator:
|
||||||
|
description: A relative path in POSIX notation.
|
||||||
|
key: true
|
||||||
|
# ensure no leading slash
|
||||||
|
pattern: '^[^/]+.*$'
|
||||||
|
object:
|
||||||
|
# this must be required, if we want to support key-based
|
||||||
|
# access to the named distribution parts. this also
|
||||||
|
# implies that we cannot support listings without content
|
||||||
|
# identifiers
|
||||||
|
required: true
|
||||||
|
range: File
|
||||||
6
src/things-files/v1/examples/Checksum-01-minimal.json
Normal file
6
src/things-files/v1/examples/Checksum-01-minimal.json
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"notation": "be32eeadb443c00c3e6ca43f2295e2ee",
|
||||||
|
"creator": "spdx:checksumAlgorithm_md5",
|
||||||
|
"schema_type": "dlthings:Checksum",
|
||||||
|
"@type": "Checksum"
|
||||||
|
}
|
||||||
2
src/things-files/v1/examples/Checksum-01-minimal.yaml
Normal file
2
src/things-files/v1/examples/Checksum-01-minimal.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
creator: spdx:checksumAlgorithm_md5
|
||||||
|
notation: be32eeadb443c00c3e6ca43f2295e2ee
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue