Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

1.3 KB
Raw Blame
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix sht: <http://www.w3.org/ns/shacl-test#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

@prefix ex: <http://example.org/shacl-test/> .

<> a mf:Manifest ;
  mf:entries (
      <xone-duplicate>
    ) .

<xone-duplicate> a sht:Validate;
  rdfs:label "Test of validation report for shape xone-duplicate by property constraints" ;
  mf:action [ sht:dataGraph <xone-duplicate-data.ttl> ;
              sht:shapesGraph <xone-duplicate-shapes.ttl> ] ;
  mf:result [ rdf:type sh:ValidationReport ;
              sh:conforms "false"^^xsd:boolean ;
	      sh:result [ rdf:type sh:ValidationResult ;
 	      		  sh:resultSeverity sh:Violation ;
 			  sh:focusNode ex:i ;
 			  sh:value ex:i ;
 			  sh:sourceShape ex:s1 ;
 			  sh:sourceConstraintComponent sh:XoneConstraintComponent ] ;
	      sh:result [ rdf:type sh:ValidationResult ;
 	      		  sh:resultSeverity sh:Violation ;
 			  sh:focusNode ex:j ;
 			  sh:value ex:j ;
 			  sh:sourceShape ex:s1 ;
 			  sh:sourceConstraintComponent sh:XoneConstraintComponent ] ] ;
  mf:status sht:approved .