From 027751ee7ba35bda100585142904b96c2f98acd0 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Thu, 28 Nov 2024 20:19:55 +0200 Subject: [PATCH 1/9] SHACL on Graphs closes #24 --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 44e3a67..27ae6b6 100644 --- a/README.md +++ b/README.md @@ -89,19 +89,24 @@ Software tools or libraries, sorted by programming language. ## Shape Editors, Visualizations +Editors that allow you to edit shapes in an easier way and to visualize shapes. + - [Allotrope Shape Editor](https://gitlab.com/allotrope-open-source/allotrope-devops/-/wikis/shacl-shape-editor) - The Shape Editor supports editing of shacl and shaclc files; `Apache-2.0` license; `Java`. +- [Sparna SHACL Play! Draw](https://shacl-play.sparna.fr/play/draw) - Provided visualization using PlantUML. ## Declarative UIs -Data viewers/Editors based on shapes. +Instance dData viewers/Editors based on shapes. - [shaperone](https://github.com/hypermedia-app/shaperone) NPM Version GitHub Release Date - SHACL Shapes Form generator; [docs](https://forms.hypermedia.app); `MIT` license; `Typescript`. - [playground](https://forms.hypermedia.app/playground) ## IDE support -- [Linked Data Extension](https://marketplace.visualstudio.com/items?itemName=Elsevier.linked-data) - VS Code Extension for editing RDF files with embedded SHACL validator and SPARQL engine. -- [SHACL Language Server](https://marketplace.visualstudio.com/items?itemName=stardog-union.vscode-langserver-shacl) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for W3C standard SHACL via the Language Server Protocol. +These make + +- [Linked Data Extension](https://marketplace.visualstudio.com/items?itemName=Elsevier.linked-data) - A VS Code Extension for editing RDF files with embedded SHACL validator and SPARQL engine. +- [SHACL Language Server](https://marketplace.visualstudio.com/items?itemName=stardog-union.vscode-langserver-shacl) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for SHACL via the Language Server Protocol. Similar [VSCode extensions by Stardog](https://marketplace.visualstudio.com/search?term=stardog&target=VSCode&category=All%20categories&sortBy=Relevance) are available for other W3C standard languages: Turtle, SPARQL, Trig, etc - [Mentor RDF for VS Code](https://marketplace.visualstudio.com/items?itemName=faubulous.mentor) - Code editing support for RDF, RDFS, OWL, SKOS, SHACL and SPARQL. - [SHACLC Language Server](https://marketplace.visualstudio.com/items?itemName=jeswr.shaclc-language-server) ([source](https://github.com/jeswr/shaclc-language-server)) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for CG standard SHACL Compact Syntax via the Language Server Protocol. MIT License. @@ -139,6 +144,13 @@ Data viewers/Editors based on shapes. - SHACL-related specifications - [The Shape Topologies algorithm](https://treecg.github.io/specification/shape-topologies) - [DASH Data Shapes](https://www.datashapes.org/) - Platform-independent extensions of SHACL for common tasks. Stuff that could become an official standard in the future. + +- SHACL on Graphs (as discussed in [shacl#22](https://github.com/w3c/shacl/issues/22) and [Inst4CIM-KG#140](https://github.com/Sveino/Inst4CIM-KG/issues/140)) + - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) and Shapes Graph are the inputs to a SHACL validator - But these are "ephemeral", and spec doesn't concretize how to pass them to the validator. + - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) - A triple in the data that **suggests** which shapes to select for validation. + - `rdf4j:SHACLShapeGraph` - in RDF4J is the default shape (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). + - `rsx:DataAndShapesGraphLink, rsx:shapesGraph, rsx:dataGraph` - in RDF4J allow to describe exactly which shapes go with which graphs (see [doc](https://graphdb.ontotext.com/documentation/10.8/shacl-validation.html#union-of-data-graphs-when-validating-the-results) or [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). + - [Extending SHACL to RDF Datasets](https://afs.github.io/shacl-datasets.html) - Proposal that describes applying SHACL to RDF Datasets by Jena's author. - ShEx - [Shape Expressions Language 2.1](https://shex.io/shex-semantics/index.html) - Final Community Group Report, 8 October 2019. From a5ab291dece78839f94a5db83d131016b277304e Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Thu, 28 Nov 2024 20:22:07 +0200 Subject: [PATCH 2/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27ae6b6..b8c9ded 100644 --- a/README.md +++ b/README.md @@ -96,14 +96,14 @@ Editors that allow you to edit shapes in an easier way and to visualize shapes. ## Declarative UIs -Instance dData viewers/Editors based on shapes. +Instance data viewers/Editors based on shapes, i.e. UI Generation from shapes. - [shaperone](https://github.com/hypermedia-app/shaperone) NPM Version GitHub Release Date - SHACL Shapes Form generator; [docs](https://forms.hypermedia.app); `MIT` license; `Typescript`. - [playground](https://forms.hypermedia.app/playground) ## IDE support -These make +These make editing shapes within an IDE like VSCode easier. - [Linked Data Extension](https://marketplace.visualstudio.com/items?itemName=Elsevier.linked-data) - A VS Code Extension for editing RDF files with embedded SHACL validator and SPARQL engine. - [SHACL Language Server](https://marketplace.visualstudio.com/items?itemName=stardog-union.vscode-langserver-shacl) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for SHACL via the Language Server Protocol. Similar [VSCode extensions by Stardog](https://marketplace.visualstudio.com/search?term=stardog&target=VSCode&category=All%20categories&sortBy=Relevance) are available for other W3C standard languages: Turtle, SPARQL, Trig, etc From 6580ef52c9ac2dbd0eb97dd500033112ca5c6382 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Tue, 3 Dec 2024 11:53:32 +0200 Subject: [PATCH 3/9] fix by TallTed Co-authored-by: Ted Thibodeau Jr --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8c9ded..af28e07 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ Editors that allow you to edit shapes in an easier way and to visualize shapes. ## Declarative UIs -Instance data viewers/Editors based on shapes, i.e. UI Generation from shapes. +Instance data viewers/editors based on shapes, e.g., UI generated from shape definitions. - [shaperone](https://github.com/hypermedia-app/shaperone) NPM Version GitHub Release Date - SHACL Shapes Form generator; [docs](https://forms.hypermedia.app); `MIT` license; `Typescript`. - [playground](https://forms.hypermedia.app/playground) From 9bfff0d4e152067832f27f93852fb5b1c63b8e6d Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Tue, 3 Dec 2024 11:56:04 +0200 Subject: [PATCH 4/9] "part of Stardog RDF Languages Extension Pack" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index af28e07..7cb87aa 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ Instance data viewers/editors based on shapes, e.g., UI generated from shape def These make editing shapes within an IDE like VSCode easier. - [Linked Data Extension](https://marketplace.visualstudio.com/items?itemName=Elsevier.linked-data) - A VS Code Extension for editing RDF files with embedded SHACL validator and SPARQL engine. -- [SHACL Language Server](https://marketplace.visualstudio.com/items?itemName=stardog-union.vscode-langserver-shacl) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for SHACL via the Language Server Protocol. Similar [VSCode extensions by Stardog](https://marketplace.visualstudio.com/search?term=stardog&target=VSCode&category=All%20categories&sortBy=Relevance) are available for other W3C standard languages: Turtle, SPARQL, Trig, etc +- [SHACL Language Server](https://marketplace.visualstudio.com/items?itemName=stardog-union.vscode-langserver-shacl) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for SHACL via the Language Server Protocol. Part of [Stardog RDF Languages Extension Pack](https://marketplace.visualstudio.com/items?itemName=stardog-union.vscode-stardog-languages) - [Mentor RDF for VS Code](https://marketplace.visualstudio.com/items?itemName=faubulous.mentor) - Code editing support for RDF, RDFS, OWL, SKOS, SHACL and SPARQL. - [SHACLC Language Server](https://marketplace.visualstudio.com/items?itemName=jeswr.shaclc-language-server) ([source](https://github.com/jeswr/shaclc-language-server)) - A VS Code extension providing language intelligence (diagnostics, hover tooltips, auto-completion, etc.) for CG standard SHACL Compact Syntax via the Language Server Protocol. MIT License. From e73f718c046b518d680f0d1aa18a9ea933cb9bac Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Tue, 3 Dec 2024 12:04:38 +0200 Subject: [PATCH 5/9] SHACL on Graphs: delineate spec vs vendor extensions --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7cb87aa..c1d1f0e 100644 --- a/README.md +++ b/README.md @@ -146,11 +146,11 @@ These make editing shapes within an IDE like VSCode easier. - [DASH Data Shapes](https://www.datashapes.org/) - Platform-independent extensions of SHACL for common tasks. Stuff that could become an official standard in the future. - SHACL on Graphs (as discussed in [shacl#22](https://github.com/w3c/shacl/issues/22) and [Inst4CIM-KG#140](https://github.com/Sveino/Inst4CIM-KG/issues/140)) - - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) and Shapes Graph are the inputs to a SHACL validator - But these are "ephemeral", and spec doesn't concretize how to pass them to the validator. - - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) - A triple in the data that **suggests** which shapes to select for validation. - - `rdf4j:SHACLShapeGraph` - in RDF4J is the default shape (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). - - `rsx:DataAndShapesGraphLink, rsx:shapesGraph, rsx:dataGraph` - in RDF4J allow to describe exactly which shapes go with which graphs (see [doc](https://graphdb.ontotext.com/documentation/10.8/shacl-validation.html#union-of-data-graphs-when-validating-the-results) or [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). - - [Extending SHACL to RDF Datasets](https://afs.github.io/shacl-datasets.html) - Proposal that describes applying SHACL to RDF Datasets by Jena's author. + - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) and Shapes Graph (SHACL spec) - the inputs to a SHACL validator, but these are "ephemeral", and spec doesn't concretize how to pass them to the validator. + - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) (SHACL spec) - A triple in the data graph that **suggests** which shapes to select for validation. + - `rdf4j:SHACLShapeGraph` (RDF4J extension) - default shape graph in RDF4J (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). + - `rsx:DataAndShapesGraphLink, rsx:shapesGraph, rsx:dataGraph` (RDF4J extension) - describe exactly which shapes go with which graphs (see [doc](https://graphdb.ontotext.com/documentation/10.8/shacl-validation.html#union-of-data-graphs-when-validating-the-results) or [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). + - [Extending SHACL to RDF Datasets](https://afs.github.io/shacl-datasets.html) (by Jena's author) - Proposal that describes applying SHACL to RDF Datasets. - ShEx - [Shape Expressions Language 2.1](https://shex.io/shex-semantics/index.html) - Final Community Group Report, 8 October 2019. From b1cd05895887d707da968702c52b04f7862436d4 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Tue, 17 Dec 2024 12:55:42 +0200 Subject: [PATCH 6/9] commit TallTed's suggestion Co-authored-by: Ted Thibodeau Jr --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c1d1f0e..0438238 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ These make editing shapes within an IDE like VSCode easier. - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) (SHACL spec) - A triple in the data graph that **suggests** which shapes to select for validation. - `rdf4j:SHACLShapeGraph` (RDF4J extension) - default shape graph in RDF4J (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). - `rsx:DataAndShapesGraphLink, rsx:shapesGraph, rsx:dataGraph` (RDF4J extension) - describe exactly which shapes go with which graphs (see [doc](https://graphdb.ontotext.com/documentation/10.8/shacl-validation.html#union-of-data-graphs-when-validating-the-results) or [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). - - [Extending SHACL to RDF Datasets](https://afs.github.io/shacl-datasets.html) (by Jena's author) - Proposal that describes applying SHACL to RDF Datasets. + - [Extending SHACL to RDF Datasets](https://afs.github.io/shacl-datasets.html) - Proposal (by Jena's author) that describes one way to apply SHACL to RDF Datasets. - ShEx - [Shape Expressions Language 2.1](https://shex.io/shex-semantics/index.html) - Final Community Group Report, 8 October 2019. From 8617526f2374cd52eafd933f8385e7e0829b03d7 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Thu, 2 Jan 2025 16:16:29 +0200 Subject: [PATCH 7/9] ignore double-link Co-authored-by: Aleksei Ivanov --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0438238..872fed8 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,8 @@ These make editing shapes within an IDE like VSCode easier. - [DASH Data Shapes](https://www.datashapes.org/) - Platform-independent extensions of SHACL for common tasks. Stuff that could become an official standard in the future. - SHACL on Graphs (as discussed in [shacl#22](https://github.com/w3c/shacl/issues/22) and [Inst4CIM-KG#140](https://github.com/Sveino/Inst4CIM-KG/issues/140)) - - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) and Shapes Graph (SHACL spec) - the inputs to a SHACL validator, but these are "ephemeral", and spec doesn't concretize how to pass them to the validator. + + - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) - The input to a SHACL validator (along with the Shapes Graph or SHACL spec), but these are "ephemeral", and spec doesn't concretize how to pass them to the validator. - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) (SHACL spec) - A triple in the data graph that **suggests** which shapes to select for validation. - `rdf4j:SHACLShapeGraph` (RDF4J extension) - default shape graph in RDF4J (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). - `rsx:DataAndShapesGraphLink, rsx:shapesGraph, rsx:dataGraph` (RDF4J extension) - describe exactly which shapes go with which graphs (see [doc](https://graphdb.ontotext.com/documentation/10.8/shacl-validation.html#union-of-data-graphs-when-validating-the-results) or [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). From f7bbda83a777f9614a03c544d6ad180656b57783 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Thu, 2 Jan 2025 16:16:39 +0200 Subject: [PATCH 8/9] ignore double-link Co-authored-by: Aleksei Ivanov --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 872fed8..aaa71de 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ These make editing shapes within an IDE like VSCode easier. - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) - The input to a SHACL validator (along with the Shapes Graph or SHACL spec), but these are "ephemeral", and spec doesn't concretize how to pass them to the validator. - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) (SHACL spec) - A triple in the data graph that **suggests** which shapes to select for validation. - `rdf4j:SHACLShapeGraph` (RDF4J extension) - default shape graph in RDF4J (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). + - `rsx:DataAndShapesGraphLink, rsx:shapesGraph, rsx:dataGraph` (RDF4J extension) - describe exactly which shapes go with which graphs (see [doc](https://graphdb.ontotext.com/documentation/10.8/shacl-validation.html#union-of-data-graphs-when-validating-the-results) or [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)). - [Extending SHACL to RDF Datasets](https://afs.github.io/shacl-datasets.html) - Proposal (by Jena's author) that describes one way to apply SHACL to RDF Datasets. From dbb77a7f811d49ea3e2104617da6864c119e47a5 Mon Sep 17 00:00:00 2001 From: Vladimir Alexiev Date: Thu, 2 Jan 2025 16:19:00 +0200 Subject: [PATCH 9/9] ignore double-link Co-authored-by: Aleksei Ivanov --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index aaa71de..b737948 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,7 @@ These make editing shapes within an IDE like VSCode easier. - SHACL on Graphs (as discussed in [shacl#22](https://github.com/w3c/shacl/issues/22) and [Inst4CIM-KG#140](https://github.com/Sveino/Inst4CIM-KG/issues/140)) - [Data Graph](https://w3c.github.io/data-shapes/shacl/#data-graph) - The input to a SHACL validator (along with the Shapes Graph or SHACL spec), but these are "ephemeral", and spec doesn't concretize how to pass them to the validator. + - [sh:shapesGraph](https://w3c.github.io/data-shapes/shacl/#sh-shapes-graph) (SHACL spec) - A triple in the data graph that **suggests** which shapes to select for validation. - `rdf4j:SHACLShapeGraph` (RDF4J extension) - default shape graph in RDF4J (see [this blog](https://www.ontotext.com/blog/shacl-ing-the-data-quality-dragon-iii-a-good-artisan-knows-their-tools/)).