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

Re: [dxwg] Clarify PROF's relation to constraint languages (#721)

From: Nicholas Car via GitHub <sysbot+gh@w3.org>
Date: Thu, 31 Jan 2019 07:14:57 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-459241013-1548918896-sysbot+gh@w3.org>
PROF does not set any constraints itself; it only presents a way of describing Profile relations (to Standards and perhaps other Profiles) and profile components (via prof:ResourceDescriptors). PROF leaves to constraint languages in general, of which SHACL is one, to specify particular constrains for particular profiles.

An example: If Profile X of Standard Y imposed additional constraints on it and those constraints were presented using SHACL, you may have prof:Profile and prof:ResourceDescriptor RDF like this:

    rdf:type prof:Profile ;
    rdfs:label "Profile X" ;
    prof:isProfileOf <Standard_Y> ;
    prof:hasResource _:1 .

    rdf:type prof:ResourceDescriptor ;
    rdfs:label                "Profile-only constraints in SHACL" ;
    dct:conformsTo    <http://www.w3.org/ns/shacl#> ; # SHACL
    dct:format             <https://w3id.org/mediatype/text/turtle> ;
    prof:hasRole         role:ExtensionConstraints ;  # these constraints are in addition to the Standard Y constraints and does not include them
    prof:hasArtifact   <an_rdf_file_on_the_web.ttl> .

So <an_rdf_file_on_the_web.ttl> here contains SHACL Shapes graphs for use with this Profile but the profile description itself, this RDF, does not.

If this answers the question, where should a version of this be included in PROF? Alignments as a Note?

GitHub Notification of comment by nicholascar
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/721#issuecomment-459241013 using your GitHub account
Received on Thursday, 31 January 2019 07:14:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 April 2019 13:45:06 UTC