MaatDeamon
MaatDeamon

Reputation: 9771

What is the preferred approach to express pure SHACL shape inheritance

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 recommend?

bShape rdfs:subClassOf aShape; 

or

bShape sh:node aShape ; 

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

Upvotes: 0

Views: 49

Answers (0)

Related Questions