Skip to content

Commit

Permalink
Merge pull request #196 from psychoinformatics-de/towards-v1
Browse files Browse the repository at this point in the history
Normalize prefix definitions
  • Loading branch information
mih authored Dec 16, 2024
2 parents f700751 + c099b9b commit 1f8ab10
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 29 deletions.
3 changes: 2 additions & 1 deletion src/datalad-dataset/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ prefixes:
dcterms: http://purl.org/dc/terms/
dctypes: http://purl.org/dc/dcmitype/
dlco: https://concepts.datalad.org/
dldist: https://concepts.datalad.org/s/distribution/unreleased/
dlschemas: https://concepts.datalad.org/s/
dldist: https://concepts/datalad.org/s/distribution/unreleased/
dpv: https://w3id.org/dpv#
foaf: http://xmlns.com/foaf/0.1/
gitsha: https://concepts.datalad.org/ns/gitsha/
Expand Down
7 changes: 4 additions & 3 deletions src/distribution/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ prefixes:
dcterms: http://purl.org/dc/terms/
dctypes: http://purl.org/dc/dcmitype/
dlco: https://concepts.datalad.org/
dldist: https://concepts.datalad.org/s/distribution/unreleased/
dlprov: https://concepts.datalad.org/s/prov/unreleased/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dlschemas: https://concepts.datalad.org/s/
dldist: https://concepts/datalad.org/s/distribution/unreleased/
dlprov: https://concepts/datalad.org/s/prov/unreleased/
dlthing: https://concepts/datalad.org/s/thing/unreleased/
dpv: https://w3id.org/dpv#
foaf: http://xmlns.com/foaf/0.1/
# custom prefix to use Git's SHA identifiers as schema identifiers
Expand Down
4 changes: 3 additions & 1 deletion src/identifiers/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ prefixes:
ADMS: http://www.w3.org/ns/adms#
bibo: http://purl.org/ontology/bibo/
dcterms: http://purl.org/dc/terms/
dlidentifiers: https://concepts.datalad.org/s/identifiers/unreleased/
dlco: https://concepts.datalad.org/
dlschemas: https://concepts.datalad.org/s/
dlidentifiers: https://concepts/datalad.org/s/identifiers/unreleased/
linkml: https://w3id.org/linkml/
skos: http://www.w3.org/2004/02/skos/core#

Expand Down
4 changes: 3 additions & 1 deletion src/properties/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ license: MIT
prefixes:
bibo: http://purl.org/ontology/bibo/
dcterms: http://purl.org/dc/terms/
dlprops: https://concepts.datalad.org/s/properties/unreleased/
dlco: https://concepts.datalad.org
dlschemas: https://concepts.datalad.org/s/
dlprops: https://concepts/datalad.org/s/properties/unreleased/
foaf: http://xmlns.com/foaf/0.1/
linkml: https://w3id.org/linkml/
obo: http://purl.obolibrary.org/obo/
Expand Down
13 changes: 9 additions & 4 deletions src/prov/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,22 @@ license: MIT

prefixes:
bibo: http://purl.org/ontology/bibo/
dlprov: https://concepts.datalad.org/s/prov/unreleased/
dlidentifiers: https://concepts.datalad.org/s/identifiers/unreleased/
dlroles: https://concepts.datalad.org/s/roles/unreleased/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dlco: https://concepts.datalad.org/
dlschemas: https://concepts.datalad.org/s/
dlprov: https://concepts/datalad.org/s/prov/unreleased/
dlidentifiers: https://concepts/datalad.org/s/identifiers/unreleased/
dlroles: https://concepts/datalad.org/s/roles/unreleased/
dlthing: https://concepts/datalad.org/s/thing/unreleased/
foaf: http://xmlns.com/foaf/0.1/
linkml: https://w3id.org/linkml/
obo: http://purl.obolibrary.org/obo/
prov: http://www.w3.org/ns/prov#
# declare a namespace for emails, such that they can be defined as a curie
# e.g.: email:[email protected]
# -> https://concepts.datalad.org/ns/email/[email protected]
email: https://concepts.datalad.org/ns/email/
# disambiguate a GEO URI from a curie prefix
geo: "geo:"

default_prefix: dlprov

Expand Down
7 changes: 4 additions & 3 deletions src/roles/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ prefixes:
bibo: http://purl.org/ontology/bibo/
dcat: http://www.w3.org/ns/dcat#
dcterms: http://purl.org/dc/terms/
dlroles: https://concepts.datalad.org/s/roles/unreleased/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dlco: https://concepts.datalad.org/
dlschemas: https://concepts.datalad.org/s/
dlroles: https://concepts/datalad.org/s/roles/unreleased/
linkml: https://w3id.org/linkml/
prov: http://www.w3.org/ns/prov#
marcrel: http://id.loc.gov/vocabulary/relators/
Expand All @@ -47,7 +48,7 @@ emit_prefixes:
- prov

imports:
- ../thing/unreleased
- dlschemas:thing/unreleased


slots:
Expand Down
15 changes: 8 additions & 7 deletions src/sdd/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ license: MIT

prefixes:
ADMS: http://www.w3.org/ns/adms#
annex-uuid: https://concepts.datalad.org/ns/annex-uuid/
annex-key: https://concepts.datalad.org/ns/annex-key/
annex-uuid: dlco:ns/annex-uuid/
annex-key: dlco:ns/annex-key/
bibo: http://purl.org/ontology/bibo/
CiTO: http://purl.org/spar/cito/
dcat: http://www.w3.org/ns/dcat#
datalad-ds: https://concepts.datalad.org/ns/dataset-uuid/
datalad-ds: dlco:ns/dataset-uuid/
dcterms: http://purl.org/dc/terms/
dlco: https://concepts.datalad.org/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dldist: https://concepts.datalad.org/s/distribution/unreleased/
dlprov: https://concepts.datalad.org/s/prov/unreleased/
dlsdd: https://concepts.datalad.org/s/sdd/unreleased/
dlschemas: https://concepts.datalad.org/s/
dlthing: https://concepts/datalad.org/s/thing/unreleased/
dldist: https://concepts/datalad.org/s/distribution/unreleased/
dlprov: https://concepts/datalad.org/s/prov/unreleased/
dlsdd: https://concepts/datalad.org/s/sdd/unreleased/
dex: https://example.org/ns/ex/terms/
dpv: https://w3id.org/dpv#
foaf: http://xmlns.com/foaf/0.1/
Expand Down
10 changes: 6 additions & 4 deletions src/spatial/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ license: MIT

prefixes:
bibo: http://purl.org/ontology/bibo/
dlspatial: https://concepts.datalad.org/s/agents/unreleased/
dlidentifiers: https://concepts.datalad.org/s/identifiers/unreleased/
dlroles: https://concepts.datalad.org/s/roles/unreleased/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dlco: https://concepts.datalad.org/
dlschemas: https://concepts.datalad.org/s/
dlspatial: https://concepts/datalad.org/s/agents/unreleased/
dlidentifiers: https://concepts/datalad.org/s/identifiers/unreleased/
dlroles: https://concepts/datalad.org/s/roles/unreleased/
dlthing: https://concepts/datalad.org/s/thing/unreleased/
linkml: https://w3id.org/linkml/
prov: http://www.w3.org/ns/prov#
# disambiguate a GEO URI from a curie prefix
Expand Down
10 changes: 6 additions & 4 deletions src/temporal/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ license: MIT

prefixes:
bibo: http://purl.org/ontology/bibo/
dltemporal: https://concepts.datalad.org/s/agents/unreleased/
dlidentifiers: https://concepts.datalad.org/s/identifiers/unreleased/
dlroles: https://concepts.datalad.org/s/roles/unreleased/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dlco: https://concepts.datalad.org/
dlschemas: https://concepts.datalad.org/s/
dltemporal: https://concepts/datalad.org/s/agents/unreleased/
dlidentifiers: https://concepts/datalad.org/s/identifiers/unreleased/
dlroles: https://concepts/datalad.org/s/roles/unreleased/
dlthing: https://concepts/datalad.org/s/thing/unreleased/
linkml: https://w3id.org/linkml/
prov: http://www.w3.org/ns/prov#

Expand Down
4 changes: 3 additions & 1 deletion src/thing/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ prefixes:
bibo: http://purl.org/ontology/bibo/
dcat: http://www.w3.org/ns/dcat#
dcterms: http://purl.org/dc/terms/
dlthing: https://concepts.datalad.org/s/thing/unreleased/
dlco: https://concepts.datalad.org/
dlschemas: https://concepts.datalad.org/s/
dlthing: https://concepts/datalad.org/s/thing/unreleased/
linkml: https://w3id.org/linkml/
obo: http://purl.obolibrary.org/obo/
owl: http://www.w3.org/2002/07/owl#
Expand Down

0 comments on commit 1f8ab10

Please sign in to comment.