Skip to content

Commit

Permalink
Merge pull request #176 from zazuko/shacl-af
Browse files Browse the repository at this point in the history
feat: terms from SHACL-AF draft
  • Loading branch information
tpluscode authored Oct 13, 2023
2 parents d77dc81 + 80f0132 commit d9501e1
Show file tree
Hide file tree
Showing 16 changed files with 1,411 additions and 25 deletions.
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

0 comments on commit d9501e1

Please sign in to comment.