Skip to content

Commit

Permalink
Merge pull request #1353 from w3c/agb-issue-958
Browse files Browse the repository at this point in the history
Extended basic examples to include titles, labels and keywords in Spa…
  • Loading branch information
agbeltran committed Apr 13, 2021
2 parents 0ff1509 + aa49068 commit 5e41d97
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 @@ -388,7 +388,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 @@ -398,7 +398,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 @@ -415,6 +417,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 @@ -426,7 +429,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 @@ -469,6 +474,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 en CSV del conjunto de datos imaginario 001"@es ;
dcat:mediaType &lt;http://www.iana.org/assignments/media-types/text/csv&gt; ;
dcat:byteSize "5120"^^xsd:decimal ;
.
Expand Down

0 comments on commit 5e41d97

Please sign in to comment.