Skip to content

Commit

Permalink
Move descriptions of related resources out of DCAT resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Cox committed Feb 11, 2019
1 parent c6df1ea commit 75c43f2
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 151 deletions.
104 changes: 60 additions & 44 deletions dcat/examples/csiro-stratchart.ttl
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# baseURI: https://data.csiro.au/dataset/d33937/
# imports: http://www.w3.org/ns/dcat

@prefix dap: <https://data.csiro.au/dataset/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix proj: <http://www.w3.org/ns/project#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
Expand All @@ -11,14 +15,65 @@
@prefix v: <http://www.w3.org/2006/vcard/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg>
rdf:type foaf:Document ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:format <https://www.iana.org/assignments/media-types/img/jpeg> ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
dct:type <http://purl.org/dc/dcmitype/Image> ;
.
<http://stratigraphy.org/ICSchart/ChronostratChart2017-02.pdf>
rdf:type foaf:Document ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:format <https://www.iana.org/assignments/media-types/application/pdf> ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
dct:type <http://purl.org/dc/dcmitype/Image> ;
.
dap:d33937
rdf:type dcat:Dataset ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:conformsTo <http://resource.geosciml.org/ontology/timescale/gts> ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d" ;
dct:issued "2018-07-07"^^xsd:date ;
dct:license <https://creativecommons.org/licenses/by/4.0/> ;
dct:publisher <http://www.csiro.au> ;
dct:relation <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg> ;
dct:relation <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.pdf> ;
dct:relation [
rdf:type dcat:Dataset ;
dct:conformsTo <https://www.w3.org/TR/owl2-overview/> ;
dct:description "This is an RDF/OWL representation of the GeoSciML Geologic Timescale model ..." ;
dct:issued "2011-01-01"^^xsd:date ;
dct:issued "2017-04-28"^^xsd:date ;
dct:title "Geologic Timescale model" ;
dct:type <http://purl.org/adms/assettype/DomainModel> ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts.html> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/text/html> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts.rdf> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/rdf+xml> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts.ttl> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/text/turtle> ;
] ;
dcat:landingPage <http://resource.geosciml.org/ontology/timescale/gts> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:conformsTo <https://www.w3.org/TR/rdf-schema/> ;
dcat:accessService [
rdf:type dcat:DataDistributionService ;
dcat:landingPage <https://vocabs.ands.org.au/viewById/196> ;
] ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.jsonld" ;
Expand All @@ -39,48 +94,9 @@ dap:d33937
dct:identifier "isc2017.ttl" ;
dcat:mediaType <https://www.iana.org/assignments/media-types/text/turtle> ;
] ;
dct:relation [
rdf:type foaf:Document ;
dct:type <http://purl.org/dc/dcmitype/Image> ;
dcat:downloadURL <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/img/jpeg> ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
] ;
dct:relation [
rdf:type foaf:Document ;
dct:type <http://purl.org/dc/dcmitype/Image> ;
dcat:downloadURL <http://stratigraphy.org/ICSchart/ChronostratChart2017-02.pdf> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/pdf> ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
] ;
dct:relation [
rdf:type dcat:Dataset ;
dct:type <http://purl.org/adms/assettype/DomainModel> ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts.ttl> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/text/turtle> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts.rdf> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/application/rdf+xml> ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts.html> ;
dcat:mediaType <https://www.iana.org/assignments/media-types/text/html> ;
] ;
dcat:landingPage <http://resource.geosciml.org/ontology/timescale/gts> ;
dct:conformsTo <https://www.w3.org/TR/owl2-overview/> ;
dct:description "This is an RDF/OWL representation of the GeoSciML Geologic Timescale model ..." ;
dct:issued "2011-01-01"^^xsd:date ;
dct:issued "2017-04-28"^^xsd:date ;
dct:title "Geologic Timescale model" ;
] ;
dcat:landingPage <https://data.csiro.au/dap/landingpage?pid=csiro:33937> ;
.
<https://data.csiro.au/dataset/d33937/>
rdf:type owl:Ontology ;
owl:imports <http://www.w3.org/ns/dcat> ;
.
223 changes: 116 additions & 107 deletions dcat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3600,17 +3600,17 @@ <h3>Loosely structured catalog</h3>
</p>
<pre id="ex-dataset-as-bag-of-files" class="example nohighlight turtle" aria-busy="false" aria-live="polite">
: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:creator &lt;https://orcid.org/0000-0002-3884-3420&gt;;
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 ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d"^^xsd:anyURI ;
dct:creator &lt;https://orcid.org/0000-0002-3884-3420&gt;;
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>

Expand All @@ -3620,37 +3620,37 @@ <h3>Loosely structured catalog</h3>

<pre id="ex-when-using-distribution" class="example nohighlight turtle" aria-busy="false" aria-live="polite">
: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 ;
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; ;
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; ;
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; ;
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; ;
dcat:downloadURL :isc2017.ttl ;
dcat:byteSize "531703"^^xsd:decimal ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/turtle&gt; ;
.
</pre>

Expand All @@ -3663,79 +3663,88 @@ <h3>Loosely structured catalog</h3>
</p>

<pre id="ex-service-gsa" class="example nohighlight turtle" aria-busy="false" aria-live="polite">
dap:d33937
rdf:type dcat:Dataset ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:conformsTo &lt;http://resource.geosciml.org/ontology/timescale/gts&gt; ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d" ;
dct:issued "2018-07-07"^^xsd:date ;
dct:license &lt;https://creativecommons.org/licenses/by/4.0/&gt; ;
dct:publisher &lt;http://www.csiro.au&gt; ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.jsonld" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/ld+json&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.nt" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/n-triples&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.rdf" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/rdf+xml&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.ttl" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/turtle&gt; ;
] ;
dct:relation [
rdf:type foaf:Document ;
dct:type &lt;http://purl.org/dc/dcmitype/Image&gt; ;
dcat:downloadURL &lt;http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/img/jpeg&gt; ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
] ;
dct:relation [
rdf:type foaf:Document ;
dct:type &lt;http://purl.org/dc/dcmitype/Image&gt; ;
dcat:downloadURL &lt;http://stratigraphy.org/ICSchart/ChronostratChart2017-02.pdf&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/pdf&gt; ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
] ;
dct:relation [
rdf:type dcat:Dataset ;
dct:type &lt;http://purl.org/adms/assettype/DomainModel&gt; ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL &lt;http://resource.geosciml.org/ontology/timescale/gts.ttl&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/turtle&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL &lt;http://resource.geosciml.org/ontology/timescale/gts.rdf&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/rdf+xml&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL &lt;http://resource.geosciml.org/ontology/timescale/gts.html&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/html&gt; ;
] ;
dcat:landingPage &lt;http://resource.geosciml.org/ontology/timescale/gts&gt; ;
dct:conformsTo &lt;https://www.w3.org/TR/owl2-overview/&gt; ;
dct:description "This is an RDF/OWL representation of the GeoSciML Geologic Timescale model ..." ;
dct:issued "2011-01-01"^^xsd:date ;
dct:issued "2017-04-28"^^xsd:date ;
dct:title "Geologic Timescale model" ;
] ;
dcat:landingPage &lt;https://data.csiro.au/dap/landingpage?pid=csiro:33937&gt; ;
.
dap:d33937
rdf:type dcat:Dataset ;
dct:description "A set of RDF graphs representing the International [Chrono]stratigraphic Chart, ..." ;
dct:conformsTo &lt;http://resource.geosciml.org/ontology/timescale/gts&gt; ;
dct:identifier "https://doi.org/10.25919/5b4d2b83cbf2d" ;
dct:issued "2018-07-07"^^xsd:date ;
dct:license &lt;https://creativecommons.org/licenses/by/4.0/&gt; ;
dct:publisher &lt;http://www.csiro.au&gt; ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:accessService [
rdf:type dcat:DataDistributionService ;
dcat:landingPage &lt;https://vocabs.ands.org.au/viewById/196&gt; ;
] ;
dct:conformsTo &lt;https://www.w3.org/TR/rdf-schema/&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.jsonld" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/ld+json&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.nt" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/n-triples&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.rdf" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/rdf+xml&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dct:identifier "isc2017.ttl" ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/turtle&gt; ;
] ;
dct:relation &lt;http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg&gt; ;
dct:relation &lt;http://stratigraphy.org/ICSchart/ChronostratChart2017-02.pdf&gt; ;
dct:relation [
rdf:type dcat:Dataset ;
dct:type &lt;http://purl.org/adms/assettype/DomainModel&gt; ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL &lt;http://resource.geosciml.org/ontology/timescale/gts.ttl&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/turtle&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL &lt;http://resource.geosciml.org/ontology/timescale/gts.rdf&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/application/rdf+xml&gt; ;
] ;
dcat:distribution [
rdf:type dcat:Distribution ;
dcat:downloadURL &lt;http://resource.geosciml.org/ontology/timescale/gts.html&gt; ;
dcat:mediaType &lt;https://www.iana.org/assignments/media-types/text/html&gt; ;
] ;
dcat:landingPage &lt;http://resource.geosciml.org/ontology/timescale/gts&gt; ;
dct:conformsTo &lt;https://www.w3.org/TR/owl2-overview/&gt; ;
dct:description "This is an RDF/OWL representation of the GeoSciML Geologic Timescale model ..." ;
dct:issued "2011-01-01"^^xsd:date ;
dct:issued "2017-04-28"^^xsd:date ;
dct:title "Geologic Timescale model" ;
] ;
dcat:landingPage &lt;https://data.csiro.au/dap/landingpage?pid=csiro:33937&gt; ;
.

&lt;http://stratigraphy.org/ICSchart/ChronostratChart2017-02.jpg&gt;
rdf:type foaf:Document ;
dct:type &lt;http://purl.org/dc/dcmitype/Image&gt; ;
dct:format &lt;https://www.iana.org/assignments/media-types/img/jpeg&gt; ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
.
&lt;http://stratigraphy.org/ICSchart/ChronostratChart2017-02.pdf&gt;
rdf:type foaf:Document ;
dct:type &lt;http://purl.org/dc/dcmitype/Image&gt; ;
dct:format &lt;https://www.iana.org/assignments/media-types/application/pdf&gt; ;
dct:description "Coloured image representation of the International Chronostratigraphic Chart" ;
dct:issued "2017-02-01"^^xsd:date ;
dct:title "International Chronostratigraphic Chart" ;
.
</pre>
<p>
This example is available from the <a href="https://github.com/w3c/dxwg/tree/gh-pages/dcat/examples">DXWG code repository</a> at <a href="https://raw.githubusercontent.com/w3c/dxwg/gh-pages/dcat/examples/csiro-stratchart.ttl">csiro-stratchart.ttl</a>
Expand Down

0 comments on commit 75c43f2

Please sign in to comment.