https://github.com/maastrichtu-ids/kg-metadata
A SHACL metadata specification for knowledge graphs
https://github.com/maastrichtu-ids/kg-metadata
kg knowledge-graph metadata rdf shacl shape
Last synced: about 1 month ago
JSON representation
A SHACL metadata specification for knowledge graphs
- Host: GitHub
- URL: https://github.com/maastrichtu-ids/kg-metadata
- Owner: MaastrichtU-IDS
- License: mit
- Created: 2024-06-26T08:55:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-28T08:35:25.000Z (11 months ago)
- Last Synced: 2025-02-14T01:25:34.599Z (3 months ago)
- Topics: kg, knowledge-graph, metadata, rdf, shacl, shape
- Language: Jupyter Notebook
- Homepage: https://maastrichtu-ids.github.io/kg-metadata/
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kg-metadata
Knowledge Graph (KG) Metadata Specification and Validation
This project aims to create a specification for the description of knowledge graphs.
The KG specification [html](https://maastrichtu-ids.github.io/kg-metadata/) & [SHACL](data/shacl/kg-full.shacl.ttl) was developed using [SHACL](https://www.w3.org/TR/shacl/) from a [community spreadsheet](https://docs.google.com/spreadsheets/d/1QkTqLE2pjZHoC6Ly08Zs7bXbgSh-e5p0cy3QJRaX-L8/edit?usp=sharing)
# setup the environment
prepare the local environment
python -m venv .venvactivate the local environment
source .venv/bin/activateinstall the python packages
python -m pip install -r requirements.txt
# run the test
run the shape validation with kg metadata and the KG shacl specification.python src/validate.py -i data/metadata/wikidata.ttl -s data/shacl/kg-full.shacl.ttl