You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#648: Moved table of severities below syntax rules, added fallback for sh:message in SPARQL (#667)
* #648: Moved table of severities below syntax rules, added fallback for sh:message in SPARQL
* Fixed typo
* Update shacl12-core/index.html
Co-authored-by: Andy Seaborne <andy@apache.org>
---------
Co-authored-by: Andy Seaborne <andy@apache.org>
Copy file name to clipboardExpand all lines: shacl12-core/index.html
+33-31Lines changed: 33 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -1455,37 +1455,6 @@ <h4>Declaring the Severity of a Shape or Constraint</h4>
1455
1455
<spandata-syntax-rule="severity-maxCount">Shapes can specify one <a>value</a> for the property <code>sh:severity</code> in the <a>shapes graph</a>.</span>
1456
1456
<spandata-syntax-rule="severity-nodeKind">Each value of <code>sh:severity</code> is an <a>IRI</a>.</span>
1457
1457
</p>
1458
-
<p>
1459
-
The values of <code>sh:severity</code> are called <dfndata-lt="severity">severities</dfn>.
1460
-
SHACL includes the IRIs listed in the table below to represent <a>severities</a>.
1461
-
These are declared in the SHACL vocabulary as SHACL instances of <code>sh:Severity</code>.
1462
-
</p>
1463
-
<tableclass="term-table">
1464
-
<tbody><tr>
1465
-
<th>Severity</th>
1466
-
<th>Description</th>
1467
-
</tr>
1468
-
<tr>
1469
-
<td><code>sh:Trace</code></td>
1470
-
<td>A trace message that is not a constraint violation.</td>
1471
-
</tr>
1472
-
<tr>
1473
-
<td><code>sh:Debug</code></td>
1474
-
<td>A debug message that is not a constraint violation.</td>
1475
-
</tr>
1476
-
<tr>
1477
-
<td><code>sh:Info</code></td>
1478
-
<td>A non-critical constraint violation indicating an informative message.</td>
1479
-
</tr>
1480
-
<tr>
1481
-
<td><code>sh:Warning</code></td>
1482
-
<td>A non-critical constraint violation indicating a warning.</td>
1483
-
</tr>
1484
-
<tr>
1485
-
<td><code>sh:Violation</code></td>
1486
-
<td>A constraint violation.</td>
1487
-
</tr>
1488
-
</tbody></table>
1489
1458
<p>
1490
1459
In addition to declaring severities per shape, the property <code>sh:severity</code> can also be used
1491
1460
on a <a>reifier</a> for a triple where the <a>shape</a> is the <a>subject</a> and one of the <a>parameters</a>
@@ -1497,6 +1466,39 @@ <h4>Declaring the Severity of a Shape or Constraint</h4>
1497
1466
A <a>shapes graph</a> can specify at most one <a>value</a> for the property <code>sh:severity</code>
1498
1467
in the <a>reifiers</a> of the <a>triples</a> in <code>T</code>.
1499
1468
</span></p>
1469
+
<p>
1470
+
A value of <code>sh:severity</code> is called a <dfn>severity</dfn>.
1471
+
SHACL includes the IRIs listed in the table below to represent [=severities=].
1472
+
These are declared in the SHACL vocabulary as SHACL instances of <code>sh:Severity</code>.
1473
+
</p>
1474
+
<tableclass="term-table">
1475
+
<tbody>
1476
+
<tr>
1477
+
<th>Severity</th>
1478
+
<th>Description</th>
1479
+
</tr>
1480
+
<tr>
1481
+
<td><code>sh:Trace</code></td>
1482
+
<td>A trace message that is not a constraint violation.</td>
1483
+
</tr>
1484
+
<tr>
1485
+
<td><code>sh:Debug</code></td>
1486
+
<td>A debug message that is not a constraint violation.</td>
1487
+
</tr>
1488
+
<tr>
1489
+
<td><code>sh:Info</code></td>
1490
+
<td>A non-critical constraint violation indicating an informative message.</td>
1491
+
</tr>
1492
+
<tr>
1493
+
<td><code>sh:Warning</code></td>
1494
+
<td>A non-critical constraint violation indicating a warning.</td>
1495
+
</tr>
1496
+
<tr>
1497
+
<td><code>sh:Violation</code></td>
1498
+
<td>A constraint violation.</td>
1499
+
</tr>
1500
+
</tbody>
1501
+
</table>
1500
1502
<p><em>The remainder of this section is informative.</em></p>
1501
1503
<p>
1502
1504
The validation process handles the values of <code>sh:severity</code> according to <a>conformance checking</a>.
0 commit comments