Skip to content

Commit

Permalink
Extended basic examples to include titles, labels and keywords in Spa…
Browse files Browse the repository at this point in the history
…nish, addressing part of #958
  • Loading branch information
agbeltran committed Apr 12, 2021
1 parent 71d961f commit 737a687
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dcat/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ <h3>RDF considerations</h3>
</section>
<section id="basic-example">
<h3>Basic example</h3>
<p>This example provides a quick overview of how DCAT might be used to represent a government catalog and its datasets. </p>
<p>This example provides a quick overview of how DCAT might be used to represent a government catalog and its datasets. Titles, labels and keywords are provided both in English and Spanish to demonstrate the use of language tags.</p>

<p>First, the catalog description:
</p>
Expand All @@ -394,7 +394,9 @@ <h3>Basic example</h3>
:catalog
a dcat:Catalog&nbsp;;
dcterms:title "Imaginary Catalog"@en&nbsp;;
dcterms:title "Catálogo imaginario"@es&nbsp;;
rdfs:label "Imaginary Catalog"@en&nbsp;;
rdfs:label "Catálogo imaginario"@es&nbsp;;
foaf:homepage &lt;http://example.org/catalog&gt;&nbsp;;
dcterms:publisher&nbsp;:transparency-office&nbsp;;
dcterms:language &lt;http://id.loc.gov/vocabulary/iso639-1/en&gt; &nbsp;;
Expand All @@ -411,6 +413,7 @@ <h3>Basic example</h3>
:transparency-office
a foaf:Organization&nbsp;;
rdfs:label "Transparency Office"@en&nbsp;;
rdfs:label "Oficina de Transparencia"@es&nbsp;;
.
</pre>
</aside>
Expand All @@ -422,7 +425,9 @@ <h3>Basic example</h3>
:dataset-001
a dcat:Dataset&nbsp;;
dcterms:title "Imaginary dataset"@en&nbsp;;
dcterms:title "Conjunto de datos imaginario"@es&nbsp;;
dcat:keyword "accountability"@en, "transparency"@en, "payments"@en&nbsp;;
dcat:keyword "responsabilidad"@es, "transparencia"@es, "pagos"@es&nbsp;;
dcterms:creator&nbsp;:finance-employee-001&nbsp;;
dcterms:issued "2011-12-05"^^xsd:date&nbsp;;
dcterms:modified "2011-12-15"^^xsd:date&nbsp;;
Expand Down Expand Up @@ -465,6 +470,7 @@ <h3>Basic example</h3>
a dcat:Distribution&nbsp;;
dcat:downloadURL &lt;http://www.example.org/files/001.csv&gt; ;
dcterms:title "CSV distribution of imaginary dataset 001"@en ;
dcterms:title "distribución 001, en CSV, del conjunto de datos imaginario"@en ;
dcat:mediaType &lt;http://www.iana.org/assignments/media-types/text/csv&gt; ;
dcat:byteSize "5120"^^xsd:decimal ;
.
Expand Down

0 comments on commit 737a687

Please sign in to comment.