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
Copy file name to clipboardExpand all lines: shacl12-core/index.html
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1771,6 +1771,14 @@ <h4>Declaring the Severity of a Shape or Constraint</h4>
1771
1771
<th>Severity</th>
1772
1772
<th>Description</th>
1773
1773
</tr>
1774
+
<tr>
1775
+
<td><code>sh:Trace</code></td>
1776
+
<td>A trace message that is not a violation.</td>
1777
+
</tr>
1778
+
<tr>
1779
+
<td><code>sh:Debug</code></td>
1780
+
<td>A debug message that is not a violation.</td>
1781
+
</tr>
1774
1782
<tr>
1775
1783
<td><code>sh:Info</code></td>
1776
1784
<td>A non-critical constraint violation indicating an informative message.</td>
@@ -1784,6 +1792,10 @@ <h4>Declaring the Severity of a Shape or Constraint</h4>
1784
1792
<td>A constraint violation.</td>
1785
1793
</tr>
1786
1794
</tbody></table>
1795
+
<p>
1796
+
Validation engines MAY treat <code>sh:Info</code> and <code>sh:Warning</code> as non-violating based on
1797
+
options passed to the engine. By default, they are treated as violations.
1798
+
</p>
1787
1799
<p>
1788
1800
In addition to declaring severities per shape, the property <code>sh:severity</code> can also be used
1789
1801
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>
@@ -2843,7 +2855,7 @@ <h4>Handling of Recursive Shapes</h4>
2843
2855
<h3>Conformance Checking</h3>
2844
2856
<p>
2845
2857
A <a>focus node</a><dfndata-lt="conform|conformance">conforms</dfn> to a <a>shape</a> if and only if
2846
-
the set of result of the <a>validation</a> of the <a>focus node</a> against the <a>shape</a>is empty and no <a>failure</a>
2858
+
the set of result of the <a>validation</a> of the <a>focus node</a> against the <a>shape</a>does not contain any results with a severity level representing a violation and no <a>failure</a>
Each SHACL instance of <code>sh:ValidationReport</code> in the results graph has exactly one value for the property <code>sh:conforms</code> and the value is of datatype <code>xsd:boolean</code>.
2960
2972
It represents the outcome of the <a>conformance checking</a>.
2961
-
The value of <code>sh:conforms</code> is <code>true</code> if and only if the <a>validation</a> did not produce any <a>validation results</a>, and <code>false</code> otherwise.
2973
+
The value of <code>sh:conforms</code> is <code>true</code> if and only if the <a>validation</a> did not produce any <a>validation results</a> with a severity level representing a violation, and <code>false</code> otherwise.
2962
2974
</p>
2963
2975
</section>
2964
2976
<sectionid="result">
@@ -7880,6 +7892,8 @@ <h2>Security and Privacy Considerations</h2>
0 commit comments