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

Re: [dxwg] dcat:mediaType - check constraints

From: Simon Cox via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 Jul 2018 00:30:33 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-405129729-1531701032-sysbot+gh@w3.org>
1. Is there a reason for the range to be `dct:MediaTypeOrExtent` ? 
I suggest it would be better tightened to `dct:MediaType`

2, There does not appear to be a content model defined for `dct:MediaType` . 
What is recommended usage? Here's a couple of options:

```
      dcat:mediaType [
          rdf:type dcterms:MediaType ;
          rdfs:isDefinedBy <https://www.iana.org/assignments/media-types/application/rdf+xml> ;
          rdfs:label "application/rdf+xml" ;
        ] ;
```
or 
```
      dcat:mediaType <https://www.iana.org/assignments/media-types/application/rdf+xml> ;
```

-- 
GitHub Notification of comment by dr-shorthair
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/127#issuecomment-405129729 using your GitHub account
Received on Monday, 16 July 2018 00:30:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 25 March 2019 10:33:24 UTC