-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
114 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@prefix ex: <http://example.org#>. | ||
@prefix sh: <http://www.w3.org/ns/shacl#>. | ||
|
||
[ a sh:ValidationReport; | ||
sh:conforms false; | ||
sh:result [ a sh:ValidationResult; | ||
sh:focusNode ex:ValidPoint; | ||
sh:resultMessage "Requires an integer X coordinate"; | ||
sh:resultPath ex:x; | ||
sh:resultSeverity sh:Violation; | ||
sh:sourceConstraintComponent sh:DatatypeConstraintComponent; | ||
sh:sourceShape []; | ||
sh:value "1" | ||
], [ a sh:ValidationResult; | ||
sh:focusNode ex:ValidPoint; | ||
sh:resultMessage "Requires an integer Y coordinate"; | ||
sh:resultPath ex:y; | ||
sh:resultSeverity sh:Violation; | ||
sh:sourceConstraintComponent sh:DatatypeConstraintComponent; | ||
sh:sourceShape []; | ||
sh:value "2" | ||
], [ a sh:ValidationResult; | ||
sh:focusNode ex:ValidPoint; | ||
sh:resultMessage "Predicate is not allowed (closed shape)"; | ||
sh:resultPath ex:z; | ||
sh:resultSeverity sh:Violation; | ||
sh:sourceConstraintComponent sh:ClosedConstraintComponent; | ||
sh:sourceShape ex:PointShape; | ||
sh:value "3" | ||
] | ||
]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@prefix sh: <http://www.w3.org/ns/shacl#>. | ||
|
||
[ a sh:ValidationReport; | ||
sh:conforms true | ||
]. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters