From f22b22ab8e31b637547b1acd93c52d994ffed86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Mon, 27 Apr 2026 16:33:53 +0200 Subject: [PATCH 01/13] fix: update github-script to avoid node 20 deprecation --- .github/workflows/validate-shacl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-shacl.yml b/.github/workflows/validate-shacl.yml index 83492b9..2301c08 100644 --- a/.github/workflows/validate-shacl.yml +++ b/.github/workflows/validate-shacl.yml @@ -58,7 +58,7 @@ jobs: - name: Commentar resumen de validación en el PR if: github.event_name == 'pull_request' && always() - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const fs = require('fs'); From a96adfacf8195c37d2ec337d82259e34d20d53b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Mon, 27 Apr 2026 16:34:26 +0200 Subject: [PATCH 02/13] feat: update actions --- .github/workflows/validate-shacl.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate-shacl.yml b/.github/workflows/validate-shacl.yml index 2301c08..76586bf 100644 --- a/.github/workflows/validate-shacl.yml +++ b/.github/workflows/validate-shacl.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Comprobar repositorio - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Ejecutar validación de formas SHACL DCAT-AP-ES id: validate @@ -50,7 +50,7 @@ jobs: - name: Subir informes de validación if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: dcat-ap-es-validation-reports path: tests/validation-reports/ From c4019eed9e8640c3d4fc9d66fb1ae04cf0827185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Mon, 27 Apr 2026 16:38:56 +0200 Subject: [PATCH 03/13] fix: update actions to avoid node 20 deprecation --- .github/workflows/mkdocs.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 927c373..189a21a 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -19,11 +19,11 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.10' @@ -59,18 +59,18 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: gh-pages - name: Setup Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v6 - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: '.' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v5 \ No newline at end of file From 60a6fa0743bfd8cb83c52e0e5420e17ab8b27e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 21:02:38 +0200 Subject: [PATCH 04/13] fix: workflow execution from external PR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .github/workflows/validate-shacl.yml | 37 +++++++++++++++++----------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/.github/workflows/validate-shacl.yml b/.github/workflows/validate-shacl.yml index 76586bf..c9c9289 100644 --- a/.github/workflows/validate-shacl.yml +++ b/.github/workflows/validate-shacl.yml @@ -2,10 +2,8 @@ name: Validación formas SHACL on: # Ejecutar en PRs cuando se modifican archivos relevantes - pull_request: - branches: - - main - - develop + pull_request_target: + branches: [main, develop] paths: - 'shacl/**/*.ttl' - 'examples/**/*.rdf' @@ -14,12 +12,9 @@ on: - 'tools/docker-pyshacl/**' - 'tests/test.ini' - '.github/workflows/validate-shacl.yml' - # Ejecutar en push directo a main/develop (fuera de PR) push: - branches: - - main - - develop + branches: [main, develop] paths: - 'shacl/**/*.ttl' - 'examples/**/*.rdf' @@ -29,16 +24,24 @@ on: - 'tests/test.ini' - '.github/workflows/validate-shacl.yml' +permissions: + contents: read + pull-requests: write + issues: write + jobs: validate-dcat-ap-es: name: Validación formas SHACL DCAT-AP-ES (Todas las Fases) runs-on: ubuntu-latest # Evitar duplicación: no ejecutar en push si hay una PR abierta para esta rama - if: github.event_name == 'pull_request' || github.event.pull_request == null - + if: github.event_name != 'push' || github.event.pull_request == null + steps: - name: Comprobar repositorio uses: actions/checkout@v6 + with: + ref: ${{ github.event.pull_request.head.sha || github.sha }} + persist-credentials: false - name: Ejecutar validación de formas SHACL DCAT-AP-ES id: validate @@ -57,15 +60,19 @@ jobs: retention-days: 30 - name: Commentar resumen de validación en el PR - if: github.event_name == 'pull_request' && always() + if: github.event_name == 'pull_request_target' && always() uses: actions/github-script@v9 with: script: | const fs = require('fs'); - const summary = fs.readFileSync('tests/validation-reports/SUMMARY.md', 'utf8'); - - github.rest.issues.createComment({ - issue_number: context.issue.number, + const path = 'tests/validation-reports/SUMMARY.md'; + if (!fs.existsSync(path)) { + core.warning(`No se encontró ${path}; se omite el comentario.`); + return; + } + const summary = fs.readFileSync(path, 'utf8'); + await github.rest.issues.createComment({ + issue_number: context.payload.pull_request.number, owner: context.repo.owner, repo: context.repo.repo, body: summary From 7134793f4385edea0269ae9b09da4c703e5559b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 21:17:24 +0200 Subject: [PATCH 05/13] =?UTF-8?q?feat:=20separar=20workflows=20de=20valida?= =?UTF-8?q?ci=C3=B3n=20y=20comentarios=20en=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .github/workflows/validate-shacl.yml | 35 +++++----------------------- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/.github/workflows/validate-shacl.yml b/.github/workflows/validate-shacl.yml index c9c9289..5043cee 100644 --- a/.github/workflows/validate-shacl.yml +++ b/.github/workflows/validate-shacl.yml @@ -1,8 +1,7 @@ name: Validación formas SHACL on: - # Ejecutar en PRs cuando se modifican archivos relevantes - pull_request_target: + pull_request: branches: [main, develop] paths: - 'shacl/**/*.ttl' @@ -12,7 +11,6 @@ on: - 'tools/docker-pyshacl/**' - 'tests/test.ini' - '.github/workflows/validate-shacl.yml' - # Ejecutar en push directo a main/develop (fuera de PR) push: branches: [main, develop] paths: @@ -26,22 +24,16 @@ on: permissions: contents: read - pull-requests: write - issues: write jobs: validate-dcat-ap-es: name: Validación formas SHACL DCAT-AP-ES (Todas las Fases) runs-on: ubuntu-latest - # Evitar duplicación: no ejecutar en push si hay una PR abierta para esta rama - if: github.event_name != 'push' || github.event.pull_request == null + if: github.event_name == 'pull_request' || github.event.pull_request == null steps: - name: Comprobar repositorio uses: actions/checkout@v6 - with: - ref: ${{ github.event.pull_request.head.sha || github.sha }} - persist-credentials: false - name: Ejecutar validación de formas SHACL DCAT-AP-ES id: validate @@ -51,6 +43,10 @@ jobs: ./tests/validate-local.sh all echo "exit_code=$?" >> $GITHUB_OUTPUT + - name: Guardar número de PR + if: github.event_name == 'pull_request' + run: echo "${{ github.event.pull_request.number }}" > tests/validation-reports/PR_NUMBER.txt + - name: Subir informes de validación if: always() uses: actions/upload-artifact@v7 @@ -59,25 +55,6 @@ jobs: path: tests/validation-reports/ retention-days: 30 - - name: Commentar resumen de validación en el PR - if: github.event_name == 'pull_request_target' && always() - uses: actions/github-script@v9 - with: - script: | - const fs = require('fs'); - const path = 'tests/validation-reports/SUMMARY.md'; - if (!fs.existsSync(path)) { - core.warning(`No se encontró ${path}; se omite el comentario.`); - return; - } - const summary = fs.readFileSync(path, 'utf8'); - await github.rest.issues.createComment({ - issue_number: context.payload.pull_request.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: summary - }); - - name: Comprobar resultado de la validación run: | EXIT_CODE="${{ steps.validate.outputs.exit_code }}" From a544786df1a8a483573526b6298aeadf1526d132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 21:31:55 +0200 Subject: [PATCH 06/13] =?UTF-8?q?feat:=20a=C3=B1ade=20workflow=20secundari?= =?UTF-8?q?o=20de=20comentarios=20en=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .github/workflows/comment-shacl-report.yml | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .github/workflows/comment-shacl-report.yml diff --git a/.github/workflows/comment-shacl-report.yml b/.github/workflows/comment-shacl-report.yml new file mode 100644 index 0000000..2aa4a13 --- /dev/null +++ b/.github/workflows/comment-shacl-report.yml @@ -0,0 +1,61 @@ +name: Comentar informe SHACL en PR + +on: + workflow_run: + workflows: ["Validación formas SHACL"] + types: [completed] + +permissions: + contents: read + pull-requests: write + issues: write + actions: read + +jobs: + comment: + if: github.event.workflow_run.event == 'pull_request' + runs-on: ubuntu-latest + steps: + - name: Descargar artefacto de informes + uses: actions/download-artifact@v4 + with: + name: dcat-ap-es-validation-reports + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + path: reports + + - name: Publicar comentario en la PR + uses: actions/github-script@v9 + with: + script: | + const fs = require('fs'); + const path = require('path'); + + const summaryPath = 'reports/SUMMARY.md'; + const prNumberPath = 'reports/PR_NUMBER.txt'; + + if (!fs.existsSync(summaryPath)) { + core.warning(`No se encontró ${summaryPath}; se omite el comentario.`); + return; + } + + let prNumber; + if (fs.existsSync(prNumberPath)) { + prNumber = parseInt(fs.readFileSync(prNumberPath, 'utf8').trim(), 10); + } else { + const pr = context.payload.workflow_run.pull_requests?.[0]; + prNumber = pr?.number; + } + + if (!prNumber) { + core.warning('No se pudo determinar el número de PR.'); + return; + } + + const summary = fs.readFileSync(summaryPath, 'utf8'); + await github.rest.issues.createComment({ + issue_number: prNumber, + owner: context.repo.owner, + repo: context.repo.repo, + body: summary + }); From ab32ce83194949fd0c73ba1c97d510c942ce2ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 21:45:29 +0200 Subject: [PATCH 07/13] feat: ajustar user no root al lanzar docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- tests/validate-local.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/validate-local.sh b/tests/validate-local.sh index 5b0155f..ad24b1e 100644 --- a/tests/validate-local.sh +++ b/tests/validate-local.sh @@ -136,6 +136,7 @@ main() { # Mount workspace as /workspace and set it as working directory # The Python script inside Docker will handle all output and sections docker run --rm \ + --user "$(id -u):$(id -g)" \ -v "$PWD:/workspace" \ -w /workspace \ "$DOCKER_IMAGE" \ From 37ee5b51988bf95711e5b0716ca19df1d4e938f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 21:59:03 +0200 Subject: [PATCH 08/13] =?UTF-8?q?feat:=20mejora=20workflow=20de=20comentar?= =?UTF-8?q?ios=20tras=20validaci=C3=B3n=20SHACL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .github/workflows/comment-shacl-report.yml | 56 ++++++++++++++++++---- 1 file changed, 47 insertions(+), 9 deletions(-) diff --git a/.github/workflows/comment-shacl-report.yml b/.github/workflows/comment-shacl-report.yml index 2aa4a13..1753757 100644 --- a/.github/workflows/comment-shacl-report.yml +++ b/.github/workflows/comment-shacl-report.yml @@ -15,6 +15,7 @@ jobs: comment: if: github.event.workflow_run.event == 'pull_request' runs-on: ubuntu-latest + steps: - name: Descargar artefacto de informes uses: actions/download-artifact@v4 @@ -24,13 +25,13 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} path: reports - - name: Publicar comentario en la PR + - name: Publicar o actualizar comentario en la PR uses: actions/github-script@v9 with: script: | const fs = require('fs'); - const path = require('path'); + const marker = ''; const summaryPath = 'reports/SUMMARY.md'; const prNumberPath = 'reports/PR_NUMBER.txt'; @@ -41,10 +42,9 @@ jobs: let prNumber; if (fs.existsSync(prNumberPath)) { - prNumber = parseInt(fs.readFileSync(prNumberPath, 'utf8').trim(), 10); + prNumber = Number(fs.readFileSync(prNumberPath, 'utf8').trim()); } else { - const pr = context.payload.workflow_run.pull_requests?.[0]; - prNumber = pr?.number; + prNumber = context.payload.workflow_run.pull_requests?.[0]?.number; } if (!prNumber) { @@ -52,10 +52,48 @@ jobs: return; } - const summary = fs.readFileSync(summaryPath, 'utf8'); - await github.rest.issues.createComment({ - issue_number: prNumber, + const summary = fs.readFileSync(summaryPath, 'utf8').trim(); + const shortSha = (context.payload.workflow_run.head_sha || '').slice(0, 7); + const updatedAt = context.payload.workflow_run.updated_at || new Date().toISOString(); + + const body = [ + marker, + '## resumen de validación SHACL', + '', + `Estado del workflow: \`${context.payload.workflow_run.conclusion || 'unknown'}\``, + shortSha ? `Commit: \`${shortSha}\`` : null, + `Actualizado: \`${updatedAt}\``, + '', + summary + ].filter(Boolean).join('\n'); + + const { data: comments } = await github.rest.issues.listComments({ owner: context.repo.owner, repo: context.repo.repo, - body: summary + issue_number: prNumber, + per_page: 100 }); + + const existingComment = comments.find(comment => + comment.user?.type === 'Bot' && + typeof comment.body === 'string' && + comment.body.includes(marker) + ); + + if (existingComment) { + await github.rest.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: existingComment.id, + body + }); + core.info(`Updated comment ${existingComment.id} on PR #${prNumber}.`); + } else { + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + body + }); + core.info(`Created comment on PR #${prNumber}.`); + } From af06006ad50e75ca53d32cb42536112d7ac54504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 22:00:51 +0200 Subject: [PATCH 09/13] =?UTF-8?q?feat:=20a=C3=B1ade=20explicaci=C3=B3n=20d?= =?UTF-8?q?e=20comment-shacl-report.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .github/workflows/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 0ec0d06..dba2962 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -13,13 +13,13 @@ Despliega la documentación MkDocs a GitHub Pages cuando hay cambios en `main`. --- -### [`validate-shacl.yml`](./validate-shacl.yml) +### [`validate-shacl.yml`](./validate-shacl.yml) / [`comment-shacl-report.yml`](./comment-shacl-report.yml) Valida archivos SHACL y ejemplos RDF/TTL en PRs y pushes a `main`/`develop`. **Trigger**: Cambios en `shacl/**/*.ttl`, `examples/**/*.{rdf,ttl}` o archivos de configuración **Ejecución**: Docker con pyshacl (ver `tests/validate-local.sh`) **Artefactos**: Reportes de validación (30 días) -**Nota**: Comenta resumen en PRs automáticamente +**Nota**: Comenta resumen en PRs automáticamente en único post, evitando ruido en la PR --- @@ -78,4 +78,4 @@ Build alternativo de documentación con Poetry (actualmente manual). **Trigger**: Solo manual **Diferencia con mkdocs.yml**: Usa Poetry para gestión de dependencias, incluye Playwright para rendering -**TODO**: Añadir versionado con [mike](https://github.com/jimporter/mike) \ No newline at end of file +**TODO**: Añadir versionado con [mike](https://github.com/jimporter/mike) From 89c1376676ebc0bfd80685e4cfbc7e04e94ae474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 22:09:55 +0200 Subject: [PATCH 10/13] feat: actualiza version de action a >Node20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .github/workflows/comment-shacl-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/comment-shacl-report.yml b/.github/workflows/comment-shacl-report.yml index 1753757..d51354e 100644 --- a/.github/workflows/comment-shacl-report.yml +++ b/.github/workflows/comment-shacl-report.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Descargar artefacto de informes - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: dcat-ap-es-validation-reports run-id: ${{ github.event.workflow_run.id }} From 90b41318826600b66acb4da2c3684dda8a6a0ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 22:21:48 +0200 Subject: [PATCH 11/13] remove: .vscode directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .vscode/settings.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a490b61..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "githubPullRequests.ignoredPullRequestBranches": [ - "main" - ] -} \ No newline at end of file From 28bb35d8577344d7d6e9de03bbfed6f14f286860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20J=C3=A1=C3=B1ez=20Garc=C3=ADa?= Date: Tue, 28 Apr 2026 22:22:18 +0200 Subject: [PATCH 12/13] feat: add.vscode/ to .gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Jáñez García --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 909a364..855e959 100644 --- a/.gitignore +++ b/.gitignore @@ -81,6 +81,7 @@ node_modules **/node_modules/ bower_components .vscode +.vscode/ .idea *.log @@ -136,4 +137,4 @@ tools/.temp refs/github_issue_*.md shacl/dev validation-reports -commit-summary \ No newline at end of file +commit-summary From d8acacd527e1811ef73f884a6d6bc740df13e5a6 Mon Sep 17 00:00:00 2001 From: eminguel Date: Thu, 25 Jun 2026 13:37:24 +0200 Subject: [PATCH 13/13] Eliminacion referencia cnt no normativa MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Eliminación referencia no normativa cnt: . --- docs/adoc/conventions.adoc | 1 - docs/conventions.en.md | 1 - docs/conventions.md | 1 - examples/ttl/Conventions_dataservice-hvd-dataservice.ttl | 2 -- 4 files changed, 5 deletions(-) diff --git a/docs/adoc/conventions.adoc b/docs/adoc/conventions.adoc index 79a5bed..c141624 100644 --- a/docs/adoc/conventions.adoc +++ b/docs/adoc/conventions.adoc @@ -998,7 +998,6 @@ Los prefijos listados son los más comúnmente utilizados, aunque técnicamente | Prefijo | URI | Nombre | Descripción | `adms` | `http://www.w3.org/ns/adms#` | Asset Description | Descripción de activos semánticos -| `cnt` | `http://www.w3.org/2011/content#` | Representing Content in RDF | Representación de contenidos en RDF | `dcat` | `http://www.w3.org/ns/dcat#` | Data Catalog Vocabulary | Vocabulario para describir catálogos de datos | `dcatap` | `http://data.europa.eu/r5r/` | DCAT-AP | Extensiones específicas del perfil DCAT-AP | `dct` | `http://purl.org/dc/terms/` | Dublin Core Terms | Metadatos básicos para describir recursos diff --git a/docs/conventions.en.md b/docs/conventions.en.md index db3c694..3036ef7 100644 --- a/docs/conventions.en.md +++ b/docs/conventions.en.md @@ -746,7 +746,6 @@ The listed prefixes are the most commonly used, although technically other prefi | Prefix | URI | Name | Description | |---------|-----|---------|-------------| | `adms` | `http://www.w3.org/ns/adms#` | Asset Description | Description of semantic assets | -| `cnt` | `http://www.w3.org/2011/content#` | Representing Content in RDF | Representation of content in RDF | | `dcat` | `http://www.w3.org/ns/dcat#` | Data Catalog Vocabulary | Vocabulary for describing data catalogs | | `dcatap` | `http://data.europa.eu/r5r/` | DCAT-AP | Specific extensions of the DCAT-AP profile | | `dct` | `http://purl.org/dc/terms/` | Dublin Core Terms | Basic metadata for describing resources | diff --git a/docs/conventions.md b/docs/conventions.md index 195483d..bdc77ce 100644 --- a/docs/conventions.md +++ b/docs/conventions.md @@ -741,7 +741,6 @@ Los prefijos listados son los más comúnmente utilizados, aunque técnicamente | Prefijo | URI | Nombre | Descripción | |---------|-----|---------|-------------| | `adms` | `http://www.w3.org/ns/adms#` | Asset Description | Descripción de activos semánticos | -| `cnt` | `http://www.w3.org/2011/content#` | Representing Content in RDF | Representación de contenidos en RDF | | `dcat` | `http://www.w3.org/ns/dcat#` | Data Catalog Vocabulary | Vocabulario para describir catálogos de datos | | `dcatap` | `http://data.europa.eu/r5r/` | DCAT-AP | Extensiones específicas del perfil DCAT-AP | | `dct` | `http://purl.org/dc/terms/` | Dublin Core Terms | Metadatos básicos para describir recursos | diff --git a/examples/ttl/Conventions_dataservice-hvd-dataservice.ttl b/examples/ttl/Conventions_dataservice-hvd-dataservice.ttl index 5560eb5..4c9ff64 100644 --- a/examples/ttl/Conventions_dataservice-hvd-dataservice.ttl +++ b/examples/ttl/Conventions_dataservice-hvd-dataservice.ttl @@ -3,7 +3,6 @@ @prefix dcatap: . @prefix foaf: . @prefix vcard: . -@prefix cnt: . @prefix xsd: . a dcat:Distribution ; @@ -14,7 +13,6 @@ dct:license ; dct:modified "2024-12-17"^^xsd:date ; dct:title "Sample CSV" ; - cnt:characterEncoding "UTF-8" ; dcat:accessService [ a dcat:DataService ; dct:title "Example Server" ; dcat:theme ;