https://github.com/bluebrain/nexus-prov
SHACL shapes for W3C PROV-O
https://github.com/bluebrain/nexus-prov
provenance schemas shacl w3c
Last synced: 5 months ago
JSON representation
SHACL shapes for W3C PROV-O
- Host: GitHub
- URL: https://github.com/bluebrain/nexus-prov
- Owner: BlueBrain
- License: cc-by-4.0
- Created: 2017-09-12T11:49:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T08:06:53.000Z (over 3 years ago)
- Last Synced: 2024-11-13T01:03:04.462Z (11 months ago)
- Topics: provenance, schemas, shacl, w3c
- Language: Scala
- Homepage:
- Size: 108 KB
- Stars: 7
- Watchers: 25
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## SHACL shapes for W3C PROV-0-20130430
The project bundles a data management oriented SHACL version of W3C PROV-O (http://www.w3.org/ns/prov-o-20130430)
and a workbench allowing to test the SHACL shapes.
### Schema format
The SHACL shapes are defined and combined in an envelop that conforms to [Nexus KG schema format](https://bbp-nexus.epfl.ch/dev/schema-documentation/documentation/shacl-schemas.html#nexus-kg-schemas).
### Workbench
The workbench scala module depends on the [nexus-commons](https://github.com/bluebrain/nexus-commons) project.
In order to build the project, the nexus-commons project has to be published locally until stable version of it is released.To use the workbench (when located in the nexus-prov folder):
* run the 'sbt' command
```
sbt
```* and then run 'test' command
```
test
```All valid data defined in **prov/test/resources/data/{org}/{domain}/{schemaname}/*** will be checked for validation success with respect to their corresponding schemas defined in **prov/src/main/resources/schemas/{org}/{domain}/{schemaname}/***.
On the opposite all invalid data defined in **prov/test/resources/invalid/{org}/{domain}/{schemaname}/*** will be checked for validation failure with respect to their corresponding schemas defined in **prov/src/main/resources/schemas/{org}/{domain}/{schemaname}/***.### License
The license for all codes in this repository is [Apache 2](https://github.com/BlueBrain/nexus-prov/blob/master/LICENSE) while the license for all schemas and data is [CC-BY-4.0](https://github.com/BlueBrain/nexus-prov/blob/master/modules/prov/src/main/resources/LICENSE)
### Funding and Acknowledgements
The development of this project was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.
Copyright © 2017-2022 Blue Brain Project/EPFL