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

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:

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

_: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