Re: [dxwg] Profiles have URI identifiers that resolve to more detailed descriptions (6.1)

Thanks, @kcoyle . So looking at [the relevant UC](https://w3c.github.io/dxwg/ucr/#ID2), I guess that "the more detailed descriptions" are specifically referring to the HTTP response headers telling which are the available profiles and, for each of them, which formats are available.

The two things are not mutually exclusive: the URI can return both such HTTP headers and the profile metadata. And actually this is approach used in the [GeoDCAT-AP API](https://webgate.ec.europa.eu/CITnet/stash/projects/ODCKAN/repos/iso-19139-to-dcat-ap/browse/api) - quoting:

<blockquote>
<p>Besides the resulting RDF serialisation of the source ISO 19139 records, the API returns a set of HTTP <a href="https://tools.ietf.org/html/rfc5988"><code>Link</code></a> headers, and the corresponding HTML LINK elements in the HTML+RDFa serialisation.</p>

<table width="100%">
  <thead>
    <tr>
      <th><a href="http://www.iana.org/assignments/link-relations/" title="IANA Link Relations">Relation type</a></th>
      <th>Type</th>
      <th>Title</th>
      <th>Target URI</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><code>derivedfrom</code></td>
      <td><code>application/xml</code></td>
      <td><code>ISO 19139</code></td>
      <td>The URL of the source document, containing the ISO 19139 records.</td>
    </tr>
    <tr>
      <td rowspan="2"><code>profile</code></td>
      <td rowspan="2">The media type of the document returned by the API.</td>
      <td><code>DCAT-AP</code></td>
      <td><code>core</code></td>
    </tr>
    <tr>
      <td><code>GeoDCAT-AP</code></td>
      <td><code>extended</code></td>
    </tr>
    <tr>
      <td><code>self</code></td>
      <td>The media type of the document returned by the API.</td>
      <td>The name of the returned RDF serialisation.</td>
      <td>The URL of the document returned by the API.</td>
    </tr>
    <tr>
      <td><code>alternate</code></td>
      <td>The media types of the alternative RDF serialisations supported by the API.</td>
      <td>The name of the relevant RDF serialisation.</td>
      <td>The URL of the document, encoded with the relevant RDF serialisation, as would be returned by the API.</td>
    </tr>
  </tbody>
</table>
</blockquote>

-- 
GitHub Notification of comment by andrea-perego
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/205#issuecomment-389766479 using your GitHub account

Received on Thursday, 17 May 2018 07:05:40 UTC