Skip to content

Commit a3d1ddf

Browse files
committed
Regenerate Make-managed files
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]>
1 parent 2a18d23 commit a3d1ddf

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

examples/illustrations/Oresteia/Oresteia_validation-develop.ttl

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2486,6 +2486,44 @@
24862486
location:longitude "2.331199"^^xsd:decimal ;
24872487
] ;
24882488
] ,
2489+
[
2490+
a sh:ValidationResult ;
2491+
sh:focusNode [
2492+
a location:LatLongCoordinatesFacet ;
2493+
location:latitude "48.860346"^^xsd:decimal ;
2494+
location:longitude "2.331199"^^xsd:decimal ;
2495+
] ;
2496+
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
2497+
sh:resultPath location:latitude ;
2498+
sh:resultSeverity sh:Violation ;
2499+
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
2500+
sh:sourceShape [
2501+
sh:datatype xsd:decimal ;
2502+
sh:maxCount "1"^^xsd:integer ;
2503+
sh:nodeKind sh:Literal ;
2504+
sh:path location:latitude ;
2505+
] ;
2506+
sh:value "48.860346"^^xsd:decimal ;
2507+
] ,
2508+
[
2509+
a sh:ValidationResult ;
2510+
sh:focusNode [
2511+
a location:LatLongCoordinatesFacet ;
2512+
location:latitude "48.860346"^^xsd:decimal ;
2513+
location:longitude "2.331199"^^xsd:decimal ;
2514+
] ;
2515+
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
2516+
sh:resultPath location:longitude ;
2517+
sh:resultSeverity sh:Violation ;
2518+
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
2519+
sh:sourceShape [
2520+
sh:datatype xsd:decimal ;
2521+
sh:maxCount "1"^^xsd:integer ;
2522+
sh:nodeKind sh:Literal ;
2523+
sh:path location:longitude ;
2524+
] ;
2525+
sh:value "2.331199"^^xsd:decimal ;
2526+
] ,
24892527
[
24902528
a sh:ValidationResult ;
24912529
sh:focusNode [

examples/illustrations/Oresteia/Oresteia_validation-unstable.ttl

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2486,6 +2486,44 @@
24862486
location:longitude "2.331199"^^xsd:decimal ;
24872487
] ;
24882488
] ,
2489+
[
2490+
a sh:ValidationResult ;
2491+
sh:focusNode [
2492+
a location:LatLongCoordinatesFacet ;
2493+
location:latitude "48.860346"^^xsd:decimal ;
2494+
location:longitude "2.331199"^^xsd:decimal ;
2495+
] ;
2496+
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
2497+
sh:resultPath location:latitude ;
2498+
sh:resultSeverity sh:Violation ;
2499+
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
2500+
sh:sourceShape [
2501+
sh:datatype xsd:decimal ;
2502+
sh:maxCount "1"^^xsd:integer ;
2503+
sh:nodeKind sh:Literal ;
2504+
sh:path location:latitude ;
2505+
] ;
2506+
sh:value "48.860346"^^xsd:decimal ;
2507+
] ,
2508+
[
2509+
a sh:ValidationResult ;
2510+
sh:focusNode [
2511+
a location:LatLongCoordinatesFacet ;
2512+
location:latitude "48.860346"^^xsd:decimal ;
2513+
location:longitude "2.331199"^^xsd:decimal ;
2514+
] ;
2515+
sh:resultMessage "Value is not Literal with datatype xsd:decimal" ;
2516+
sh:resultPath location:longitude ;
2517+
sh:resultSeverity sh:Violation ;
2518+
sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
2519+
sh:sourceShape [
2520+
sh:datatype xsd:decimal ;
2521+
sh:maxCount "1"^^xsd:integer ;
2522+
sh:nodeKind sh:Literal ;
2523+
sh:path location:longitude ;
2524+
] ;
2525+
sh:value "2.331199"^^xsd:decimal ;
2526+
] ,
24892527
[
24902528
a sh:ValidationResult ;
24912529
sh:focusNode [

0 commit comments

Comments
 (0)