From dc9d060d4993bbe91acd21361f29f77e898b08e9 Mon Sep 17 00:00:00 2001 From: felix Date: Wed, 30 Oct 2024 15:49:17 +0100 Subject: [PATCH 1/4] Added config export to export ABB --- config/delta-producer/public/export.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/delta-producer/public/export.json b/config/delta-producer/public/export.json index 0dc2b36..b3dfe11 100644 --- a/config/delta-producer/public/export.json +++ b/config/delta-producer/public/export.json @@ -99,6 +99,20 @@ "http://www.w3.org/ns/regorg#orgStatus" ] }, + { + "type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", + "strictTypeExport": "true", + "graphsFilter": [ + "http://mu.semte.ch/graphs/public" + ], + "comment": "Bound to ABB only.", + "properties": [ + "http://mu.semte.ch/vocabularies/core/uuid", + "http://www.w3.org/2004/02/skos/core#prefLabel", + "http://purl.org/dc/terms/identifier" + ], + "additionalFilter": "BIND( as ?subject)" + }, { "type": "http://www.w3.org/ns/regorg#RegisteredOrganization", "strictTypeExport": "true", From ac0f5764dfa1233052b4782fdb7f98f018c246e7 Mon Sep 17 00:00:00 2001 From: felix Date: Tue, 5 Nov 2024 11:27:50 +0100 Subject: [PATCH 2/4] updated producer config --- config/delta-producer/public/export.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/delta-producer/public/export.json b/config/delta-producer/public/export.json index b3dfe11..425f809 100644 --- a/config/delta-producer/public/export.json +++ b/config/delta-producer/public/export.json @@ -109,7 +109,8 @@ "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#prefLabel", - "http://purl.org/dc/terms/identifier" + "http://purl.org/dc/terms/identifier", + "http://www.w3.org/ns/org#classification" ], "additionalFilter": "BIND( as ?subject)" }, From 023114fcab3d35563b1275f43e304ee0ad7197d0 Mon Sep 17 00:00:00 2001 From: felix Date: Tue, 5 Nov 2024 11:28:06 +0100 Subject: [PATCH 3/4] added migration to add classification --- ...d-classification-to-abb-as-bestuurseenheid.sparql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql diff --git a/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql b/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql new file mode 100644 index 0000000..8e51f93 --- /dev/null +++ b/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql @@ -0,0 +1,12 @@ +INSERT DATA { + GRAPH { + + "Agentschap Binnenlands Bestuur" ; + ; + ; + "52cc9d8d-1c9a-4d92-9936-da9d4a622ec4" ; + . + + . + } +} \ No newline at end of file From f79d31e1536e7ed72724f1d12e6b699052e2d249 Mon Sep 17 00:00:00 2001 From: felix Date: Tue, 5 Nov 2024 11:36:41 +0100 Subject: [PATCH 4/4] update migration --- ...d-classification-to-abb-as-bestuurseenheid.sparql | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql b/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql index 8e51f93..e865e3c 100644 --- a/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql +++ b/config/migrations/2024/20241105095234-add-classification-to-abb-as-bestuurseenheid.sparql @@ -1,12 +1,14 @@ INSERT DATA { GRAPH { - "Agentschap Binnenlands Bestuur" ; - ; - ; + ; + ; "52cc9d8d-1c9a-4d92-9936-da9d4a622ec4" ; - . + ; + ; + "Agentschap Binnenlands Bestuur" ; + . . } -} \ No newline at end of file +}