Re: [dxwg] From SHACL: profile and "base ontology" (#799)

@kcoyle 
> Is this correct? 

Yes

> If so, is there any thought of testing whether a profile is a valid profile? Meaning that it does not contradict the base. 

Yes, this is the nature of a profile.

> How would this be accomplished? If profiles we expressed in SHACL and the base ontology was also expressed in SHACL, one could think of ways SHACL could be used to check for validity of a profile.

Yes. This is one of the purposes of creating PROF with semantics that allow for the creation of profile hierarchies (`isProfileOf`) and ways of indicating resources within those profiles that serve certain purposes (`hasRole` + `ResourceRole` vocabulary) so that mechanics (code) can be written to do such testing against a profile and all the things it profiles.

This is the express purpose of Issue https://github.com/w3c/dxwg/issues/698. My pseudo code there is written do do what you ask: for a profile, find its validators and the validators of the things it profiles, join them and apply them all to a data graph to validate it.

Does this answer all points in this issue?

-- 
GitHub Notification of comment by nicholascar
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/799#issuecomment-470319897 using your GitHub account

Received on Wednesday, 6 March 2019 23:31:49 UTC