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.

394 B
Raw Blame
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix ex: <http://example.org/> .
ex:PersonShape a sh:NodeShape ;
    sh:targetClass ex:Person ;
    sh:sparql [
        a sh:SPARQLConstraint ;
        sh:message "person has an acquaintance" ;
        sh:prefixes ex: ;
        sh:select """
            SELECT $this
            WHERE { $this <http://example.org/knows> ?x . }
        """
    ] .