bsh:InferSymmetricProperties leaf node


URI

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

Label

InferSymmetricProperties

Targets (1)

Implementation

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

bsh:InferSymmetricProperties a sh:NodeShape ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
CONSTRUCT {
?o ?prop $this .
$this ?prop ?o .
}
WHERE {
  { $this ?prop ?o } UNION { ?o ?prop $this } .
  ?prop a owl:SymmetricProperty .
}
			""" ;
            sh:prefixes <https://brickschema.org/schema/1.4/Brick> ] ;
    sh:targetClass brick:Entity .