Skip to content

Commit

Permalink
Regenerate Make-managed files
Browse files Browse the repository at this point in the history
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
ajnelson-nist committed Jul 29, 2021
1 parent abd51b5 commit 6bae386
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 12 deletions.
6 changes: 3 additions & 3 deletions tests/examples/action_inheritance_PASS_validation.ttl
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 .

15 changes: 12 additions & 3 deletions tests/examples/action_inheritance_XFAIL_validation.ttl
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 ] ] .

6 changes: 3 additions & 3 deletions tests/examples/location_PASS_validation.ttl
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 .

21 changes: 18 additions & 3 deletions tests/examples/location_XFAIL_validation.ttl
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 ] .

0 comments on commit 6bae386

Please sign in to comment.