Skip to content

Commit

Permalink
Regenerate Make-managed files
Browse files Browse the repository at this point in the history
pySHACL 0.20.0, recently released, includes support for incorporating
ill-typedness of literals in review of SHACL Datatype Constraints.  For
unknown reasons, this is now causing some `xsd:decimal` literals to be
flggged as non-conformant.

This is being discussed further in pySHACL PR 157.

References:
* RDFLib/pySHACL#157

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Sep 20, 2022
1 parent 2a18d23 commit a3d1ddf
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
38 changes: 38 additions & 0 deletions examples/illustrations/Oresteia/Oresteia_validation-develop.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2486,6 +2486,44 @@
location:longitude "2.331199"^^xsd:decimal ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a location:LatLongCoordinatesFacet ;
location:latitude "48.860346"^^xsd:decimal ;
location:longitude "2.331199"^^xsd:decimal ;
] ;
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
sh:resultPath location:latitude ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
sh:sourceShape [
sh:datatype xsd:decimal ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path location:latitude ;
] ;
sh:value "48.860346"^^xsd:decimal ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a location:LatLongCoordinatesFacet ;
location:latitude "48.860346"^^xsd:decimal ;
location:longitude "2.331199"^^xsd:decimal ;
] ;
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
sh:resultPath location:longitude ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
sh:sourceShape [
sh:datatype xsd:decimal ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path location:longitude ;
] ;
sh:value "2.331199"^^xsd:decimal ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down
38 changes: 38 additions & 0 deletions examples/illustrations/Oresteia/Oresteia_validation-unstable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2486,6 +2486,44 @@
location:longitude "2.331199"^^xsd:decimal ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a location:LatLongCoordinatesFacet ;
location:latitude "48.860346"^^xsd:decimal ;
location:longitude "2.331199"^^xsd:decimal ;
] ;
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
sh:resultPath location:latitude ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
sh:sourceShape [
sh:datatype xsd:decimal ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path location:latitude ;
] ;
sh:value "48.860346"^^xsd:decimal ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a location:LatLongCoordinatesFacet ;
location:latitude "48.860346"^^xsd:decimal ;
location:longitude "2.331199"^^xsd:decimal ;
] ;
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
sh:resultPath location:longitude ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
sh:sourceShape [
sh:datatype xsd:decimal ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path location:longitude ;
] ;
sh:value "2.331199"^^xsd:decimal ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down

0 comments on commit a3d1ddf

Please sign in to comment.