Re: [dxwg] Are PROF roles misplaced in resourceDescription? (#769)

Here are my first examples, just a stub for the profile. My question is: which of these is defined by the model, or does the model allow either? If both, is there a preferred solution? (A has one role per resource and repeats the artifact; B has all roles linked to a single resource and links the artifact only once.)

A:
<https://example.com/prof1>
    a prof:Profile ;
    prof:hasResource :dcat-ap-guidance-pdf1 ;
    prof:hasResource :dcat-ap-guidance-pdf2 ;

:dcat-ap-guidance-pdf1
    a prof:ResourceDescriptor;
    rdfs:label "DCAT-AP Guidance Document (PDF)" ;
    prof:hasRole roles:guidance ;
    dct:format <https://w3id.org/mediatypes/application/pdf> ;
    prof:hasArtifact
        <https://joinup.ec.europa.eu/rdf_entity/http_e_f_fdata_ceuropa_ceu_fw21_f17e18570_b1d77_b4171_b9df5_bb53cb4f017d4> ;

:dcat-ap-guidance-pdf2
    a prof:ResourceDescriptor;
    rdfs:label "DCAT-AP Guidance Document (PDF)" ;
    prof:hasRole roles:vocabulary ;
    dct:format <https://w3id.org/mediatypes/application/pdf> ;
    prof:hasArtifact
        <https://joinup.ec.europa.eu/rdf_entity/http_e_f_fdata_ceuropa_ceu_fw21_f17e18570_b1d77_b4171_b9df5_bb53cb4f017d4> .
  
B:
<https://example.com/prof1>
    a prof:Profile ;
    prof:hasResource :dcat-ap-guidance-pdf1 ;

:dcat-ap-guidance-pdf1
    a prof:ResourceDescriptor;
    rdfs:label "DCAT-AP Guidance Document (PDF)" ;
    prof:hasRole roles:guidance ;
    prof:hasRole roles:vocabulary ;
    dct:format <https://w3id.org/mediatypes/application/pdf> ;
    prof:hasArtifact
        <https://joinup.ec.europa.eu/rdf_entity/http_e_f_fdata_ceuropa_ceu_fw21_f17e18570_b1d77_b4171_b9df5_bb53cb4f017d4> ;

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

Received on Wednesday, 20 February 2019 15:01:52 UTC