uco-owl:Disjointedness-AP-DP-shape leaf node


URI

https://ontology.unifiedcyberontology.org/owl/Disjointedness-AP-DP-shape

Label

Disjointedness-AP-DP-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:Disjointedness-AP-DP-shape a sh:NodeShape ;
    sh:sparql [ a sh:SPARQLConstraint ;
            rdfs:seeAlso <https://www.w3.org/TR/2012/REC-owl2-syntax-20121211/#Typing_Constraints_of_OWL_2_DL> ;
            sh:message "An IRI may not be a member of both an owl:AnnotationProperty and owl:DatatypeProperty."@en ;
            sh:select """
			PREFIX owl: <http://www.w3.org/2002/07/owl#>
			SELECT $this
			WHERE {
				$this a owl:DatatypeProperty ;
			}
		""" ] ;
    sh:targetClass owl:AnnotationProperty .