From 7c78e081a81e25daa06162ed711440046d4883d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mich=C3=A8le=20Spichtig?= Date: Tue, 19 Dec 2023 22:12:54 +0100 Subject: [PATCH] add temporal resolution and fix minor errors --- .../content/glossar/bibliothek/dcat-ap-ch.rst | 30 ++++++++++++++++--- .../distribution-temporal-resolution.rst | 11 +++++++ .../dcat-examples/dataset-conforms-to-ttl.rst | 2 +- .../dataset-documentation-ttl.rst | 9 ++---- .../dataset-qualified-relation-ttl.rst | 2 +- .../dcat-examples/dataset-theme-ttl.rst | 4 +-- .../distribution-access-url-ttl.rst | 2 +- .../distribution-documentation-ttl.rst | 7 ++--- .../dcat-examples/distribution-format-rdf.rst | 7 ++--- .../dcat-examples/distribution-format-ttl.rst | 4 +-- .../distribution-license-rdf.rst | 3 +- .../distribution-license-ttl.rst | 2 +- .../distribution-temporal-resolution-rdf.rst | 13 ++++++++ .../distribution-temporal-resolution-ttl.rst | 9 ++++++ 14 files changed, 75 insertions(+), 30 deletions(-) create mode 100644 source/content/glossar/bibliothek/dcat-definitions/distribution-temporal-resolution.rst create mode 100644 source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-rdf.rst create mode 100644 source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-ttl.rst diff --git a/source/content/glossar/bibliothek/dcat-ap-ch.rst b/source/content/glossar/bibliothek/dcat-ap-ch.rst index 0db65490..d5637d12 100644 --- a/source/content/glossar/bibliothek/dcat-ap-ch.rst +++ b/source/content/glossar/bibliothek/dcat-ap-ch.rst @@ -273,9 +273,9 @@ Translatable elements are marked as such under usage notes. * - :ref:`related resource ` - dct:relation - :fa:`exclamation` optional, **mandatory** for federal level, the legal basis must be indicated here - * - :fa:`exclamation` :ref:`qualifiedRelation ` + * - :fa:`exclamation` :ref:`qualified relation ` - dcat:qualifiedRelation - - optional :fa:`exclamation` replaces the property rdfs:seeAlso + - optional, :fa:`exclamation` replaces the property rdfs:seeAlso * - :fa:`exclamation` :ref:`documentation ` - foaf:page - optional, :fa:`exclamation` new property @@ -337,6 +337,9 @@ Translatable elements are marked as such under usage notes. * - :fa:`exclamation` :ref:`documentation ` - foaf:page - optional, :fa:`exclamation` new property + * - :fa:`exclamation` :ref:`temporal resolution ` + - dcat:temporalResolution + - optional, :fa:`exclamation` new property .. _dcat-ap-ch-catalog: @@ -570,7 +573,7 @@ dct-modified (DCAT) .. _dcat-dataset-theme: dcat:theme (DCAT) -^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^ .. container:: Mapping @@ -810,7 +813,7 @@ dct:accrual-periodicity (DCAT) .. _dcat-dataset-qualified-relation: dcat:qualifiedRelation (DCAT) -^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. container:: Mapping @@ -1145,3 +1148,22 @@ foaf:page (DCAT) :header: Property ``foaf:page`` of ``dcat:Distribution`` in Rdf/xml .. include:: dcat-examples/distribution-documentation-rdf.rst + +.. _dcat-distribution-temporal-resolution: + +dcat:temporalResolution (DCAT) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. container:: Mapping + + .. include:: dcat-definitions/distribution-temporal-resolution.rst + +.. toggle-header:: + :header: Property ``dcat:temporalResolution`` of ``dcat:Distribution`` in Turtle + + .. include:: dcat-examples/distribution-temporal-resolution-ttl.rst + +.. toggle-header:: + :header: Property ``dcat:temporalResolution`` of ``dcat:Distribution`` in Rdf/xml + + .. include:: dcat-examples/distribution-temporal-resolution-rdf.rst diff --git a/source/content/glossar/bibliothek/dcat-definitions/distribution-temporal-resolution.rst b/source/content/glossar/bibliothek/dcat-definitions/distribution-temporal-resolution.rst new file mode 100644 index 00000000..f3e6eaa1 --- /dev/null +++ b/source/content/glossar/bibliothek/dcat-definitions/distribution-temporal-resolution.rst @@ -0,0 +1,11 @@ +:DCAT URI: dcat:temporalResolution +:Domain: dcat:Distribution +:Value: ``xsd:duration`` https://www.w3.org/TR/xmlschema11-2/#duration +:Requirement Level: Optional +:Cardinality: 0..1 +:Description: Minimum time period resolvable in the dataset distribution. +:Usage Notes: If the dataset is a time-series this should correspond to the spacing + of the items in the series. For other kinds of dataset, this property will + usually indicate the smallest time difference between items in the dataset. + +:Usage Notes: Alternative temporal resolutions might be provided in different dataset distributions. diff --git a/source/content/glossar/bibliothek/dcat-examples/dataset-conforms-to-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/dataset-conforms-to-ttl.rst index 777319de..1c2b0e30 100644 --- a/source/content/glossar/bibliothek/dcat-examples/dataset-conforms-to-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/dataset-conforms-to-ttl.rst @@ -1,5 +1,5 @@ .. code-block:: Turtle - :emphasize-lines: 6,7,8,9,10 + :emphasize-lines: 7 @prefix rdf: . @prefix dcat: . diff --git a/source/content/glossar/bibliothek/dcat-examples/dataset-documentation-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/dataset-documentation-ttl.rst index e46e9367..9463f690 100644 --- a/source/content/glossar/bibliothek/dcat-examples/dataset-documentation-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/dataset-documentation-ttl.rst @@ -1,15 +1,12 @@ .. code-block:: Turtle - :emphasize-lines: 6,7,8,9,10 + :emphasize-lines: 5,6 @prefix rdf: . @prefix dcat: . @prefix foaf: . a dcat:Dataset ; - foaf:Document [ - rdf:about "https://www.covid19.admin.ch/api/data/documentation" ; - ], [ - rdf:about "https://de.wikipedia.org/wiki/Datenmanagement" ; - ] . + foaf:Document , + . diff --git a/source/content/glossar/bibliothek/dcat-examples/dataset-qualified-relation-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/dataset-qualified-relation-ttl.rst index 4b8b7fa2..48a13698 100644 --- a/source/content/glossar/bibliothek/dcat-examples/dataset-qualified-relation-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/dataset-qualified-relation-ttl.rst @@ -1,5 +1,5 @@ .. code-block:: Turtle - :caption: A ``dcat:Dataset`` with a ``rdfs:seeAlso`` in Turtle + :caption: A ``dcat:Dataset`` with a ``dcat:qualifiedRelation`` in Turtle :emphasize-lines: 6,7,8 @prefix rdf: . diff --git a/source/content/glossar/bibliothek/dcat-examples/dataset-theme-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/dataset-theme-ttl.rst index a6c22209..bbf67c9b 100644 --- a/source/content/glossar/bibliothek/dcat-examples/dataset-theme-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/dataset-theme-ttl.rst @@ -7,5 +7,5 @@ a dcat:Dataset ; - dcat:theme , - ; + dcat:theme , + ; diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-access-url-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-access-url-ttl.rst index 3d1a8cfc..b4b4836c 100644 --- a/source/content/glossar/bibliothek/dcat-examples/distribution-access-url-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-access-url-ttl.rst @@ -1,6 +1,6 @@ .. code-block:: Turtle :caption: The access url is mandatory - :emphasize-lines: 7 + :emphasize-lines: 6 @prefix dcat: . @prefix dct: . diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-documentation-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-documentation-ttl.rst index cb1e9667..e84c3393 100644 --- a/source/content/glossar/bibliothek/dcat-examples/distribution-documentation-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-documentation-ttl.rst @@ -1,13 +1,10 @@ .. code-block:: Turtle - :emphasize-lines: 6,7,8,9,10 + :emphasize-lines: 4 - @prefix rdf: . @prefix dcat: . @prefix foaf: . a dcat:Distribution ; - foaf:Document [ - rdf:about "https://www.covid19.admin.ch/api/data/documentation#data-context-api" - ] . + foaf:Document . diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-format-rdf.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-format-rdf.rst index 4c8ae43d..fa6ed96a 100644 --- a/source/content/glossar/bibliothek/dcat-examples/distribution-format-rdf.rst +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-format-rdf.rst @@ -1,14 +1,13 @@ .. code-block:: xml :caption: The format is used for distributions that have no download url - :emphasize-lines: 8 + :emphasize-lines: 7 + xmlns:dct="http://purl.org/dc/terms/"> - - + diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-format-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-format-ttl.rst index b8a01c14..791a2f50 100644 --- a/source/content/glossar/bibliothek/dcat-examples/distribution-format-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-format-ttl.rst @@ -1,12 +1,10 @@ .. code-block:: Turtle :caption: The format is used for distributions that have no download url - :emphasize-lines: 8 + :emphasize-lines: 6 @prefix dcat: . @prefix dct: . - @prefix xsd: . a dcat:Distribution ; - dcat:accessURL ; dct:format . diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-license-rdf.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-license-rdf.rst index ec647845..ea91b454 100644 --- a/source/content/glossar/bibliothek/dcat-examples/distribution-license-rdf.rst +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-license-rdf.rst @@ -1,6 +1,6 @@ .. code-block:: xml :caption: the license statement comes from a controlled vocabulary - :emphasize-lines: 8,9,10 + :emphasize-lines: 7,8,9 - diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-license-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-license-ttl.rst index 1075e470..a44534f2 100644 --- a/source/content/glossar/bibliothek/dcat-examples/distribution-license-ttl.rst +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-license-ttl.rst @@ -2,12 +2,12 @@ :caption: the license statement comes from a controlled vocabulary :emphasize-lines: 7,8,9,10 + @prefix rdf: . @prefix dcat: . @prefix dct: . a dcat:Distribution ; - dcat:accessURL ; dct:license [ rdf:type dct:LicenseDocument ; rdf:about ; diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-rdf.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-rdf.rst new file mode 100644 index 00000000..807eb549 --- /dev/null +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-rdf.rst @@ -0,0 +1,13 @@ +.. code-block:: xml + :emphasize-lines: 8 + + + + + + P1D + + \ No newline at end of file diff --git a/source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-ttl.rst b/source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-ttl.rst new file mode 100644 index 00000000..ea796fe5 --- /dev/null +++ b/source/content/glossar/bibliothek/dcat-examples/distribution-temporal-resolution-ttl.rst @@ -0,0 +1,9 @@ +.. code-block:: Turtle + :emphasize-lines: 6 + + @prefix dcat: . + @prefix xsd: . + + + a dcat:Distribution ; + dcat:temporalResolution "P1D"^^xsd:duration .