Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Shape Inheritance #1

Open
calummackervoy opened this issue Jul 14, 2023 · 0 comments
Open

Support Shape Inheritance #1

calummackervoy opened this issue Jul 14, 2023 · 0 comments

Comments

@calummackervoy
Copy link
Member

Lots of shapes we'll be using are extensions of other shapes. For example, a Vampire Shape is normally an extension of a generic Character Shape

We should support an "include" or "extends" mechanism to allow the Generic Character to define the core stuff, and Vampire just to be concerned with those extensions which are important to Vampires

A priori the best way to do this in SHACL is to use rdfs:subClassOf on the sh:NodeShape. Then existing properties can be overridden, as well as new properties extended

I think that the SHACL libraries we're using don't do the inference automatically normally and we need to do it ourselves

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant