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

Re: [dxwg] How to express available formats for a dcat:Dataservice (#1055)

From: Simon Cox via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Sep 2019 01:35:20 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-530182432-1568165719-sysbot+gh@w3.org>
Thanks @agreiner - indeed, each format corresponds with a `:Distribution`. 

There is no direct relationship from `:DataService` to `:Distribution` (see https://w3c.github.io/dxwg/dcat/#UML_DCAT_All_Attr) but I think the model is correct. 
So in order to indicate multiple formats you could do something like
```
my:DataProcessingService987 a dcat:DataService ;
    dcat:servesDataset [ a dcat:Dataset ;
        dcat:distribution [ a dcat:Distribution ;
            dcat:mediaType  <https://www.iana.org/assignments/media-types/text/csv> ;
        ] ;
        dcat:distribution [ a dcat:Distribution ;
            dcat:mediaType  <https://www.iana.org/assignments/media-types/text/turtle> ;
        ] ;
        dcat:distribution [ a dcat:Distribution ;
            dcat:mediaType  <https://www.iana.org/assignments/media-types/application/json> ;
        ] ;
    ] ;
.
```

-- 
GitHub Notification of comment by dr-shorthair
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1055#issuecomment-530182432 using your GitHub account
Received on Wednesday, 11 September 2019 01:35:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 October 2019 00:15:57 UTC