-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #275 from opendata-swiss/add-access-service
add new property access service to dcat page
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
source/content/glossar/bibliothek/dcat-definitions/distribution-access-service.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
:DCAT URI: `dcat:accessService <https://www.w3.org/TR/vocab-dcat/#Property:distribution_access_service>`__ | ||
:Domain: dcat:Distribution | ||
:Value: `dcat:DataService <https://www.w3.org/TR/vocab-dcat/#Class:Data_Service>`__ (`Class: Data Service <https://dcat-ap.ch/releases/2.0/dcat-ap-ch.html#Class:Data_Service>`__) | ||
:Requirement Level: Optional | ||
:Cardinality: 0..n | ||
:Description: This property refers to a data service that gives access to the distribution of the Dataset. | ||
:Usage Notes: The class dcat:DataService is currently not implemented in opendata.swiss and will therefore not be imported. | ||
However, if the property dcat:accessService exists in the catalogue, it will be imported and forwarded to data.europa.eu. | ||
|
17 changes: 17 additions & 0 deletions
17
...ce/content/glossar/bibliothek/dcat-examples/distribution-access-service-rdf.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.. code-block:: xml | ||
:emphasize-lines: 8 | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rdf:RDF | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:dcat="http://www.w3.org/ns/dcat#"> | ||
<rdf:Description rdf:about="https://swisstopo/opendata/123"> | ||
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#Distribution"/> | ||
<dcat:accessService rdf:resource="https://swisstopo/data/123"/> | ||
</rdf:Description> | ||
<rdf:Description rdf:about="https://swisstopo/data/123"> | ||
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#DataService"/> | ||
</rdf:Description> | ||
</rdf:RDF> |
11 changes: 11 additions & 0 deletions
11
...ce/content/glossar/bibliothek/dcat-examples/distribution-access-service-ttl.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. code-block:: Turtle | ||
:emphasize-lines: 3,4,5 | ||
@prefix dcat: <http://www.w3.org/ns/dcat#> . | ||
<https://swisstopo/opendata/123> | ||
a dcat:Distribution ; | ||
dcat:accessService <https://swisstopo/data/123> . | ||
<https://swisstopo/data/123> | ||
a dcat:DataService . |