bsh:SubPropertyOfRule leaf node


URI

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

Label

SubPropertyOfRule

Targets (1)

  • rdfs:subPropertyOf sh:targetSubjectsOf

Implementation

@prefix bsh: <https://brickschema.org/schema/BrickShape#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

bsh:SubPropertyOfRule a sh:NodeShape ;
    sh:rule [ a sh:SPARQLRule ;
            sh:construct """
CONSTRUCT {
   ?s ?t2 ?o .
} WHERE {
    ?s $this ?o .
    { $this rdfs:subPropertyOf ?t2 }
}""" ;
            sh:prefixes <https://brickschema.org/schema/1.4/Brick> ] ;
    sh:targetSubjectsOf rdfs:subPropertyOf .