Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.77 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.77 KB

dcat-4C-ap

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

Website

https://StroemPhi.github.io/dcat-4C-ap

Repository Structure

Developer Documentation

Requirements:

  • Poetry must be installed
    • pipx install poetry
  • make setup to install Poetry env
  • If you want you could run poetry run python src/dcat-ap_shacl_2_linkml.py to recreate the dcat-ap.yaml from the dcat-ap-SHACL.jsonld
  • To build the docs locally run: poetry run gen-doc -d docs "src/dcat_4C_ap/schema/dcat-ap.yaml" --template-directory "src/docgen/" && poetry run mkdocs serve
    • Use another LinkML YAML in src if you want to build the docs of a profile.
  • To validate the test dataset against the model you can use: poetry run linkml-convert -t ttl src/data/examples/Dataset-001_dcat-ap.yaml -s src/dcat_4C_ap/schema/dcat-ap.yaml -P "_base=https://search.nfdi4chem.de/dataset/" -C Dataset
Use the `make` command to generate project artefacts:
  • make all: make everything
  • make deploy: deploys site

Credits

This project was made with linkml-project-cookiecutter.