An open API service indexing awesome lists of open source software.

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

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