0

I have a quick question about the best way to express inheritance between pure shacl shapes.

E.g.

:aShape a sh:nodeShape . :bshape a sh:nodeShape .

Are the following 2 options equivalent, and which one is the reocmmended ?

bShape rdfs:subClassOf aShape; or bShape sh:node aShape ;

The goal is to have bShape inherit the property of aShape.

Thanks

MaatDeamon
  • 9,532
  • 9
  • 60
  • 127
  • The SHACL user community is also on Discord and there was a discussion about inheritance on the #shacl-support channel: (registration required) https://discord.com/channels/911006583067144212/911017258900398110/1101232770904244277 – AndyS Sep 02 '23 at 17:46

0 Answers0