From 973d86a138975d6cf87ffca4b765b54a82d0c647 Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Tue, 17 Dec 2024 12:16:08 +0100 Subject: [PATCH 1/3] Export betrokken lokale besturen with submissions This is information that is now required by Toezicht ABB to be able to show properly cross-referenced documents. --- config/export/submissions/type-export.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/config/export/submissions/type-export.js b/config/export/submissions/type-export.js index 1c21dd3c..75390a11 100755 --- a/config/export/submissions/type-export.js +++ b/config/export/submissions/type-export.js @@ -116,7 +116,8 @@ export default { eli: "http://data.europa.eu/eli/ontology#", meb: "http://rdf.myexperiment.org/ontologies/base/", elod: "http://linkedeconomy.org/ontology#", - toezicht: "http://mu.semte.ch/vocabularies/ext/supervision/" + toezicht: "http://mu.semte.ch/vocabularies/ext/supervision/", + ere: "http://data.lblod.info/vocabularies/erediensten/", }, types: [ { @@ -130,7 +131,8 @@ export default { "besluit:classificatie", "ext:inProvincie", "dct:identifier", - "skos:altLabel" + "skos:altLabel", + "ere:betrokkenBestuur", ], additionalFilter: "" }, @@ -625,6 +627,18 @@ ${ADVANCED_SUBMISSION_FILTER} nmo:sentDate ?sentDate . `, hasDateFilter: true, + }, + { + type: "ere:BetrokkenLokaleBesturen", + requiredProperties: [ + "mu:uuid" + ], + optionalProperties: [ + "ere:financieringspercentage", + "ere:typebetrokkenheid", + "org:organization" + ], + additionalFilter: "" } ] }; From ac14c5c487a2bf87b8983f87f093d798fc5aa0e4 Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Tue, 17 Dec 2024 14:14:33 +0100 Subject: [PATCH 2/3] Update Changelog --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac171985..38fe6cec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## Unreleased + +- Export betrokken lokale besturen with submissions [#624] + +### Deploy notes +#### Docker Commands + +- `drc restart export-submissions` + ## 1.107.0 (2024-12-13) ### General From ea49435bbebfa847880a315993a24a0a298f6ed6 Mon Sep 17 00:00:00 2001 From: benjay10 Date: Fri, 3 Jan 2025 05:07:04 +0100 Subject: [PATCH 3/3] Add missing exported Artikel and cross ref relation --- config/export/submissions/type-export.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/config/export/submissions/type-export.js b/config/export/submissions/type-export.js index 75390a11..5201abeb 100755 --- a/config/export/submissions/type-export.js +++ b/config/export/submissions/type-export.js @@ -245,7 +245,8 @@ ${ADVANCED_SUBMISSION_FILTER} "mu:uuid" ], optionalProperties: [ - "dct:source" + "dct:source", + "eli:has_part" ], additionalFilter: ` ?submission dct:subject ?resource . @@ -263,6 +264,18 @@ ${ADVANCED_SUBMISSION_FILTER} ], additionalFilter: "" }, + { + type: "besluit:Artikel", + requiredProperties: [ + ], + optionalProperties: [ + "mu:uuid", + "schema:publication", + "eli:type_document", + "eli:refers_to" + ], + additionalFilter: "" + }, { type: "lblodBesluit:TaxRate", requiredProperties: [ @@ -347,6 +360,7 @@ FILTER (?conceptScheme IN ( "eli:date_publication", "elod:financialYear", "dct:description", + "dct:relation", "rdfs:comment", "eli:first_date_entry_in_force", "eli:date_no_longer_in_force", @@ -386,6 +400,7 @@ ${ADVANCED_SUBMISSION_FILTER} "dct:hasPart", "ext:taxRateAmount", "dct:type", + "dct:relation", "ext:decisionType", "ext:regulationType", "ext:taxType"