Skip to content

Commit

Permalink
Merge pull request #307 from w3c/dcat-issue170-simon
Browse files Browse the repository at this point in the history
fix mediaType examples
  • Loading branch information
davebrowning committed Jul 18, 2018
2 parents 61abbb3 + a0bef3e commit 911ebdf
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions dcat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ <h3>Basic Example</h3>
</p>
<pre> &nbsp;:dataset-001-csv
a dcat:Distribution&nbsp;;
dcat:downloadURL &lt;http://www.example.org/files/001.csv&gt;&nbsp;;
dct:title "CSV distribution of imaginary dataset 001"&nbsp;;
dcat:mediaType "text/csv" ;
dcat:downloadURL &lt;http://www.example.org/files/001.csv&gt; ;
dct:title "CSV distribution of imaginary dataset 001" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/csv&gt; ;
dcat:byteSize "5120"^^xsd:decimal ;
.
</pre>
Expand Down Expand Up @@ -283,7 +283,7 @@ <h3>Dataset available only behind some Web page</h3>
&nbsp;:dataset-002-csv
a dcat:Distribution ;
dcat:accessURL &lt;http://example.org/dataset-002.html&gt; ;
dcat:mediaType "text/csv" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/csv&gt; ;
.
</pre>

Expand All @@ -301,8 +301,8 @@ <h3>A dataset available as a download and behind some Web page</h3>
.
&nbsp;:dataset-003-csv
a dcat:Distribution ;
dcat:downloadURL &lt;http://example.org/dataset-003.csv&gt; .
dcat:mediaType "text/csv" ;
dcat:downloadURL &lt;http://example.org/dataset-003.csv&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/csv&gt; ;
.
</pre>
Notice that we used dcat:downloadURL with the downloadable distribution and that the other distribution accessible through the landing page
Expand Down Expand Up @@ -2062,6 +2062,10 @@ <h3>Changes since the W3C Recommendation of 16 January 2014</h3>
<p>The document has undergone the following changes since the W3C Recommendation of 16 January 2014 [[VOCAB-DCAT-20140116]]:</p>

<ul>
<li>
Errors in examples of <a href="#Property:distribution_media_type">dcat:mediaType</a> usage fixed - see <a href="https://github.com/w3c/dxwg/issues/170">Issue #170</a>.
</li>

<li>
<a href="#quality-information">Quality information</a>: Recommendations for how to associate quality information to datasets using elements from the W3C DQV vocabulary [[vocab-dqv]] are provided. Since [[vocab-dqv]] is not a rec-track document, these are non-normative - see <a href="https://github.com/w3c/dxwg/issues/57">Issue #57</a> and <a href="https://github.com/w3c/dxwg/issues/58">Issue #58</a>.
</li>
Expand Down

0 comments on commit 911ebdf

Please sign in to comment.