From ed131efeae0bc1cc05ca5b04f56e939ccdfc6f7b Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 21 Dec 2023 13:16:54 -0500 Subject: [PATCH] Regenerate Make-managed files References: * https://github.com/ucoProject/UCO/issues/573 Signed-off-by: Alex Nelson --- .../cell_site_validation-unstable-2.0.0.ttl | 61 ++++++++++++----- .../cell_site_validation-unstable.ttl | 65 ++++++++++++++----- 2 files changed, 94 insertions(+), 32 deletions(-) diff --git a/examples/illustrations/cell_site/cell_site_validation-unstable-2.0.0.ttl b/examples/illustrations/cell_site/cell_site_validation-unstable-2.0.0.ttl index fbc74a5d..3e36f0f0 100644 --- a/examples/illustrations/cell_site/cell_site_validation-unstable-2.0.0.ttl +++ b/examples/illustrations/cell_site/cell_site_validation-unstable-2.0.0.ttl @@ -1,4 +1,5 @@ @prefix core: . +@prefix observable: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @@ -7,17 +8,44 @@ [] a sh:ValidationReport ; - sh:conforms "true"^^xsd:boolean ; - sh:result [ - a sh:ValidationResult ; - sh:focusNode ; - sh:resultMessage "UcoThings are suggested to end with a UUID." ; - sh:resultSeverity sh:Info ; - sh:sourceConstraint [ - a sh:SPARQLConstraint ; - rdfs:seeAlso ; - sh:message "UcoThings are suggested to end with a UUID."@en ; - sh:select ''' + sh:conforms "false"^^xsd:boolean ; + sh:result + [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "Value does not have class observable:Observable" ; + sh:resultPath core:target ; + sh:resultSeverity sh:Violation ; + sh:sourceConstraintComponent sh:ClassConstraintComponent ; + sh:sourceShape [ + sh:class observable:Observable ; + sh:path core:target ; + ] ; + sh:value ; + ] , + [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "Value does not have class observable:Observable" ; + sh:resultPath core:target ; + sh:resultSeverity sh:Violation ; + sh:sourceConstraintComponent sh:ClassConstraintComponent ; + sh:sourceShape [ + sh:class observable:Observable ; + sh:path core:target ; + ] ; + sh:value ; + ] , + [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "UcoThings are suggested to end with a UUID." ; + sh:resultSeverity sh:Info ; + sh:sourceConstraint [ + a sh:SPARQLConstraint ; + rdfs:seeAlso ; + sh:message "UcoThings are suggested to end with a UUID."@en ; + sh:select ''' PREFIX rdfs: PREFIX core: SELECT $this @@ -32,10 +60,11 @@ ) } ''' ; - ] ; - sh:sourceConstraintComponent sh:SPARQLConstraintComponent ; - sh:sourceShape core:UcoThing-identifier-regex-shape ; - sh:value ; - ] ; + ] ; + sh:sourceConstraintComponent sh:SPARQLConstraintComponent ; + sh:sourceShape core:UcoThing-identifier-regex-shape ; + sh:value ; + ] + ; . diff --git a/examples/illustrations/cell_site/cell_site_validation-unstable.ttl b/examples/illustrations/cell_site/cell_site_validation-unstable.ttl index fbc74a5d..319fce10 100644 --- a/examples/illustrations/cell_site/cell_site_validation-unstable.ttl +++ b/examples/illustrations/cell_site/cell_site_validation-unstable.ttl @@ -1,4 +1,5 @@ @prefix core: . +@prefix observable: . @prefix owl: . @prefix rdf: . @prefix rdfs: . @@ -7,17 +8,48 @@ [] a sh:ValidationReport ; - sh:conforms "true"^^xsd:boolean ; - sh:result [ - a sh:ValidationResult ; - sh:focusNode ; - sh:resultMessage "UcoThings are suggested to end with a UUID." ; - sh:resultSeverity sh:Info ; - sh:sourceConstraint [ - a sh:SPARQLConstraint ; - rdfs:seeAlso ; - sh:message "UcoThings are suggested to end with a UUID."@en ; - sh:select ''' + sh:conforms "false"^^xsd:boolean ; + sh:result + [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "The target on an ObservableRelationship is expected to be typed as an Observable, and the noted value node is not. This will be an error in UCO 2.0.0."@en ; + sh:resultPath core:target ; + sh:resultSeverity sh:Warning ; + sh:sourceConstraintComponent sh:ClassConstraintComponent ; + sh:sourceShape [ + sh:class observable:Observable ; + sh:message "The target on an ObservableRelationship is expected to be typed as an Observable, and the noted value node is not. This will be an error in UCO 2.0.0."@en ; + sh:path core:target ; + sh:severity sh:Warning ; + ] ; + sh:value ; + ] , + [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "The target on an ObservableRelationship is expected to be typed as an Observable, and the noted value node is not. This will be an error in UCO 2.0.0."@en ; + sh:resultPath core:target ; + sh:resultSeverity sh:Warning ; + sh:sourceConstraintComponent sh:ClassConstraintComponent ; + sh:sourceShape [ + sh:class observable:Observable ; + sh:message "The target on an ObservableRelationship is expected to be typed as an Observable, and the noted value node is not. This will be an error in UCO 2.0.0."@en ; + sh:path core:target ; + sh:severity sh:Warning ; + ] ; + sh:value ; + ] , + [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "UcoThings are suggested to end with a UUID." ; + sh:resultSeverity sh:Info ; + sh:sourceConstraint [ + a sh:SPARQLConstraint ; + rdfs:seeAlso ; + sh:message "UcoThings are suggested to end with a UUID."@en ; + sh:select ''' PREFIX rdfs: PREFIX core: SELECT $this @@ -32,10 +64,11 @@ ) } ''' ; - ] ; - sh:sourceConstraintComponent sh:SPARQLConstraintComponent ; - sh:sourceShape core:UcoThing-identifier-regex-shape ; - sh:value ; - ] ; + ] ; + sh:sourceConstraintComponent sh:SPARQLConstraintComponent ; + sh:sourceShape core:UcoThing-identifier-regex-shape ; + sh:value ; + ] + ; .