From 1315e0e23ff2cc500fb1fcc72aa34a3608ce21fc Mon Sep 17 00:00:00 2001 From: Simon Cox Date: Fri, 8 Feb 2019 10:07:52 +1100 Subject: [PATCH] Show asset-distributions of ontology --- dcat/examples/csiro-stratchart.ttl | 24 ++++++++++++++++-------- dcat/index.html | 14 +++++++++++--- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/dcat/examples/csiro-stratchart.ttl b/dcat/examples/csiro-stratchart.ttl index 52ec14973..8c0732e29 100644 --- a/dcat/examples/csiro-stratchart.ttl +++ b/dcat/examples/csiro-stratchart.ttl @@ -23,28 +23,28 @@ dap:d33937 dcat:distribution [ rdf:type dcat:Distribution ; dct:identifier "isc2017.jsonld" ; - dcat:mediaType "application/ld+json" ; + dcat:mediaType ; ] ; dcat:distribution [ rdf:type dcat:Distribution ; dct:identifier "isc2017.nt" ; - dcat:mediaType "application/n-triples" ; + dcat:mediaType ; ] ; dcat:distribution [ rdf:type dcat:Distribution ; dct:identifier "isc2017.rdf" ; - dcat:mediaType "application/rdf+xml" ; + dcat:mediaType ; ] ; dcat:distribution [ rdf:type dcat:Distribution ; dct:identifier "isc2017.ttl" ; - dcat:mediaType "text/turtle" ; + dcat:mediaType ; ] ; dct:relation [ rdf:type foaf:Document ; dct:type ; dcat:downloadURL ; - dcat:mediaType "img/jpeg" ; + dcat:mediaType ; dct:description "Coloured image representation of the International Chronostratigraphic Chart" ; dct:issued "2017-02-01"^^xsd:date ; dct:title "International Chronostratigraphic Chart" ; @@ -53,7 +53,7 @@ dap:d33937 rdf:type foaf:Document ; dct:type ; dcat:downloadURL ; - dcat:mediaType "application/pdf" ; + dcat:mediaType ; dct:description "Coloured image representation of the International Chronostratigraphic Chart" ; dct:issued "2017-02-01"^^xsd:date ; dct:title "International Chronostratigraphic Chart" ; @@ -61,9 +61,17 @@ dap:d33937 dct:relation [ rdf:type adms:Asset ; dct:type ; - dcat:downloadURL ; + dcat:distribution [ + rdf:type dcat:Distribution ; + dcat:downloadURL ; + dcat:mediaType ; + ] ; + dcat:distribution [ + rdf:type dcat:Distribution ; + dcat:downloadURL ; + dcat:mediaType ; + ] ; dcat:landingPage ; - dcat:mediaType "text/turtle" ; dct:conformsTo ; dct:description "This is an RDF/OWL representation of the GeoSciML Geologic Timescale model ..." ; dct:issued "2011-01-01"^^xsd:date ; diff --git a/dcat/index.html b/dcat/index.html index 4ab55e652..c1ede89e9 100644 --- a/dcat/index.html +++ b/dcat/index.html @@ -656,7 +656,7 @@

Definitions of external elements

- +

Class: Catalog

The following properties are recommended for use on this class: @@ -3710,9 +3710,17 @@

Loosely structured catalog

dct:relation [ rdf:type adms:Asset ; dct:type <http://purl.org/adms/assettype/DomainModel> ; - dcat:downloadURL <http://resource.geosciml.org/ontology/timescale/gts> ; + 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:landingPage <http://resource.geosciml.org/ontology/timescale/gts> ; - dcat:mediaType <https://www.iana.org/assignments/media-types/text/turtle> ; 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 ;