W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > March 2019

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

From: Nicholas Car via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Mar 2019 23:31:47 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-470319897-1551915106-sysbot+gh@w3.org>
> Is this correct? 


> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:15 UTC