Skip to content

Commit

Permalink
fix voorbeeld styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaria committed Mar 6, 2024
1 parent a3939f4 commit 0a44f20
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 70 deletions.
134 changes: 72 additions & 62 deletions doc/klassen/dcatDataset/Voorbeelden.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,82 @@
<aside class='example'><pre class="text">[prefix exampleMS: &lt;https://data.exampleMS.gov/id/dataset/&gt;
prefix adms: &lt;http://www.w3.org/ns/adms#&gt;
prefix dcat: &lt;http://www.w3.org/ns/dcat#&gt;
prefix dcatap: &lt;http://data.europa.eu/r5r/&gt;
prefix dct: &lt;http://purl.org/dc/terms/&gt;
prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;
prefix skos: &lt;http://www.w3.org/2004/02/skos/core#&gt;
prefix vcard: &lt;http://www.w3.org/2006/vcard/ns#&gt;
prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt;
</pre>
<aside class='example'>

<pre class="text">exampleMS:HVD-reporting-2023 a dcat:Catalogue;
dct:title "MS HVD Reporting 2023"@en;
dct:description "All information to provide the HVD conformance assessment for MS"@en;
dcat:dataset exampleMS:1T2p3o4B ;
dcat:service exampleMS:EAMS-APIplatform.
</pre>
```turtle
@prefix exampleMS: <https://data.exampleMS.gov/id/dataset/> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcatap: <http://data.europa.eu/r5r/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
```

<pre class="text">exampleMS:1T2p3o4B a dcat:Dataset;
dct:title "The population of bees"@en;
dct:description "This dataset provides the population of bees based on a yearly inquiry held among beekeepers and farmers in spring."@en;
dcatap:applicableLegislation &lt;http://data.europa.eu/eli/reg_impl/2023/138/oj&gt;, &lt;http://data.europa.eu/eli/dir/2007/2/2019-06-26&gt; ;
dct:publisher _:EA-MS;
dct:identifier "https://data.exampleMS.gov/id/dataset/1T2p3o4B";
adms:identifier [
dct:creator _:EA-MS;
skos:notation "https://data.exampleMS.gov/id/dataset/1T2p3o4B"
],
[
dct:creator &lt;https://dataportal.exampleMS.gov&gt;;
skos:notation "https://dataportal.exampleMS.gov/dataset/Thepopulationofbees";
];
dct:accrualPeriodicity &lt;http://publications.europa.eu/resource/authority/frequency/BIENNIAL&gt;;
dct:conformsTo &lt;https://orgea.exampleMS.gov/applicationprofile/populationOfInsects&gt;;
dcat:distribution exampleMS:1T2p3o4B-dist-SHP.
</pre>
```turtle
exampleMS:HVD-reporting-2023 a dcat:Catalogue;
dct:title "MS HVD Reporting 2023"@en;
dct:description "All information to provide the HVD conformance assessment for MS"@en;
dcat:dataset exampleMS:1T2p3o4B ;
dcat:service exampleMS:EAMS-APIplatform.
```

<pre class="text">exampleMS:1T2p3o4B-dist-SHP a dcat:Distribution;
dcat:accessURL &lt;https://orgea.exampleMS.gov/files/1T2p3o4B.shp&gt; ;
dct:conformsTo &lt;https://orgea.exampleMS.gov/dataset/1T2p3o4B/schema/shp&gt;;
dcat:spatialResolutionInMeters "25000"^^xsd:decimal;
dct:format &lt;http://publications.europa.eu/resource/authority/file-type/SHP&gt; ;
dct:license &lt;https://data.exampleMS.gov/resource/FreeAndOpen&gt;;
dcatap:applicableLegislation &lt;http://data.europa.eu/eli/reg_impl/2023/138/oj&gt;.
</pre>
```turtle
exampleMS:1T2p3o4B a dcat:Dataset;
dct:title "The population of bees"@en;
dct:description "This dataset provides the population of bees based on a yearly inquiry held among beekeepers and farmers in spring."@en;
dcatap:applicableLegislation <http://data.europa.eu/eli/reg_impl/2023/138/oj>, <http://data.europa.eu/eli/dir/2007/2/2019-06-26>;
dct:publisher _:EA-MS;
dct:identifier "https://data.exampleMS.gov/id/dataset/1T2p3o4B";
adms:identifier [
dct:creator _:EA-MS;
skos:notation "https://data.exampleMS.gov/id/dataset/1T2p3o4B"
],
[
dct:creator <https://dataportal.exampleMS.gov>;
skos:notation "https://dataportal.exampleMS.gov/dataset/Thepopulationofbees";
];
dct:accrualPeriodicity <http://publications.europa.eu/resource/authority/frequency/BIENNIAL>;
dct:conformsTo <https://orgea.exampleMS.gov/applicationprofile/populationOfInsects>;
dcat:distribution exampleMS:1T2p3o4B-dist-SHP.
```

<pre class="text">exampleMS:EAMS-APIplatform a dcat:DataService;
dct:title "EA API platform"@en;
dct:description "The EA API platform provides a uniform access to the real-time data collected by EA"@en;
dcat:endpointURL &lt;https://orgea.exampleMS.gov/api/v2/&gt; ;
dcat:endpointDescription &lt;https://orgea.exampleMS.gov/api/openAPI/index.html&gt; ;
foaf:page &lt;https://orgea.exampleMS.gov/api/sla.html&gt; ;
dct:license &lt; https://data.exampleMS.gov/resource/FreeAndOpen &gt; ;
dcatap:applicableLegislation &lt;http://data.europa.eu/eli/reg_impl/2023/138/oj&gt; ;
dcat:contactPoint _:EAMS-APIplatform-contactpoint ;
dcat:servesDataset exampleMS:1T2p3o4B.
</pre>
```turtle
exampleMS:1T2p3o4B-dist-SHP a dcat:Distribution;
dcat:accessURL <https://orgea.exampleMS.gov/files/1T2p3o4B.shp>;
dct:conformsTo <https://orgea.exampleMS.gov/dataset/1T2p3o4B/schema/shp>;
dcat:spatialResolutionInMeters "25000"^^xsd:decimal;
dct:format <http://publications.europa.eu/resource/authority/file-type/SHP>;
dct:license <https://data.exampleMS.gov/resource/FreeAndOpen>;
dcatap:applicableLegislation <http://data.europa.eu/eli/reg_impl/2023/138/oj>.
```

<pre class="text">_:EAMS-APIplatform-contactpoint a vcard:Kind;
vcard:hasURL &lt;https://eams.jira.net/servicedesk&gt; .
</pre>
```turtle
exampleMS:EAMS-APIplatform a dcat:DataService;
dct:title "EA API platform"@en;
dct:description "The EA API platform provides a uniform access to the real-time data collected by EA"@en;
dcat:endpointURL <https://orgea.exampleMS.gov/api/v2/>;
dcat:endpointDescription <https://orgea.exampleMS.gov/api/openAPI/index.html>;
foaf:page <https://orgea.exampleMS.gov/api/sla.html>;
dct:license <https://data.exampleMS.gov/resource/FreeAndOpen>;
dcatap:applicableLegislation <http://data.europa.eu/eli/reg_impl/2023/138/oj>;
dcat:contactPoint _:EAMS-APIplatform-contactpoint;
dcat:servesDataset exampleMS:1T2p3o4B.
```

<pre class="text">_:EA-MS a foaf:Agent;
foaf:name "MS Environmental Agency".
</pre>
```turtle
_:EAMS-APIplatform-contactpoint a vcard:Kind;
vcard:hasURL <https://eams.jira.net/servicedesk>; .
```

<pre class="text">&lt;https://data.exampleMS.gov/resource/FreeAndOpen&gt; a dct:LicenseDocument ;
skos:exactMatch &lt;http://publications.europa.eu/resource/authority/licence/CC0&gt;.
</pre>
```turtle
_:EA-MS a foaf:Agent;
foaf:name "MS Environmental Agency".
```

```turtle
<https://data.exampleMS.gov/resource/FreeAndOpen> a dct:LicenseDocument;
skos:exactMatch <http://publications.europa.eu/resource/authority/licence/CC0>.
```

</aside>

18 changes: 11 additions & 7 deletions doc/klassen/dcatDistribution/Voorbeelden.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

#### Minimale set van eigenschappen {#dcat-distribution-voorbeelden-minimale-set-van-eigenschappen}
Onderstaand voorbeeld beschrijft een <code>dcat:Distribution </code>met enkel de verplichte eigenschappen. Dit is de meest minimale representatie van een <code>dcat:Distribution</code>.
<aside class='example'><pre class="text">&lt;ScoreLeefbaarometerBuurt2020&gt; a dcat:Distribution ;
dcat:accessURL &lt;https:∕∕data.overheid.nl∕sites∕default∕files∕dataset∕f37c3649-cc52-4e48-a864-870ae42807a2∕resources∕Leefbaarometer%203.0%20-%20meting%202020%20-%20scores%20buurt.csv&gt; ;
dct:format &lt;http:∕∕publications.europa.eu∕resource∕authority∕file-type∕CSV&gt; ;
dct:title "Score Leefbaarometer Buurt 2020"@nl;
dct:description "Scores (stand en ontwikkeling) leefbaarheid op buurtniveau 2002-2008-2012-2014-2016-2018-2020"@nl;
dct:license &lt;http:∕∕creativecommons.org∕publicdomain∕zero∕1.0∕deed.nl&gt;;

<aside class='example'>

```turtle
<ScoreLeefbaarometerBuurt2020> a dcat:Distribution ;
dcat:accessURL <https:∕∕data.overheid.nl∕sites∕default∕files∕dataset∕f37c3649-cc52-4e48-a864-870ae42807a2∕resources∕Leefbaarometer%203.0%20-%20meting%202020%20-%20scores%20buurt.csv> ;
dct:format <http:∕∕publications.europa.eu∕resource∕authority∕file-type∕CSV> ;
dct:title "Score Leefbaarometer Buurt 2020"@nl;
dct:description "Scores (stand en ontwikkeling) leefbaarheid op buurtniveau 2002-2008-2012-2014-2016-2018-2020"@nl;
dct:license <http:∕∕creativecommons.org∕publicdomain∕zero∕1.0∕deed.nl>;
.
</pre>
```

</aside>
3 changes: 2 additions & 1 deletion js/document-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,6 @@ var documentConfig =
date: "2018-04-17",
status: ""
}
}
},
preProcess: [loadTurtle],
}

0 comments on commit 0a44f20

Please sign in to comment.