From 94e865571cde31354e3ab1e3f6398335c4793dbd Mon Sep 17 00:00:00 2001
From: YoucTagh This document describes Shapes Constraint Language (SHACL) Profiling.
+ This specification is published by the
+ Data Shapes Working Group
+ .
+ SHACL Profiling ...
+ The terminology used throughout this document is consistent with the definitions in the main SHACL [[shacl]] specification, which references
+ terms from RDF [[rdf11-concepts]]. This includes the terms
+
+ binding
+
+ ,
+
+ blank node
+
+ ,
+
+ conformance
+
+ ,
+
+ constraint
+
+ ,
+
+ constraint component
+
+ ,
+
+ data graph
+
+ ,
+
+ datatype
+
+ ,
+
+ failure
+
+ ,
+
+ focus node
+
+ ,
+
+ RDF graph
+
+ ,
+ ill-formed
+ ,
+ IRI
+ ,
+
+ literal
+
+ ,
+
+ local name
+
+ ,
+
+ member
+
+ ,
+
+ node
+
+ ,
+
+ node shape
+
+ ,
+
+ object
+
+ ,
+
+ parameter
+
+ ,
+
+ pre-binding
+
+ ,
+
+ predicate
+
+ ,
+
+ property path
+
+ ,
+
+ property shape
+
+ ,
+
+ RDF term
+
+ ,
+
+ SHACL instance
+
+ ,
+
+ SHACL list
+
+ ,
+
+ SHACL subclass
+
+ ,
+
+ shape
+
+ ,
+
+ shapes graph
+
+ ,
+
+ solution
+
+ ,
+
+ subject
+
+ ,
+
+ target
+
+ ,
+
+ triple
+
+ ,
+ validation
+ ,
+
+ validation report
+
+ ,
+
+ validation result
+
+ ,
+
+ validator
+
+ ,
+
+ value
+
+ ,
+
+ value node
+
+ .
+
+ Some examples in this document use Turtle [[turtle]]. The reader is expected to be familiar with SHACL [[shacl]] and SPARQL
+ [[sparql-query]].
+ Within this document, the following namespace prefix bindings are used:
+ Throughout the document, color-coded boxes containing RDF graphs in Turtle will appear. These fragments of Turtle documents use the prefix
+ bindings given above.
+ Formal definitions appear in blue boxes: Grey boxes such as this include syntax rules that apply to the shapes graph.
+ TODO Content. TODO TODO Many people contributed to this document, including members of the RDF Data Shapes Working Group. TODO
- The terminology used throughout this document is consistent with the definitions in the main SHACL [[shacl]] specification, which references
- terms from RDF [[rdf11-concepts]]. This includes the terms
+ Terminology used throughout this document is consistent with several sources:
+
+ The SHACL terms include
binding
@@ -504,6 +517,25 @@ Introduction
+ Terminology
+
+ Document Conventions
+
+
+
+
+ Prefix
+ Namespace
+
+
+
+ rdf:
+ http://www.w3.org/1999/02/22-rdf-syntax-ns#
+
+
+ rdfs:
+ http://www.w3.org/2000/01/rdf-schema#
+
+
+ sh:
+ http://www.w3.org/ns/shacl#
+
+
+ xsd:
+ http://www.w3.org/2001/XMLSchema#
+
+
+ ex:
+ http://example.com/ns#
# This box represents a shapes graph
+
+ # This box represents a data graph.
+
+ # This box represents an output results graph
+
+ # This box contains textual definitions.
+ true
+ denotes the RDF term
+ "true"^^xsd:boolean
+ .
+ false
+ denotes the RDF term
+ "false"^^xsd:boolean
+ .
+ Section
+ Summary of Syntax Rules from this Document
+ Security Considerations
+ Privacy Considerations
+ Acknowledgements
+ Internationalization Considerations
+ Introduction
Terminology
+
+
+
+
+ Terminology
.
+ The general profiling terms include + + specification + + , + + [data] profile + + , + + data resource + + , + + metadata + + . +
This document describes Shapes Constraint Language (SHACL) Profiling.
- This specification is published by the - Data Shapes Working Group - . + This document defines extensions of the SHACL Shapes Constraint Language created to allow for the profiling of specifications. +
++ SHACL is a language for validating RDF graphs against a set of conditions so this document's scope is limited to the profiling of RDF graph models, including SHACL-defined models. +
+ +
+ The namespace for SHACL Profiling terms is http://www.w3.org/ns/shpr#
+
+ The suggested prefix for the SHACL Profiling namespace is shpr
SHACL Profiling ...
+SHACL Profiling is the act of creating profile of RDF graphs using SHACL...
Terminology
@@ -526,19 +526,15 @@ Terminology
The general profiling terms include
-
+
specification
,
-
+
[data] profile
,
-
- data resource
-
- ,
-
+
metadata
.
From 4aed2449355625f3c36e591d7c3d88e604009ead Mon Sep 17 00:00:00 2001
From: Yousouf Taghzouti <48333491+YoucTagh@users.noreply.github.com>
Date: Mon, 14 Apr 2025 10:34:15 +0200
Subject: [PATCH 5/9] Update shacl12-profiling/index.html
Co-authored-by: Ted Thibodeau Jr
- SHACL is a language for validating RDF graphs against a set of conditions so this document's scope is limited to the profiling of RDF graph models, including SHACL-defined models. + SHACL is a language for validating RDF graphs against a set of conditions, so this document's scope is limited to the profiling of RDF graph models, including SHACL-defined models.
From 25d8c588693c2a405b6a72735082e18a2cc3018e Mon Sep 17 00:00:00 2001
From: Yousouf Taghzouti <48333491+YoucTagh@users.noreply.github.com>
Date: Mon, 14 Apr 2025 10:43:24 +0200
Subject: [PATCH 6/9] Update shacl12-profiling/index.html
Co-authored-by: Ted Thibodeau Jr SHACL Profiling is the act of creating profile of RDF graphs using SHACL...
+ SHACL Profiling is the act of creating
+ a profile
+ of a RDF graphs
+ using SHACL...
SHACL Profiling is the act of creating
a profile
- of a RDF graphs
+ of an RDF graph
using SHACL...
SHACL Profiling is the act of creating profile of RDF graphs using SHACL...
-
@@ -540,13 +627,11 @@
- Some examples in this document use Turtle [[turtle]]. The reader is expected to be familiar with SHACL [[shacl]] and SPARQL
- [[sparql-query]].
+ Within this document, the following namespace prefix definitions are used:
Within this document, the following namespace prefix bindings are used:
+ Within this document, the following JSON-LD context is used:
+
- Throughout the document, color-coded boxes containing RDF graphs in Turtle will appear. These fragments of Turtle documents use the prefix
- bindings given above.
+ Note that the URI of the graph defining the SHACL vocabulary itself is equivalent to
+ the namespace above, i.e., it includes the
+ Throughout the document, color-coded boxes containing RDF graphs in Turtle and JSON-LD will appear.
+ These fragments of Turtle documents use the prefix bindings given above.
+ The JSON-LD document fragments use the context given above.
+ Only the Turtle documents may highlight certain parts.
Formal definitions appear in blue boxes: Grey boxes such as this include syntax rules that apply to the shapes graph.
+ Grey boxes such as this include syntax rules that apply to the shapes graph.
+
- TODOIntroduction
- Terminology
From 5b2e427431d18ea18726cd04b6a08fba86524566 Mon Sep 17 00:00:00 2001
From: Nicholas Car Introduction
Introduction
Terminology
Terminology
.
Document Conventions
+
+
Prefix
@@ -562,7 +647,7 @@ Document Conventions
- sh:
+ http://www.w3.org/ns/shacl#
http://www.w3.org/ns/shacl#
@@ -573,34 +658,95 @@ xsd:
Document Conventions
http://example.com/ns#
{
+ "@context": {
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+ "sh": "http://www.w3.org/ns/shacl#",
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "ex": "http://example.com/ns#"
+ }
+}
#
.
+ References to the SHACL vocabulary, e.g., via owl:imports
should include the #
.
+ # This box represents a shapes graph
- # This box represents a data graph.
+ // This box represents an input shapes graph
+ {
+ "@id": "ex:s",
+ "ex:p": {
+ "@id": "ex:o"
+ }
+}
+ # This box represents an output results graph
+ // This box represents an input data graph
+ {
+ "@graph": [
+ {
+ "@id": "ex:Alice",
+ "@type": "ex:Person"
+ },
+ {
+ "@id": "ex:Bob",
+ "@type": "ex:Person"
+ }
+ ]
+}
+ # This box contains textual definitions.
+ // This box represents an output results graph
+ true
- denotes the RDF term
- "true"^^xsd:boolean
- .
- false
- denotes the RDF term
- "false"^^xsd:boolean
- .
+ true
denotes the RDF term "true"^^xsd:boolean
.
+ false
denotes the RDF term "false"^^xsd:boolean
.