Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ function.xml
catalog*.xml
node_modules/
*.iml
.idea
39 changes: 39 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,42 @@ node build.js
```

The folders in `dist` should mimic the same structure and contents under https://w3id.org/function.

## Validating

Different tools exist to validate against SHACL Shapes. </br>
⚠️The current issue is that these tools yield **different** result,
which can be observed when inspecting the outputs generated by the following validators.

### Validator: `github:TopQuadrant/shacl-js`

Execute
```bash
npm i
npm run test
```

### Validator: Jena's `shacl`

```
❯ shacl --version
Jena: VERSION: 4.4.0
Jena: BUILD_DATE: 2022-01-30T15:09:41Z
```

Execute
```bash
./test/test.sh
```

### Validator: `pyshacl`

Install
```bash
pip install rdflib pyshac
```

Execute
```bash
python test/test.py
```
Loading