Skip to content

Commit

Permalink
Merge pull request #322 from w3c/dcat-issue300-simon
Browse files Browse the repository at this point in the history
Remove blank nodes from examples
  • Loading branch information
davebrowning committed Aug 24, 2018
2 parents a8c3770 + 176d32e commit 4f679e7
Showing 1 changed file with 72 additions and 47 deletions.
119 changes: 72 additions & 47 deletions dcat/index.html
Expand Up @@ -239,16 +239,41 @@ <h3>Classifying dataset types</h3>
The type or genre of a dataset <em title="MAY" class="rfc2119">MAY</em> be indicated using the <a href="http://purl.org/dc/terms/type">dct:type</a> property.
The value of the property <em title="SHOULD" class="rfc2119">SHOULD</em> be taken from a well governed and broadly recognised set of resource types, such as the <a href="http://dublincore.org/documents/dcmi-terms/#section-7">DCMI Type Vocabulary</a>, the <a href="https://id.loc.gov/vocabulary/marcgt.html">MARC Genre/Terms Scheme</a>, the <a href="https://schema.datacite.org/meta/kernel-4.1/include/datacite-resourceType-v4.1.xsd">DataCite resource types</a> or the PARSE.Insight content-types from Re3data [[re3data-schema]].
</p>
<p>
In the following examples a (notional) dataset is classified separately using a values from different vocabularies.
</p>
<pre>
:dataset-001
rdf:type dcat:Dataset ;
dct:type &lt;http://purl.org/dc/dcmitype/Text&gt; ;
.

:dataset-001
rdf:type dcat:Dataset ;
dct:type &lt;http://id.loc.gov/vocabulary/marcgt/man&gt; ;
.
</pre>
<p>
It is also possible for multiple classifications to be present in a single description.
</p>
<pre>
:dataset-001
rdf:type dcat:Dataset ;
dct:type &lt;http://purl.org/dc/dcmitype/Text&gt; ;
dct:type &lt;http://id.loc.gov/vocabulary/marcgt/man&gt; ;
dct:type [ rdfs:label "Text" ; dct:source "DataCite resource types" ; ] ;
dct:type &lt;http://registry.it.csiro.au/def/datacite/resourceType/Text&gt; ;
dct:type [ rdfs:label "Standard office documents" ; dct:source "Re3data content types" ; ] ;
dct:type &lt;http://registry.it.csiro.au/def/re3data/contentType/doc&gt; ;
.

&lt;http://registry.it.csiro.au/def/datacite/resourceType/Text&gt;
rdfs:label "Text" ;
dct:source "DataCite resource types" ;
.

&lt;http://registry.it.csiro.au/def/re3data/contentType/doc&gt;
rdfs:label "Standard office documents" ;
dct:source "Re3data content types" ;
.
</pre>

</section>
Expand Down Expand Up @@ -320,56 +345,56 @@ <h3>Loosely structured catalog</h3>
If the nature of the relationships between a dataset and component resources in a catalogue, repository, or elsewhere are not known, <b>dct:relation</b> can be used:
</p>
<pre>
:d33937
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d"^^xsd:anyURI ;
dct:relation <https://vocabs.ands.org.au/viewById/196> ;
dct:relation :ChronostratChart2017-02.pdf ;
dct:relation :ChronostratChart2017-02.jpg ;
dct:relation :timescale.zip ;
dct:relation :isc2017.jsonld ;
dct:relation :isc2017.nt ;
dct:relation :isc2017.rdf ;
dct:relation :isc2017.ttl ;
.
:d33937
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d"^^xsd:anyURI ;
dct:relation &lt;https://vocabs.ands.org.au/viewById/196&gt; ;
dct:relation :ChronostratChart2017-02.pdf ;
dct:relation :ChronostratChart2017-02.jpg ;
dct:relation :timescale.zip ;
dct:relation :isc2017.jsonld ;
dct:relation :isc2017.nt ;
dct:relation :isc2017.rdf ;
dct:relation :isc2017.ttl ;
.
</pre>
<p>
If it is clear that any of these related resources is a proper <i>representation</i> of the dataset, dcat:distribution should be used.
</p>
<pre>
:d33937
rdf:type dcat:Dataset ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d"^^xsd:anyURI ;
dct:relation <https://vocabs.ands.org.au/viewById/196> ;
dct:relation :ChronostratChart2017-02.pdf ;
dct:relation :ChronostratChart2017-02.jpg ;
dct:relation :timescale.zip ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.jsonld ;
dcat:byteSize "698039"^^xsd:decimal ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/ld+json> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.nt ;
dcat:byteSize "2047874"^^xsd:decimal ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/n-triples> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.rdf ;
dcat:byteSize "1600569"^^xsd:decimal ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/rdf+xml> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.ttl ;
dcat:byteSize "531703"^^xsd:decimal ;
dcat:mediaType <https://www.iana.org/assignments/media-types/text/turtle> ;
] ;
.
:d33937
rdf:type dcat:Dataset ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d"^^xsd:anyURI ;
dct:relation &lt;https://vocabs.ands.org.au/viewById/196&gt; ;
dct:relation :ChronostratChart2017-02.pdf ;
dct:relation :ChronostratChart2017-02.jpg ;
dct:relation :timescale.zip ;
dcat:distribution :d33937-jsonld ;
dcat:distribution :d33937-nt ;
dcat:distribution :d33937-rdf ;
dcat:distribution :d33937-ttl ;
.
:d33937-jsonld rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.jsonld ;
dcat:byteSize "698039"^^xsd:decimal ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/ld+json&gt; ;
.
:d33937-nt rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.nt ;
dcat:byteSize "2047874"^^xsd:decimal ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/n-triples&gt; ;
.
:d33937-rdf rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.rdf ;
dcat:byteSize "1600569"^^xsd:decimal ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/rdf+xml&gt; ;
.
:d33937-ttl rdf:type dcat:Distribution ;
dcat:downloadURL :isc2017.ttl ;
dcat:byteSize "531703"^^xsd:decimal ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/turtle&gt; ;
.
</pre>
</section>

Expand Down

0 comments on commit 4f679e7

Please sign in to comment.