Skip to content

Commit 4762fd7

Browse files
authored
Merge pull request #77 from nfdi-de/#63-rename-to-chem-dcat-ap
#63 rename dcat-4C-ap / dcat_4c_ap to chem-dcat-ap/chem_dcat_ap everywhere
2 parents 1d70357 + fd703c6 commit 4762fd7

57 files changed

Lines changed: 5425 additions & 18239 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.copier-answers.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ gh_action_docs_preview: true
99
gh_action_pypi: true
1010
github_org: StroemPhi
1111
license: MIT
12-
project_description: This is an extension of the DCAT Application Profile in LinkML.
13-
It is intended to be used by NFDI4Chem & NFDI4Cat as a core that can further be
14-
extended in profiles to provide domain specific metadata for a dataset.
15-
project_name: dcat-4C-ap
16-
project_slug: dcat_4c_ap
12+
project_description: This is an extension of the DCAT Application Profile in LinkML. It is intended to be used by NFDI4Chem & NFDI4Cat as a core that can further be extended in profiles to provide domain specific metadata for a dataset.
13+
project_name: chem-dcat-ap
14+
project_slug: chem_dcat_ap
1715

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ https://nfdi-de.github.io/chem-dcat-ap
2424
* [examples/](examples/) - example data and code
2525
* [project/](project/) - project files (do not edit these)
2626
* [src/](src/) - source files (edit these)
27-
* [dcat_4c_ap](src/dcat_4c_ap)
28-
* [schema](src/dcat_4c_ap/schema) -- LinkML schema
27+
* [chem_dcat_ap](src/chem_dcat_ap)
28+
* [schema](src/chem_dcat_ap/schema) -- LinkML schema
2929
(edit this)
30-
* [datamodel](src/dcat_4c_ap/datamodel) -- generated
30+
* [datamodel](src/chem_dcat_ap/datamodel) -- generated
3131
Python datamodel
3232
* [tests/](tests/) - Python tests
3333

@@ -77,52 +77,52 @@ Validate and test all: `just test`
7777
Validate a single example dataset using LinkML's validator framework:
7878
* Validate domain agnostic DCAT-AP extension conform example
7979
````commandline
80-
uv run linkml validate tests/data/valid/AnalysisDataset-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -C AnalysisDataset
80+
uv run linkml validate tests/data/valid/AnalysisDataset-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -C AnalysisDataset
8181
````
8282
* Validate a NMR spectroscopy-specific DCAT-AP extension conform example
8383
````commandline
84-
uv run linkml validate tests/data/valid/NMRAnalysisDataset-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -C NMRAnalysisDataset
84+
uv run linkml validate tests/data/valid/NMRAnalysisDataset-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -C NMRAnalysisDataset
8585
````
8686
* Validate a ChemicalReaction specific DCAT-AP extension conform example
8787
````commandline
88-
uv run linkml validate tests/data/valid/ChemicalReaction-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -C ChemicalReaction
88+
uv run linkml validate tests/data/valid/ChemicalReaction-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -C ChemicalReaction
8989
````
9090
* Validate a SubstanceSample specific DCAT-AP extension conform example
9191
````commandline
92-
uv run linkml validate tests/data/valid/SubstanceSample-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -C SubstanceSample
92+
uv run linkml validate tests/data/valid/SubstanceSample-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -C SubstanceSample
9393
````
9494
* Validate a MaterialSample specific DCAT-AP extension conform example
9595
````commandline
96-
uv run linkml validate tests/data/valid/MaterialSample-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -C MaterialSample
96+
uv run linkml validate tests/data/valid/MaterialSample-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -C MaterialSample
9797
````
9898
9999
To convert the test datasets of each DCAT-AP profile into a TTL graph run:
100100
* Convert domain agnostic DCAT-AP extension conform example of an analysis
101101
````commandline
102-
uv run linkml-convert -t ttl tests/data/valid/AnalysisDataset-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C AnalysisDataset
102+
uv run linkml-convert -t ttl tests/data/valid/AnalysisDataset-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C AnalysisDataset
103103
````
104104
* Convert a NMR spectroscopy-specific DCAT-AP extension conform example
105105
````commandline
106-
uv run linkml-convert -t ttl tests/data/valid/NMRAnalysisDataset-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C NMRAnalysisDataset
106+
uv run linkml-convert -t ttl tests/data/valid/NMRAnalysisDataset-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C NMRAnalysisDataset
107107
````
108108
* Convert domain agnostic DCAT-AP extension conform example of a MaterialSample
109109
````commandline
110-
uv run linkml-convert -t ttl tests/data/valid/MaterialSample-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C MaterialSample
110+
uv run linkml-convert -t ttl tests/data/valid/MaterialSample-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C MaterialSample
111111
````
112112
* Convert domain agnostic DCAT-AP extension conform example of a SubstanceSample
113113
````commandline
114-
uv run linkml-convert -t ttl tests/data/valid/SubstanceSample-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C SubstanceSample
114+
uv run linkml-convert -t ttl tests/data/valid/SubstanceSample-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C SubstanceSample
115115
````
116116
* Convert domain agnostic DCAT-AP extension conform example of a ChemicalReaction
117117
````commandline
118-
uv run linkml-convert -t ttl tests/data/valid/ChemicalReaction-001.yaml -s src/dcat_4c_ap/schema/dcat_4c_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C ChemicalReaction
118+
uv run linkml-convert -t ttl tests/data/valid/ChemicalReaction-001.yaml -s src/chem_dcat_ap/schema/chem_dcat_ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C ChemicalReaction
119119
````
120120
### Build GitHub pages docs locally
121121
````commandline
122122
uv run mkdocs serve
123123
````
124124
````commandline
125-
rm -rf docs/elements/*.md && uv run gen-doc -d docs/elements src/dcat_4c_ap/schema/dcat_4c_ap.yaml
125+
rm -rf docs/elements/*.md && uv run gen-doc -d docs/elements src/chem_dcat_ap/schema/chem_dcat_ap.yaml
126126
````
127127
128128
## Credits

config.public.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
# Note:
88
# - just works fine with quoted variables of dot-env files like this one
9-
LINKML_SCHEMA_NAME="dcat_4c_ap"
9+
LINKML_SCHEMA_NAME="chem_dcat_ap"
1010
LINKML_SCHEMA_AUTHOR="Philip Strömert <philip.stroemert@tib.eu>"
1111
LINKML_SCHEMA_DESCRIPTION="This is an extension of the DCAT Application Profile in LinkML. It is intended to be used by NFDI4Chem & NFDI4Cat as a core that can further be extended in profiles to provide domain specific metadata for a dataset."
12-
LINKML_SCHEMA_SOURCE_DIR="src/dcat_4c_ap/schema"
12+
LINKML_SCHEMA_SOURCE_DIR="src/chem_dcat_ap/schema"
1313

1414
###### linkml generator variables, used by justfile
1515

docs/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# dcat-4C-ap
1+
# ChemDCAT-AP
22

33
This is an extension of the DCAT Application Profile in LinkML. It is intended to be used by NFDI4Chem & NFDI4Cat as a core that can further be extended in profiles to provide domain specific metadata for a dataset.

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# DCAT-4C-AP
1+
# ChemDCAT-AP
22

33
This is an extension of the DCAT Application Profile in LinkML. It is intended to be used by NFDI4Chem & NFDI4Cat as a core that can further be extended in profiles to provide domain specific metadata for a dataset.
44

5-
URI: https://nfdi-de.github.io/chem-dcat-ap/dcat_4c_ap.yaml
5+
URI: https://w3id.org/nfdi-de/dcat-ap-plus/chemistry/
66

77
- Auto-generated [schema documentation](elements/index.md)
88
- License: MIT

examples/output/AnalysisDataset-001.ttl

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)