Skip to content

compression-enum #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion linkml_model/model/schema/datasets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ see_also:

prefixes:
linkml: https://w3id.org/linkml/
datasets: https://w3id.org/linkml/report
datasets: https://w3id.org/linkml/datasets/
skos: http://www.w3.org/2004/02/skos/core#
pav: http://purl.org/pav/
schema: http://schema.org/
Expand All @@ -21,6 +21,9 @@ prefixes:
csvw: http://www.w3.org/ns/csvw#
dcat: http://www.w3.org/ns/dcat#
mediatypes: https://www.iana.org/assignments/media-types/
comp: http://semweb.mmlab.be/ns/rml-compression#
rmlt: http://semweb.mmlab.be/ns/rml-target#
rfc: https://www.rfc-editor.org/rfc/
oslc: http://open-services.net/ns/core#
bibo: http://purl.org/ontology/bibo/

Expand Down Expand Up @@ -174,8 +177,11 @@ slots:
format:
range: FormatEnum
slot_uri: dcterms:format
exact_mappings:
- rmlt:serialization

compression:
slot_uri: rmlt:compression

encoding:
hash:
Expand Down Expand Up @@ -355,3 +361,23 @@ enums:
meaning: formats:TriG
YAML:
JSON:
meaning: rfc:rfc7159

CompressionEnum:
exact_mappings:
- comp:Compression
permissible_values:
gzip:
meaning: comp:gzip
description: Represents GZip file compression.
zip:
meaning: comp:zip
description: Represents Zip file compression.
targzip:
meaning: comp:targzip
description: Represents TarGZip file compression.
tarxz:
meaning: comp:tarxz
description: Represents TarXz file compression.