uco-owl:incompatibleWith-imported-ontology-iri-shape leaf node


URI

https://ontology.unifiedcyberontology.org/owl/incompatibleWith-imported-ontology-iri-shape

Label

incompatibleWith-imported-ontology-iri-shape

Implementation

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-owl: <https://ontology.unifiedcyberontology.org/owl/> .

uco-owl:incompatibleWith-imported-ontology-iri-shape a sh:NodeShape ;
    rdfs:seeAlso <https://www.w3.org/TR/owl2-syntax/#Imports> ;
    sh:message "'The import closure of [ontology] O SHOULD NOT contain ontologies O_1 and O_2 such that ... O_1 contains an ontology annotation owl:incompatibleWith with the value equal to either the ontology IRI or the version IRI of O_2.'  The focusNode, or a versionIRI of it, is imported within the transitive closure of some O, but is incompatible with some O_1 also within the transitive closure of O."@en ;
    sh:not [ a sh:NodeShape ;
            sh:class owl:Ontology ;
            sh:description "This node having a class-designation of owl:Ontology implies it is an ontology 'O_2' defined in the transitive closure of an ontology 'O_1' that declared itself incompatible with 'O_2'."@en ] ;
    sh:severity sh:Warning ;
    sh:targetObjectsOf owl:incompatibleWith .