This template provides an implementation of the minimum mandatory metadata core according to the DCAT-AP-ES profile, aligned with the Technical Interoperability Standard for Reuse of Public Sector Information Resources (NTI-RISP) and the technical conventions of datos.gob.es.
It includes only the mandatory entities and properties to describe an open data catalog according to the current formal specification. It is the basic reference for publication and federation of interoperable metadata in the national catalog, and can be used as an example or starting point for automatic generation of DCAT-AP-ES compliant catalogs.
<?xml version="1.0" encoding="utf-8" ?><!--################################################################################# Núcleo mínimo de metadatos obligatorios en DCAT-AP-ES (versión 1.0.0)# Solo entidades y propiedades obligatorias según especificación formal# Referencia: https://datosgobes.github.io/DCAT-AP-ES/#dcat-ap-es-model-relations################################################################################--><rdf:RDFxmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:dcat="http://www.w3.org/ns/dcat#"xmlns:dct="http://purl.org/dc/terms/"xmlns:foaf="http://xmlns.com/foaf/0.1/"><!-- ################################################################################ # 1. Catálogo: dcat:Catalog (todos los campos obligatorios) ################################################################################ --><dcat:Catalogrdf:about="http://dcat-ap-es.ejemplo.org/catalogo"><dct:titlexml:lang="es">CatálogodeDatosAbiertos</dct:title><dct:descriptionxml:lang="es">Catálogonacionaldedatosabiertos.</dct:description><dct:publisherrdf:resource="http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001"/><foaf:homepagerdf:resource="http://dcat-ap-es.ejemplo.org"/><dcat:themeTaxonomyrdf:resource="http://datos.gob.es/kos/sector-publico/sector"/><dct:issuedrdf:datatype="http://www.w3.org/2001/XMLSchema#date">2025-01-01</dct:issued><dct:modifiedrdf:datatype="http://www.w3.org/2001/XMLSchema#date">2025-01-02</dct:modified><dct:languagerdf:resource="http://publications.europa.eu/resource/authority/language/SPA"/><dct:licenserdf:resource="http://publications.europa.eu/resource/authority/licence/CC_BY_4_0"/><!-- ################################################################################ # 2. Dataset: dcat:Dataset (propiedades obligatorias únicamente) ################################################################################ --><dcat:dataset><dcat:Datasetrdf:about="http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1"><dct:titlexml:lang="es">Datasetdeejemplo</dct:title><dct:descriptionxml:lang="es">Descripcióndeundatasetdeejemplo.</dct:description><dct:publisherrdf:resource="http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001"/><dcat:themerdf:resource="http://datos.gob.es/kos/sector-publico/sector/medio-ambiente"/><!-- ################################################################################ # 3. Distribution: dcat:Distribution (convención obligatoria: https://datosgobes.github.io/DCAT-AP-ES/conventions/#convencion-23) ################################################################################ --><dcat:distribution><dcat:Distributionrdf:about="http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV"><dcat:accessURLrdf:resource="http://dcat-ap-es.ejemplo.org/files/dataset-ejemplo-1.CSV"/></dcat:Distribution></dcat:distribution></dcat:Dataset></dcat:dataset></dcat:Catalog><!-- ################################################################################ # Notas # - No se incluyen propiedades recomendadas, opcionales ni entidades auxiliares. # - El catálogo debe tener como mínimo la taxonomía de sectores primarios. # - El idioma debe incluir al menos español (SPA). # - Las fechas deben ser coherentes y usar siempre el mismo tipo (e.g., xsd:date). # - La licencia debe ser una URI válida del vocabulario europeo. # - El agente debe estar dado de alta en la taxonomía de datos.gob.es. # - No se incluyen características HVD, servicios ni puntos de contacto, ya que son opcionales. # - Se debe referenciar el publicador mediante su URI DIR3, sin necesidad de declarar un bloque foaf:Agent específico. ################################################################################ --></rdf:RDF>
################################################################################# Núcleo mínimo de metadatos obligatorios en DCAT-AP-ES (versión 1.0.0)# Solo entidades y propiedades obligatorias según especificación formal# Referencia: https://datosgobes.github.io/DCAT-AP-ES/#dcat-ap-es-model-relations################################################################################@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.################################################################################# 1. Catálogo: dcat:Catalog (todos los campos obligatorios)################################################################################<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es;dct:description"Catálogo nacional de datos abiertos."@es;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>;dct:issued"2025-01-01"^^xsd:date;dct:modified"2025-01-02"^^xsd:date;dct:language<http://publications.europa.eu/resource/authority/language/SPA>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:dataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>.################################################################################# 2. Dataset: dcat:Dataset (propiedades obligatorias únicamente)################################################################################<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>adcat:Dataset;dct:title"Dataset de ejemplo"@es;dct:description"Descripción de un dataset de ejemplo."@es;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dcat:distribution<http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV>.################################################################################# 3. Distribution: dcat:Distribution (convención obligatoria: https://datosgobes.github.io/DCAT-AP-ES/conventions/#convencion-23)################################################################################<http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV>adcat:Distribution;dcat:accessURL<http://dcat-ap-es.ejemplo.org/files/dataset-ejemplo-1.CSV>.################################################################################# Notas# - No se incluyen propiedades recomendadas, opcionales ni entidades auxiliares.# - El catálogo debe tener como mínimo la taxonomía de sectores primarios.# - El idioma debe incluir al menos español (SPA).# - Las fechas deben ser coherentes y usar siempre el mismo tipo (e.g., xsd:date).# - La licencia debe ser una URI válida del vocabulario europeo.# - El agente debe estar dado de alta en la taxonomía de datos.gob.es.# - No se incluyen características HVD, servicios ni puntos de contacto, ya que son opcionales.# - Se debe referenciar el publicador mediante su URI DIR3, sin necesidad de declarar un bloque foaf:Agent específico.################################################################################
This template provides a comprehensive implementation of the DCAT-AP-ES profile, showing all available properties at all applicability levels: mandatory, recommended and optional.
Through this complete serialization, you can explore how to enrich the description of catalogs, datasets, distributions and data services with advanced metadata. It constitutes a comprehensive reference template to maximize the interoperability and quality of metadata, facilitating its integration into national and international open data ecosystems according to current technical specifications.
This example shows how to migrate a catalog originally modeled according to NTI-RISP (2013) to the DCAT-AP-ES profile. Facilitating interoperability and enriching the catalog metadata, allowing its integration into national and European portals. The process consists of mapping the key properties of NTI-RISP to DCAT-AP-ES, adding vocabularies and elements recommended by the new profile.
The catalog http://dcat-ap-es.ejemplo.org/catalogo includes essential information such as title, description, publisher, key dates, web page, themes, languages, terms of use and reference to datasets. In addition, it incorporates elements recommended by DCAT-AP-ES, such as themes, contact point and applicable legislation. As a general rule, European vocabularies are aligned, and the description of the new Data Services (dcat:DataService) is included.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.@prefixdcatap:<http://data.europa.eu/r5r/>.@prefixvcard:<http://www.w3.org/2006/vcard/ns#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es,"Open Data Catalog"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo para la migración a DCAT-AP-ES."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES migration"@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:service<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>;dcat:dataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>.<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>adcat:DataService;dct:title"Servicio de datos de ejemplo"@es;dcat:endpointURL<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:endpointDescription<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1/v1/api-docs>;dcat:keyword"estadísticas"@es,"statistics"@en;dcat:contactPoint<http://dcat-ap-es.ejemplo.org/contactDataService>;foaf:page<https://dcat-ap-es.ejemplo.org/api/sla.html>;dcatap:applicableLegislation<https://www.boe.es/eli/es/rd/2023/08/22/729>;dcat:servesDataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>.<http://dcat-ap-es.ejemplo.org/contactDataService>avcard:Organization;vcard:organization-name"Organismo"@es;vcard:fn"Oficina del dato"@es;vcard:hasURL<http://dcat-ap-es.ejemplo.org/>;vcard:hasUID<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;vcard:hasEmail<mailto:info-contacto@dcat-ap-es.ejemplo.org>;vcard:hasTelephone<tel:.+3491222222>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>adcat:Dataset;dct:identifier"http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1";dct:title"Dataset de ejemplo"@es,"Example Dataset"@en;dct:description"Descripción de un dataset de ejemplo."@es,"Example dataset description."@en;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dcat:keyword"estadísticas"@es;dcatap:applicableLegislation<https://www.boe.es/eli/es/rd/2023/08/22/729>;dcat:contactPoint<http://dcat-ap-es.ejemplo.org/contactDataset>;dct:temporal[adct:PeriodOfTime;dcat:startDate"2021-01-01T00:00:00Z"^^xsd:dateTime;dcat:endDate"2025-01-01T00:00:00Z"^^xsd:dateTime];dcat:distribution<http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV>.<http://dcat-ap-es.ejemplo.org/contactDataset>avcard:Organization;vcard:organization-name"Organismo"@es;vcard:fn"Oficina del dato"@es;vcard:hasURL<http://dcat-ap-es.ejemplo.org/>;vcard:hasUID<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;vcard:hasEmail<mailto:info-contacto@dcat-ap-es.ejemplo.org>;vcard:hasTelephone<tel:.+3491222222>.<http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV>adcat:Distribution;dct:title"Distribución de ejemplo"@es;dct:description"Descripción de una distribución de ejemplo."@es;dcat:accessURL<http://dcat-ap-es.ejemplo.org/files/dataset-ejemplo-1.CSV>;dct:format<http://publications.europa.eu/resource/authority/file-type/CSV>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcatap:availability<http://publications.europa.eu/resource/authority/planned-availability/STABLE>;dcatap:applicableLegislation<http://data.europa.eu/eli/dir/2007/2/2019-06-26>;dcat:byteSize"1024"^^xsd:nonNegativeInteger.
This example illustrates how to adapt an NTI-RISP catalog to meet HVD requirements. The motivation is to ensure that high-value data is available through APIs and complies with European regulations, adding specific properties such as HVD category, applicable legislation and more details about data services.
The catalog http://dcat-ap-es.ejemplo.org/catalogo is enriched with information about data services (APIs), HVD datasets, contact, legislation and availability, following the HVD regulation. Thus, the transition and regulatory compliance for the publication of high-value data is facilitated.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.@prefixdcatap:<http://data.europa.eu/r5r/>.@prefixvcard:<http://www.w3.org/2006/vcard/ns#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos HVD"@es,"Open Data Catalog HVD"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo para la migración a DCAT-AP-ES HVD."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES HVD migration."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:service<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1-HVD>;dcat:dataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1-HVD>.<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1-HVD>adcat:DataService;dct:title"Servicio de datos de ejemplo HVD"@es;dcat:endpointURL<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1-HVD>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:endpointDescription<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1-HVD/v1/api-docs>;dcat:keyword"estadísticas"@es,"statistics"@en;dcat:contactPoint<http://dcat-ap-es.ejemplo.org/contactDataService>;dcat:servesDataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1-HVD>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcatap:hvdCategory<http://data.europa.eu/bna/c_b7f6a4f3>;foaf:page<https://dcat-ap-es.ejemplo_HVD.org/api/sla.html>;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>.<http://dcat-ap-es.ejemplo.org/contactDataService>avcard:Organization;vcard:organization-name"Organismo"@es;vcard:fn"Oficina del dato"@es;vcard:hasURL<http://dcat-ap-es.ejemplo.org/>;vcard:hasUID<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;vcard:hasEmail<mailto:info-contacto@dcat-ap-es.ejemplo.org>;vcard:hasTelephone<tel:.+3491222222>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1-HVD>adcat:Dataset;dct:identifier"http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1-HVD";dct:title"Dataset de ejemplo HVD"@es,"Example Dataset HVD"@en;dct:description"Descripción de un dataset de ejemplo HVD."@es,"Example dataset description HVD."@en;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dcat:keyword"estadísticas"@es;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>;dcat:contactPoint<http://dcat-ap-es.ejemplo.org/contactDataset>;dct:temporal[adct:PeriodOfTime;dcat:startDate"2021-01-01T00:00:00Z"^^xsd:dateTime;dcat:endDate"2025-01-01T00:00:00Z"^^xsd:dateTime];dcatap:hvdCategory<http://data.europa.eu/bna/c_b7f6a4f3>;dcat:distribution<http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV-HVD>.<http://dcat-ap-es.ejemplo.org/contactDataset>avcard:Organization;vcard:organization-name"Organismo"@es;vcard:fn"Oficina del dato"@es;vcard:hasURL<http://dcat-ap-es.ejemplo.org/>;vcard:hasUID<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;vcard:hasEmail<mailto:info-contacto@dcat-ap-es.ejemplo.org>;vcard:hasTelephone<tel:.+3491222222>.<http://dcat-ap-es.ejemplo.org/distribucion/dataset-ejemplo-1-CSV-HVD>adcat:Distribution;dct:title"Distribución de ejemplo HVD"@es;dct:description"Descripción de un distribución de ejemplo HVD."@es;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>;dcat:accessURL<http://dcat-ap-es.ejemplo.org/files/dataset-HVD-ejemplo-1-HVD.CSV>;dct:format<http://publications.europa.eu/resource/authority/file-type/CSV>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcatap:availability<http://publications.europa.eu/resource/authority/planned-availability/STABLE>;dcat:byteSize"1024"^^xsd:nonNegativeInteger.
This example shows how to declare a data catalog using only mandatory properties according to the DCAT-AP-ES profile. It includes essential metadata such as: Title, Description, Web page, Publisher, License, Theme taxonomy, Creation date, Modification date and Language.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es,"Open Data Catalog"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo en DCAT-AP-ES."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>.
This example extends the previous one, including both mandatory and recommended properties for the description of a DCAT-AP-ES catalog. In addition to essential metadata, properties such as geographic coverage (dct:spatial) are added, including the basic description of a dataset (dcat:dataset) and data services (dcat:service).
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es,"Open Data Catalog"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo en DCAT-AP-ES."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>,<http://inspire.ec.europa.eu/theme>,<http://publications.europa.eu/resource/authority/data-theme>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dcat:dataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>;dcat:service<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>adcat:Dataset;dct:title"Dataset de ejemplo"@es,"Example Dataset"@en;dct:description"Descripción de un dataset de ejemplo."@es,"Example dataset description."@en.<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>adcat:DataService;dct:title"Data Service de ejemplo"@es,"Example Data Service"@en;dct:description"Descripción de un dataset de ejemplo."@es,"Example Data Service description."@en;dcat:endpointURL<http://api.dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>.
Catalog - Mandatory, recommended and optional properties#
This example presents a complete description of a DCAT-AP-ES catalog, using mandatory, recommended and optional properties. Additional metadata is included such as the catalog creator as an organization (dct:creator) and the declaration of access rights linked to the use of catalog data (dct:rights). It is also detailed that the catalog has a linked sub-catalog (dct:hasPart).
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixdcatap:<http://data.europa.eu/r5r/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.@prefixrdfs:<http://www.w3.org/2000/01/rdf-schema#>.@prefixodrs:<http://schema.theodi.org/odrs#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es,"Open Data Catalog"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo en DCAT-AP-ES."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>,<http://publications.europa.eu/resource/authority/data-theme>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dct:creator[afoaf:Organization;foaf:name"Nombre del departamento del organismo";dct:type"E0DAT0001",<http://purl.org/adms/publishertype/NationalAuthority>];dct:rights<http://dcat-ap-es.ejemplo.org/catalogo/derechos-de-acceso>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dct:hasPart<http://dcat-ap-es.ejemplo.org/catalogo-vinculado>;dcat:dataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>;dcat:service<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>.<http://dcat-ap-es.ejemplo.org/catalogo/derechos-de-acceso>a<http://schema.theodi.org/odrs#RightsStatement>;rdfs:label"Derechos relativos a la reutilización del Catálogo de Datos Abiertos";odrs:dataLicense<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;odrs:attributionText"Atribución de autoría al Organismo";odrs:attributionURL<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>.<http://dcat-ap-es.ejemplo.org/catalogo-vinculado>adcat:Catalog;dct:title"Catálogo vinculado"@es;dct:description"Catálogo asociado que sirve de ejemplo en DCAT-AP-ES."@es,"Associated Open Data Catalogue serving as an example in DCAT-AP-ES."@en;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>adcat:Dataset;dct:title"Dataset de ejemplo"@es,"Example Dataset"@en;dct:description"Descripción de un dataset de ejemplo."@es,"Example dataset description."@en;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>,<http://publications.europa.eu/resource/authority/data-theme/ENVI>;dcat:distribution<http://dcat-ap-es.ejemplo.org/distribucion/dataset-HVD-ejemplo-1-RDF>.<http://dcat-ap-es.ejemplo.org/distribucion/dataset-HVD-ejemplo-1-RDF>adcat:Distribution;dcat:accessURL<https://orgea.exampleMS.gov/files/1T2p3o4B.ttl>;dct:conformsTo<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1/schema/SHACL>;dcat:spatialResolutionInMeters5.0;dct:format<http://publications.europa.eu/resource/authority/file-type/RDF_TURTLE>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcatap:availability<http://publications.europa.eu/resource/authority/planned-availability/STABLE>.<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>adcat:DataService;dct:title"Data Service de ejemplo"@es,"Example Data Service"@en;dct:description"Descripción de un dataset de ejemplo."@es,"Example Data Service description."@en;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/E0DAT0001>;dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>,<http://publications.europa.eu/resource/authority/data-theme/ENVI>;dcat:endpointURL<http://api.dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>;dcat:servesDataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es,"Open Data Catalog"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo en DCAT-AP-ES."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher[afoaf:Organization;dct:identifier"http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo";foaf:name"Nombre del organismo";foaf:mbox<mailto:example@ejemplo.org>;dct:type<http://purl.org/adms/publishertype/NationalAuthority>];dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>,<http://inspire.ec.europa.eu/theme>,<http://publications.europa.eu/resource/authority/data-theme>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>.
Data Service - Specification of data access services#
The example describes a catalog that contains the record of a single data service that provides access to a CSW service without specifying which datasets it serves. The CSW data service complies with the IR HVD and INSPIRE, is described as a discovery service, is available under public access rights, is compatible with the OGC CSW standard, has a CC-BY 4.0 reuse license, the territorial scope covered by the dataset is delimited by a rectangle for which its coordinates are specified and details a contact point to transfer questions regarding the service through a web form or email.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.@prefixgeo:<http://www.opengis.net/ont/geosparql#>.@prefixdcatap:<http://data.europa.eu/r5r/>.@prefixvcard:<http://www.w3.org/2006/vcard/ns#>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de servicios de Datos CSW Abiertos"@es;dct:description"Catálogo de servicios de Datos CSW Abiertos que sirve de ejemplo en DCAT-AP-ES."@es;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dcat:record<http://dcat-ap-es.ejemplo.org/registro-001>;dcat:service<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-CSW-ejemplo-1>.<http://dcat-ap-es.ejemplo.org/registro-001>adcat:CatalogRecord;foaf:primaryTopic<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-CSW-ejemplo-1>;dct:modified"2025-01-02T09:00:00+01:00"^^xsd:dateTime.<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-CSW-ejemplo-1>adcat:DataService;dct:title"Servicio de catálogo de datos CSW"@es;dct:description"Catálogo público de conjuntos de datos espaciales."@es;dct:type<http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceCategory/infoCatalogueService>,<http://inspire.ec.europa.eu/metadata-codelist/ResourceType/service>,<http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType/discovery>;dct:accessRights<http://publications.europa.eu/resource/authority/access-right/PUBLIC>;dct:conformsTo<http://www.opengis.net/def/serviceType/ogc/csw>;dct:identifier"ejemplo-catalogo-ide-public";dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dct:spatial[adct:Location;dcat:bbox"POLYGON((-180 90,180 90,180 -90,-180 -90,-180 90))"^^geo:wktLiteral];dcat:endpointURL<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-CSW-ejemplo-1/srv/csw>;dcat:endpointDescription<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-CSW-ejemplo-1/srv/csw?service=CSW&request=GetCapabilities>;foaf:page<https://dcat-ap-es.ejemplo.org/api/sla.html>;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>,<http://data.europa.eu/eli/dir/2007/2/2019-06-26>;dcatap:hvdCategory<http://data.europa.eu/bna/c_b7f6a4f3>;dcat:contactPoint[avcard:Kind;vcard:fn"Centro de soporte de Organismo"@es;vcard:hasEmail<mailto:info-contacto@dcat-ap-es.ejemplo.org>;vcard:hasURL<https://dcat-ap-es.ejemplo.org/formulario-soporte>].
This example illustrates how to specify datasets accessible through data services (APIs), complying with the HVD Regulation (High-Value Datasets).
According to the regulation, HVDs must be available through APIs. For this, the publisher must have an API implemented on a platform, through which reusers will have access to data in real time. This API platform serves several datasets (dataset-HVD-ejemplo-1 and dataset-ejemplo-1).
Since the API serves at least one HVD, implementation requirements apply according to the HVD regulation. Therefore, the API publisher must ensure that the declared dcat:endpointURL is persistent, that is, stable over time (for example, the implementation of a new API platform or the publisher's name change should not affect the endpoint URL).
In addition, information about API usage is provided through:
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixdcatap:<http://data.europa.eu/r5r/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixvcard:<http://www.w3.org/2006/vcard/ns#>.<http://dcat-ap-es.ejemplo.org/dataservice/dataservice-ejemplo-1>adcat:DataService;dct:title"Servicio de datos vía API"@es;dct:description"Servicio de datos vía API que permite el acceso a datos en tiempo real"@es;dcat:endpointURL<https://dcat-ap-es.ejemplo.org/api/v2/>;dcat:endpointDescription<https://dcat-ap-es.ejemplo.org/openAPI/index.html>;foaf:page<https://dcat-ap-es.ejemplo.org/api/sla.html>;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>;dcatap:hvdCategory<http://data.europa.eu/bna/c_b7f6a4f3>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>;dcat:theme:<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dcat:contactPoint[avcard:Kind;vcard:fn"Centro de soporte de Organismo"@es;vcard:hasEmail<mailto:info-contacto@dcat-ap-es.ejemplo.org>;vcard:hasURL<https://dcat-ap-es.ejemplo.org/formulario-soporte>];dcat:servesDataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1>,<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>.
The reference to another linked catalog (dct:hasPart)
The dataset dataset-HVD-ejemplo-1 is also tagged with the appropriate HVD category, using the most granular concept Nature and biodiversity preservation.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixfoaf:<http://xmlns.com/foaf/0.1/>.@prefixxsd:<http://www.w3.org/2001/XMLSchema#>.@prefixrdfs:<http://www.w3.org/2000/01/rdf-schema#>.@prefixodrs:<http://schema.theodi.org/odrs#>.@prefixdcatap:<http://data.europa.eu/r5r/>.<http://dcat-ap-es.ejemplo.org/catalogo>adcat:Catalog;dct:title"Catálogo de Datos Abiertos"@es,"Open Data Catalog"@en;dct:description"Catálogo de Datos Abiertos que sirve de ejemplo en DCAT-AP-ES."@es,"Open Data Catalogue that serves as an example in DCAT-AP-ES."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org>;dct:publisher[afoaf:Organization;dct:identifier"http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo";foaf:name"Nombre del organismo";foaf:mbox<mailto:example@ejemplo.org>;dct:type<http://purl.org/adms/publishertype/NationalAuthority>];dcat:themeTaxonomy<http://datos.gob.es/kos/sector-publico/sector/>;dct:issued"2025-01-01T09:00:00+01:00"^^xsd:dateTime;dct:modified"2025-01-02T12:00:00+01:00"^^xsd:dateTime;dct:language<http://publications.europa.eu/resource/authority/language/SPA>,<http://publications.europa.eu/resource/authority/language/ENG>;dct:spatial<http://datos.gob.es/recurso/sector-publico/territorio/Pais/España>;dct:creator[afoaf:Organization;foaf:name"Nombre del departamento del organismo"];dct:rights<http://dcat-ap-es.ejemplo.org/catalogo/derechos-de-acceso>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dct:hasPart<http://dcat-ap-es.ejemplo.org/catalogo-vinculado>;dcat:dataset<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1>,<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>.<http://dcat-ap-es.ejemplo.org/catalogo/derechos-de-acceso>a<http://schema.theodi.org/odrs#RightsStatement>;rdfs:label"Derechos relativos a la reutilización del Catálogo de Datos Abiertos";odrs:dataLicense<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;odrs:attributionText"Atribución de autoría al Organismo";odrs:attributionURL<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>.<http://dcat-ap-es.ejemplo.org/catalogo-vinculado>adcat:Catalog;dct:title"Catálogo vinculado"@es;dct:description"Catálogo asociado que sirve de ejemplo en DCAT-AP-ES."@es,"Associated Open Data Catalogue serving as an example in DCAT-AP-ES."@en;foaf:homepage<http://dcat-ap-es.ejemplo.org/catalogo-2>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1>adcat:Dataset;dct:title"Dataset HVD de ejemplo"@es,"Example HVD Dataset"@en;dct:description"Descripción de un dataset HVD de ejemplo."@es,"Example HVD dataset description."@en;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>,<http://data.europa.eu/eli/dir/2007/2/2019-06-26>;dcatap:hvdCategory<http://data.europa.eu/bna/c_b7f6a4f3>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>;dct:identifier"identificador-dataset-HVD-ejemplo-1";dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-ejemplo-1>adcat:Dataset;dct:title"Dataset de ejemplo"@es,"Example Dataset"@en;dct:description"Descripción de un dataset de ejemplo."@es,"Example dataset description."@en;dcatap:applicableLegislation<http://data.europa.eu/eli/dir/2007/2/2019-06-26>.
The HVD implementation regulation requires that HVD datasets be downloadable (bulk download) whenever relevant. Datasets can be downloaded in different formats and levels of detail. In this example, distributions are available in two formats: RDF and ESRI shapefile (SHP) format. According to the HVD regulation, these example datasets are available at least in bulk download with a granularity of 5 meters and with a monthly update frequency. Based on these requirements, the dataset publisher decides to indicate that the SHP distribution is an HVD bulk download.
In addition, the data model associated with the distribution is described by providing detailed documentation of the data schema through the dct:conformsTo metadata.
The reuse conditions are also specified through a standard license (CC-BY 4.0) and it is indicated that the availability status of both distributions is stable, thus describing that the data will remain available in the long term.
@prefixdcat:<http://www.w3.org/ns/dcat#>.@prefixdct:<http://purl.org/dc/terms/>.@prefixdcatap:<http://data.europa.eu/r5r/>.<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1>adcat:Dataset;dct:title"Dataset HVD de ejemplo"@es;dct:description"Descripción de un dataset HVD de ejemplo."@es;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>,<http://data.europa.eu/eli/dir/2007/2/2019-06-26>;dcatap:hvdCategory<http://data.europa.eu/bna/c_b7f6a4f3>;dct:publisher<http://datos.gob.es/recurso/sector-publico/org/Organismo/Identificador_Organismo>;dct:identifier"identificador-dataset-HVD-ejemplo-1";dcat:theme<http://datos.gob.es/kos/sector-publico/sector/medio-ambiente>;dct:accrualPeriodicity<http://publications.europa.eu/resource/authority/frequency/MONTHLY>;dct:conformsTo<http://www.ejemplo.org/ELI-normativa>;dcat:distribution<http://dcat-ap-es.ejemplo.org/distribucion/dataset-HVD-ejemplo-1-SHP>,<http://dcat-ap-es.ejemplo.org/distribucion/dataset-HVD-ejemplo-1-RDF>.<http://dcat-ap-es.ejemplo.org/distribucion/dataset-HVD-ejemplo-1-SHP>adcat:Distribution;dcatap:applicableLegislation<http://data.europa.eu/eli/reg_impl/2023/138/oj>;dcat:accessURL<http://dcat-ap-es.ejemplo.org/files/dataset-HVD-ejemplo-1.shp>;dct:conformsTo<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1/schema/shp>;dcat:spatialResolutionInMeters5.0;dct:format<http://publications.europa.eu/resource/authority/file-type/SHP>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcatap:availability<http://publications.europa.eu/resource/authority/planned-availability/STABLE>.<http://dcat-ap-es.ejemplo.org/distribucion/dataset-HVD-ejemplo-1-RDF>adcat:Distribution;dcat:accessURL<https://orgea.exampleMS.gov/files/1T2p3o4B.ttl>;dct:conformsTo<http://dcat-ap-es.ejemplo.org/dataset/dataset-HVD-ejemplo-1/schema/SHACL>;dcat:spatialResolutionInMeters5.0;dct:format<http://publications.europa.eu/resource/authority/file-type/RDF_TURTLE>;dct:license<http://publications.europa.eu/resource/authority/licence/CC_BY_4_0>;dcatap:availability<http://publications.europa.eu/resource/authority/planned-availability/STABLE>.