Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant