Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: terms from SHACL-AF draft #176

Merged
merged 7 commits into from
Oct 13, 2023
Merged
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
5 changes: 5 additions & 0 deletions .changeset/beige-flies-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vocabulary/sh": patch
---

Added `bugs` link to package
5 changes: 5 additions & 0 deletions .changeset/curly-brooms-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vocabulary/shsh": major
---

Imported shacl-shacl
5 changes: 5 additions & 0 deletions .changeset/light-dots-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vocabulary/sh": minor
---

Added triples which describe the new terms from [SHACL Advanced Features](https://w3c.github.io/shacl/shacl-af/) 1.1 draft
5 changes: 5 additions & 0 deletions .changeset/sixty-hairs-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zazuko/prefixes": minor
---

New prefix: `shsh` (SHACL shapes to validate SHACL shapes)
15 changes: 15 additions & 0 deletions ontologies/sh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# @vocabulary/sh

This package contains a snapshot of the SHACL vocabulary with the addition of
an unofficial rendition of the latest [SHACL Advanced Features](https://w3c.github.io/shacl/shacl-af/)
draft.

## SHACL Advanced Features

SHACL-AF adds a handful of properties and node expressions. The latter are expressed here as
node shapes.

### Known issues

The node shape `sh:FunctionExpression` currently does not work and will cause false negatives when
validation a shape which uses function expressions.
1 change: 1 addition & 0 deletions ontologies/sh/meta.nt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<https://prefix.zazuko.com/sh:> <http://purl.org/dc/terms/description> "This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language." .
<https://prefix.zazuko.com/sh:> <http://purl.org/dc/terms/title> "W3C Shapes Constraint Language (SHACL) Vocabulary" .
<https://prefix.zazuko.com/sh:> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/rdfa#PrefixMapping> .
<https://prefix.zazuko.com/sh:> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <file:src/shacl-af.ttl> .
<https://prefix.zazuko.com/sh:> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://www.w3.org/ns/shacl#> .
<https://prefix.zazuko.com/sh:> <http://www.w3.org/ns/rdfa#prefix> "sh" .
<https://prefix.zazuko.com/sh:> <http://www.w3.org/ns/rdfa#uri> <http://www.w3.org/ns/shacl#> .
13 changes: 12 additions & 1 deletion ontologies/sh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,18 @@
"homepage": "https://prefix.zazuko.com/prefix/sh:",
"vocabulary": {
"prefix": "sh",
"namespace": "http://www.w3.org/ns/shacl#"
"namespace": "http://www.w3.org/ns/shacl#",
"files": [
{
"file": "http://www.w3.org/ns/shacl#"
},
{
"file": "file:src/shacl-af.ttl"
}
]
},
"bugs": {
"url": "https://github.com/zazuko/rdf-vocabularies/issues"
},
"license": "MIT",
"files": [
Expand Down
390 changes: 374 additions & 16 deletions ontologies/sh/sh.nq

Large diffs are not rendered by default.

Loading