bsh:OWLEquivalentClassRule2 leaf node


URI

https://brickschema.org/schema/BrickShape#OWLEquivalentClassRule2

Label

OWLEquivalentClassRule2

Targets (1)

  • owl:equivalentClass sh:targetObjectsOf

Implementation

@prefix bsh: <https://brickschema.org/schema/BrickShape#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

bsh:OWLEquivalentClassRule2 a sh:NodeShape ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
CONSTRUCT {
    ?s a ?t2 .
} WHERE {
    ?s a $this .
    { ?t2 owl:equivalentClass $this }
    UNION
    { $this owl:equivalentClass ?t2 }
}""" ;
            sh:prefixes <https://brickschema.org/schema/1.4/Brick> ] ;
    sh:targetObjectsOf owl:equivalentClass .