-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch logs the state of getting CI tests to pass, which still falls short of CI passing. References: * [OC-68] (CP-23) Convert current property restrictions and domain assertions to SHACL class shapes
- Loading branch information
1 parent
abd51b5
commit 6bae386
Showing
4 changed files
with
36 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@prefix ns1: <http://www.w3.org/ns/shacl#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
[] a ns1:ValidationReport ; | ||
ns1:conforms true . | ||
[] a sh:ValidationReport ; | ||
sh:conforms true . | ||
|
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 |
---|---|---|
@@ -1,6 +1,15 @@ | ||
@prefix ns1: <http://www.w3.org/ns/shacl#> . | ||
@prefix action: <https://unifiedcyberontology.org/ontology/uco/action#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
[] a ns1:ValidationReport ; | ||
ns1:conforms true . | ||
[] a sh:ValidationReport ; | ||
sh:conforms false ; | ||
sh:result [ a sh:ValidationResult ; | ||
sh:focusNode <http://example.org/kb/action-lifecycle1> ; | ||
sh:resultMessage "More than 0 values on kb:action-lifecycle1->action:actionStatus" ; | ||
sh:resultPath action:actionStatus ; | ||
sh:resultSeverity sh:Violation ; | ||
sh:sourceConstraintComponent sh:MaxCountConstraintComponent ; | ||
sh:sourceShape [ sh:maxCount 0 ; | ||
sh:path action:actionStatus ] ] . | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@prefix ns1: <http://www.w3.org/ns/shacl#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
[] a ns1:ValidationReport ; | ||
ns1:conforms true . | ||
[] a sh:ValidationReport ; | ||
sh:conforms true . | ||
|
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 |
---|---|---|
@@ -1,6 +1,21 @@ | ||
@prefix ns1: <http://www.w3.org/ns/shacl#> . | ||
@prefix location: <https://unifiedcyberontology.org/ontology/uco/location#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
[] a ns1:ValidationReport ; | ||
ns1:conforms true . | ||
[] a sh:ValidationReport ; | ||
sh:conforms false ; | ||
sh:result [ a sh:ValidationResult ; | ||
sh:focusNode [ a location:SimpleAddressFacet ; | ||
location:locality "Seattle" ; | ||
location:postalCode 98052 ; | ||
location:region "WA" ; | ||
location:street "20341 Whitworth Institute 405 N. Whitworth" ] ; | ||
sh:resultMessage "Value is not Literal with datatype xsd:string" ; | ||
sh:resultPath location:postalCode ; | ||
sh:resultSeverity sh:Violation ; | ||
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ; | ||
sh:sourceShape [ sh:datatype xsd:string ; | ||
sh:maxCount 1 ; | ||
sh:path location:postalCode ] ; | ||
sh:value 98052 ] . | ||
|