W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > July 2018

Re: [dxwg] Best practice for a loosely-structured catalog

From: Simon Cox via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Jul 2018 00:08:56 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-405418358-1531786135-sysbot+gh@w3.org>
OK - I've updated the [example above](https://github.com/w3c/dxwg/issues/253#issuecomment-403193007) to interpose a `dcat:Dataset` node in front of the distributions (currently a blank node - sorry @jakubklimek). 

In the case of the `dct:isFormatOf` relation the predecessor resource is an Image. I've added an additional distribution of the image to reinforce the message. 
```
dap:d33937
  rdf:type dcat:Dataset ;
  dcterms:title "RDF representation of 2017 edition of International Chronostratigraphic Chart (Geologic Timescale)" ;
  dcterms:isFormatOf [
      rdf:type dcat:Dataset ;
      dcterms:source <http://stratigraphy.org/index.php/ics-chart-timescale> ;
      dcterms:title "Graphical representation of 2017 edition of International Chronostratigraphic Chart (Geologic Timescale)" ;
      dcterms:type dctype:Image ;
      dcat:distribution [
          rdf:type dcat:Distribution ;
          dcterms:identifier "ChronostratChart2017-02.jpg" ;
          dcat:accessURL <https://data.csiro.au/dap/landingpage?pid=csiro:33937> ;
          dcat:byteSize "1629104"^^xsd:decimal ;
          dcat:mediaType <https://www.iana.org/assignments/media-types/image/jpeg> ;
        ] ;
      dcat:distribution [
          rdf:type dcat:Distribution ;
          dcterms:identifier "ChronostratChart2017-02.pdf" ;
          dcat:accessURL <https://data.csiro.au/dap/landingpage?pid=csiro:33937> ;
          dcat:byteSize "296233"^^xsd:decimal ;
          dcat:mediaType <https://www.iana.org/assignments/media-types/application/pdf> ;
        ] ;
    ] ;
.
```
In the case of the `dct:references` relation the target has type `owl:Ontology`. 
```
dap:d33937
  rdf:type dcat:Dataset ;
  dcterms:references [
      rdf:type dcat:Dataset ;
      dcterms:title "Geological timescale ontology" ;
      dcterms:type owl:Ontology ;
      dcat:distribution [
          dcterms:identifier "timescale.zip" ;
          dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
          dcat:accessURL <https://data.csiro.au/dap/landingpage?pid=csiro:33937> ;
          dcat:mediaType <https://www.iana.org/assignments/media-types/application/zip> ;
        ] ;
    ] ;
.
```
Since the latter case referes to an OWL ontology serialized in Turtle in a zip archive, it will need updating pending the resolution of #259 .

-- 
GitHub Notification of comment by dr-shorthair
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/253#issuecomment-405418358 using your GitHub account
Received on Tuesday, 17 July 2018 00:09:04 UTC

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