Skip to content

Commit 4954972

Browse files
authored
Merge pull request #548 from w3c/no-shacl-1.0
Make references to original SHACL consistent
2 parents 47ddd89 + 69db71d commit 4954972

File tree

3 files changed

+22
-18
lines changed

3 files changed

+22
-18
lines changed

shacl12-core/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7737,8 +7737,8 @@ <h2>Security and Privacy Considerations</h2>
77377737
<section id="ack" class="appendix informative">
77387738
<h2>Acknowledgements</h2>
77397739
<p>
7740-
The original 1.0 version of SHACL was produced by the RDF Data Shapes Working Group.
7741-
See its <a href="https://www.w3.org/TR/shacl/#ack">SHACL 1.0 Acknowledgements section</a>.
7740+
The original SHACL core specification was produced by the RDF Data Shapes Working Group.
7741+
See its <a href="https://www.w3.org/TR/2017/REC-shacl-20170720/#ack">Acknowledgements section</a>.
77427742
</p>
77437743
</section>
77447744

@@ -7753,7 +7753,7 @@ <h2>Revision History</h2>
77537753
</section>
77547754

77557755
<section class="appendix informative" id="changes-12">
7756-
<h2>Changes between SHACL 1.0 Core and SHACL 1.2 Core</h2>
7756+
<h2>Changes between the original SHACL Core and SHACL 1.2 Core</h2>
77577757
<ul>
77587758
<li>Introduced <a>node expressions</a> as an extension point to dynamically compute lists of nodes. Generalized <code>sh:targetNode</code>, <code>sh:deactivated</code> and <code>sh:defaultValue</code>, and introduced <code>sh:values</code> to support node expressions.</li>
77597759
<li>Added the new constraint component <a href="#SingleLineConstraintComponent"><code>sh:singleLine</code></a>, see <a href="https://github.com/w3c/data-shapes/issues/177">Issue 177</a></li>

shacl12-overview/index.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,13 @@ <h2>Introduction</h2>
373373
<section id="whatsnew">
374374
<h2>What's New in SHACL 1.2</h2>
375375
<p>
376-
SHACL 1.2 covers <a href="https://www.w3.org/TR/rdf12-new/">new developments in RDF 1.2 and SPARQL 1.2</a>, formalizes versions of original SHACL documents published only as Notes, and takes SHACL into new areas such as rules for inferencing and profile definition.
376+
SHACL 1.2 covers <a href="https://www.w3.org/TR/rdf12-new/">new developments</a> in RDF 1.2 and <a href="https://www.w3.org/TR/sparql12-new/">new developments</a> in SPARQL 1.2. It formalizes versions of original SHACL documents published only as Notes, and takes SHACL into new areas such as rules for inferencing and profile definition.
377+
</p>
378+
<p class="note">
379+
While SHACL 1.2 does aim to cater for all aspects of [[[rdf12-concepts]]] and [[[sparql12-query]]], those specifications are not finalised while this note remains here, so coverage may not yet be complete.</p>
377380
</p>
378381
<p>
379-
The original SHACL specifications, published in 2015 and now considered SHACL 1.1 as they were aligned with RDF 1.1, are listed in the <a href="#shacl-1.1">SHACL 1.1</a> section below. The SHACL 1.2 specifications are also listed below, in the <a href="#shacl-1.2">SHACL 1.2</a> section.
382+
The original SHACL specifications were published in 2017 and were aligned with [[[rdf11-concepts]]] and [[[sparql11-query]]]. They are listed in the <a href="#shacl-orig">SHACL Original</a> section below. The SHACL 1.2 specifications are also listed below, in the <a href="#shacl-1.2">SHACL 1.2</a> section.
380383
</p>
381384
<p>
382385
Following are the major new things in SHACL 1.2 and the specifications in which they appear.
@@ -399,7 +402,7 @@ <h2>What's New in SHACL 1.2</h2>
399402
Derived Properties
400403
</td>
401404
<td>
402-
In SHACL 1.1, shapes and constraints could only operate on asserted triples in a graph, and inferencing was left as an optional pre-processing step using languages like RDF Schema and OWL. SHACL 1.2 introduces its own inferencing and reasoning capabilities, which make SHACL more self-contained and cover different use cases than RDFS/OWL.
405+
In the original SHACL specifications, shapes and constraints could only operate on asserted triples in a graph, and inferencing was left as an optional pre-processing step using languages like RDF Schema and OWL. SHACL 1.2 introduces its own inferencing and reasoning capabilities, which make SHACL more self-contained and cover different use cases than RDFS/OWL.
403406
</td>
404407
<td>
405408
<a href="https://www.w3.org/TR/shacl12-core/">Core</a>,<br />
@@ -411,7 +414,7 @@ <h2>What's New in SHACL 1.2</h2>
411414
Flexible Target Nodes
412415
</td>
413416
<td>
414-
In SHACL 1.2, node expressions can be used in more places than derived properties, to which they were limited in SHACL 1.1. Particularly, they can now also be used to compute the target nodes of a shape. This provides greater flexibility than the built-in target types such as <code>sh:targetClass</code> and <code>sh:targetSubjectsOf</code>.
417+
In SHACL 1.2, node expressions can be used in more places than derived properties, to which they were limited in the original SHACL specifications. Particularly, they can now also be used to compute the target nodes of a shape. This provides greater flexibility than the built-in target types such as <code>sh:targetClass</code> and <code>sh:targetSubjectsOf</code>.
415418
</td>
416419
<td>
417420
<a href="https://www.w3.org/TR/shacl12-node-expr/">Node Expr</a>
@@ -424,7 +427,7 @@ <h2>What's New in SHACL 1.2</h2>
424427
The new <em>Inferencing Rules</em> specification allows the representation and execution of <a href="https://en.wikipedia.org/wiki/Datalog">Datalog</a>-like inference rules which have a straight-forward mapping to SPARQL <code>CONSTRUCT</code> statements for execution, and integrate with other SHACL features such as node expressions.
425428
</p>
426429
<p>
427-
This work was inspired by the SPARQL-based rules introduced by the <a href="https://www.w3.org/TR/shacl-af/">SHACL 1.1 Advanced Features</a> note (commonly referred to as "SHACL-AF") and older technologies such as <a href="https://spinrdf.org/">SPIN</a>.
430+
This work was inspired by the SPARQL-based rules introduced by the <a href="https://www.w3.org/TR/2017/NOTE-shacl-af-20170608/">SHACL Advanced Features</a> note (commonly referred to as "SHACL-AF") and older technologies such as <a href="https://spinrdf.org/">SPIN</a>.
428431
</p>
429432
</td>
430433
<td>
@@ -436,7 +439,7 @@ <h2>What's New in SHACL 1.2</h2>
436439
Better Syntax for Unions of Datatypes and Classes
437440
</td>
438441
<td>
439-
In SHACL 1.1, when you wanted to express that the datatype of a property was either <code>xsd:string</code>, <code>rdf:langString</code>, or <code>rdf:HTML</code>, you needed to use a verbose, repetitive construct. In SHACL 1.2, this can be written as a single list.
442+
In the original SHACL specifications, when you wanted to express that the datatype of a property was either <code>xsd:string</code>, <code>rdf:langString</code>, or <code>rdf:HTML</code>, you needed to use a verbose, repetitive construct. In SHACL 1.2, this can be written as a single list.
440443
</td>
441444
<td>
442445
<a href="https://www.w3.org/TR/shacl12-core/">Core</a>
@@ -458,7 +461,7 @@ <h2>What's New in SHACL 1.2</h2>
458461
Use of Reification in Constraint Definitions
459462
</td>
460463
<td>
461-
In SHACL 1.1, the severity and messages of a constraint had to be declared for the surrounding shape, sometimes requiring artificial intermediate shapes to be introduced to change only the severity or a message. SHACL 1.2 syntax is more flexible, allowing severity and messages to be directly attached to individual constraint triples.
464+
In the original SHACL specifications, the severity and messages of a constraint had to be declared for the surrounding shape, sometimes requiring artificial intermediate shapes to be introduced to change only the severity or a message. SHACL 1.2 syntax is more flexible, allowing severity and messages to be directly attached to individual constraint triples.
462465
</td>
463466
<td>
464467
<a href="https://www.w3.org/TR/shacl12-core/">Core</a>
@@ -493,7 +496,7 @@ <h2>What's New in SHACL 1.2</h2>
493496
</td>
494497
<td>
495498
<p>
496-
The SHACL Community Group, which formed after the publication of SHACL 1.1, produced an informal <a href="https://w3c.github.io/shacl/shacl-compact-syntax/">SHACL Compact Syntax Report</a> which defines a compact syntax (sometimes referred to as SHACL-C) for core elements of SHACL 1.1.
499+
The SHACL Community Group, which formed after the publication of the original SHACL specifications, produced an informal <a href="https://w3c.github.io/shacl/shacl-compact-syntax/">SHACL Compact Syntax Report</a> which defines a compact syntax (sometimes referred to as SHACL-C) for core elements of the original SHACL specifications.
497500
</p>
498501
<p>
499502
We now have a formalization of that syntax with updates to aline with the other SHACL 1.2 specifications.
@@ -508,7 +511,7 @@ <h2>What's New in SHACL 1.2</h2>
508511
A formal SHACL UI
509512
</td>
510513
<td>
511-
Industry has used SHACL 1.1 for user interface generation since publication, with non-W3C extensions such as <a href="https://www.datashapes.org/">DASH</a>. This is now formalized in a new specification.
514+
Industry has used the original SHACL specifications for user interface generation since publication, with non-W3C extensions such as <a href="https://www.datashapes.org/">DASH</a>. This is now formalized in a new specification.
512515
</td>
513516
<td>
514517
<a href="https://www.w3.org/TR/shacl12-ui/">UI</a>
@@ -557,11 +560,11 @@ <h3>
557560
<dd>defines the use of SHACL for profiling data, including SHACL data</dd>
558561
</dl>
559562
</section>
560-
<section id="shacl-1.1">
563+
<section id="shacl-orig">
561564
<h3>
562-
SHACL 1.1
565+
SHACL Original
563566
</h3>
564-
<p><em>The original SHACL specifications listed below, now referred to as SHACL 1.1, are deprecated in favor of the SHACL 1.2 specifications, listed above.</em></p>
567+
<p><em>The original SHACL specifications published in 2017 are listed below. They are now deprecated in favor of the SHACL 1.2 specifications, listed above.</em></p>
565568
<dl>
566569
<dt><a href="https://www.w3.org/TR/2017/REC-shacl-20170720/">SHACL</a></dt>
567570
<dd>the original SHACL Shapes Constraint Language definition</dd>

shacl12-sparql/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,8 +2261,9 @@ <h2>Security and Privacy Considerations</h2>
22612261
<section id="ack" class="appendix informative">
22622262
<h2>Acknowledgements</h2>
22632263
<p>
2264-
The original 1.0 version of SHACL was produced by the RDF Data Shapes Working Group.
2265-
See its <a href="https://www.w3.org/TR/shacl/#ack">SHACL 1.0 Acknowledgements section</a>.
2264+
Original SHACL core specifications were produced by the RDF Data Shapes Working Group.
2265+
See the <a href="https://www.w3.org/TR/2017/REC-shacl-20170720/#ack">Core specification's Acknowledgements section</a> and
2266+
the <a href="https://www.w3.org/TR/2017/NOTE-shacl-af-20170608/#ack">Advanced Features specification's Acknowledgements section</a>.
22662267
</p>
22672268
</section>
22682269

@@ -2277,7 +2278,7 @@ <h2>Revision History</h2>
22772278
</section>
22782279

22792280
<section class="appendix informative" id="changes-12">
2280-
<h2>Changes between SHACL 1.0 SPARQL and SHACL 1.2 SPARQL Extensions</h2>
2281+
<h2>Changes between the original SHACL specifications and SHACL 1.2 SPARQL</h2>
22812282
<ul>
22822283
<li>Added the <a>node expression function</a> <a href="#SelectExpression"><code>sh:SelectExpression</code></a>, see <a href="https://github.com/w3c/data-shapes/issues/288">Issue 288</a></li>
22832284
<li>Added support for <a>annotation properties</a>, see <a href="https://github.com/w3c/data-shapes/issues/327">Issue 327</a></li>

0 commit comments

Comments
 (0)