Skip to content

Commit

Permalink
Merge pull request #58 from jerdebsp/patch-1
Browse files Browse the repository at this point in the history
Fix for example highlighted in issue 57
  • Loading branch information
HolgerKnublauch authored Jul 16, 2024
2 parents 3eef6a8 + f9cc0b0 commit 67459ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shacl-core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ <h3>SHACL Example</h3>
sh:focusNode ex:Alice ;
sh:resultPath ex:ssn ;
sh:value "987-65-432A" ;
sh:sourceConstraintComponent sh:RegexConstraintComponent ;
sh:sourceConstraintComponent sh:PatternConstraintComponent ;
sh:sourceShape ... blank node _:b1 on ex:ssn above ... ;
] ,
[ a sh:ValidationResult ;
Expand Down Expand Up @@ -696,7 +696,7 @@ <h3>SHACL Example</h3>
<p>
The <a>validation results</a> are enclosed in a <a>validation report</a>.
The first <a>validation result</a> is produced because <code>ex:Alice</code> has a <a>value</a> for <code>ex:ssn</code>
that does not match the regular expression specified by the property <code>sh:regex</code>.
that does not match the regular expression specified by the property <code>sh:pattern</code>.
The second <a>validation result</a> is produced because <code>ex:Bob</code> has more than the permitted number of <a>values</a>
for the property <code>ex:ssn</code> as specified by the <code>sh:maxCount</code> of 1.
The third <a>validation result</a> is produced because <code>ex:Calvin</code> has a <a>value</a> for <code>ex:worksFor</code>
Expand Down

0 comments on commit 67459ed

Please sign in to comment.