From 928106c53c37d9e2044a1701b84f192614082375 Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Wed, 8 Mar 2023 17:40:51 +0100 Subject: [PATCH] Fix posts producer --- .../delta-producer/worship-posts/export.json | 90 +++++++------------ 1 file changed, 34 insertions(+), 56 deletions(-) diff --git a/config/delta-producer/worship-posts/export.json b/config/delta-producer/worship-posts/export.json index 50b8ad4..0f540bd 100644 --- a/config/delta-producer/worship-posts/export.json +++ b/config/delta-producer/worship-posts/export.json @@ -12,10 +12,31 @@ ], "additionalFilter": "?orgaan ?subject ; / ?bestuurseenheid . ?bestuurseenheid a ?type. FILTER (?type IN (, ))" }, + { + "type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", + "graphsFilter": [ + "http://mu.semte.ch/graphs/worship-service", + "http://mu.semte.ch/graphs/shared", + "http://mu.semte.ch/graphs/administrative-unit" + ], + "properties": [ + "http://mu.semte.ch/vocabularies/core/uuid", + "http://www.w3.org/2004/02/skos/core#prefLabel", + "http://www.w3.org/2004/02/skos/core#altLabel", + "http://www.w3.org/ns/regorg#orgStatus", + "http://data.lblod.info/vocabularies/erediensten/typeEredienst", + "http://www.w3.org/ns/org#classification", + "http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", + "http://www.w3.org/ns/org#hasPrimarySite", + "http://www.w3.org/ns/org#hasSite", + "http://www.w3.org/ns/adms#identifier", + "http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur" + ], + "additionalFilter": "?subject ?bestuurClassification . FILTER (?bestuurClassification IN (, , , ))" + }, { "type": "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst", "graphsFilter": [ - "http://mu.semte.ch/graphs/shared", "http://mu.semte.ch/graphs/worship-service" ], "properties": [ @@ -27,13 +48,14 @@ "http://www.w3.org/ns/org#classification", "http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor", "http://www.w3.org/ns/org#hasPrimarySite", - "http://www.w3.org/ns/org#hasSite" + "http://www.w3.org/ns/org#hasSite", + "http://www.w3.org/ns/adms#identifier" ] }, { "type": "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst", + "strictTypeExport": "true", "graphsFilter": [ - "http://mu.semte.ch/graphs/shared", "http://mu.semte.ch/graphs/worship-service" ], "properties": [ @@ -44,31 +66,8 @@ "http://data.lblod.info/vocabularies/erediensten/typeEredienst", "http://www.w3.org/ns/org#classification", "http://www.w3.org/ns/org#hasPrimarySite", - "http://www.w3.org/ns/org#hasSite" - ] - }, - { - "type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", - "graphsFilter": [ - "http://mu.semte.ch/graphs/shared", - "http://mu.semte.ch/graphs/administrative-unit" - ], - "properties": [ - "http://mu.semte.ch/vocabularies/core/uuid", - "http://www.w3.org/2004/02/skos/core#prefLabel", - "http://www.w3.org/2004/02/skos/core#altLabel", - "http://www.w3.org/ns/org#classification", + "http://www.w3.org/ns/org#hasSite", "http://www.w3.org/ns/adms#identifier" - ], - "additionalFilter": "?subject ?bestuurClassification . FILTER (?bestuurClassification IN (, ))" - }, - { - "type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", - "graphsFilter": [ - "http://mu.semte.ch/graphs/worship-service" - ], - "properties": [ - "http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur" ] }, { @@ -134,50 +133,29 @@ { "type": "http://www.w3.org/ns/adms#Identifier", "graphsFilter": [ - "http://mu.semte.ch/graphs/administrative-unit", - "http://mu.semte.ch/graphs/shared" + "http://mu.semte.ch/graphs/worship-service", + "http://mu.semte.ch/graphs/shared", + "http://mu.semte.ch/graphs/administrative-unit" ], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "http://www.w3.org/2004/02/skos/core#notation", "https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator" ], - "additionalFilter": "?bestuur ?subject ; ?bestuurClassification . FILTER (?bestuurClassification IN (, ))" + "additionalFilter": "?subject \"KBO nummer\" ." }, { "type": "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator", "graphsFilter": [ - "http://mu.semte.ch/graphs/administrative-unit", - "http://mu.semte.ch/graphs/shared" + "http://mu.semte.ch/graphs/worship-service", + "http://mu.semte.ch/graphs/shared", + "http://mu.semte.ch/graphs/administrative-unit" ], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", "https://data.vlaanderen.be/ns/generiek#lokaleIdentificator" ], - "additionalFilter": "?bestuur ?id ; ?bestuurClassification . FILTER (?bestuurClassification IN (, )) . ?id ?subject ." - }, - { - "type": "http://www.w3.org/ns/adms#Identifier", - "graphsFilter": [ - "http://mu.semte.ch/graphs/worship-service" - ], - "properties": [ - "http://mu.semte.ch/vocabularies/core/uuid", - "http://www.w3.org/2004/02/skos/core#notation", - "https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator" - ], - "additionalFilter": "?bestuur ?subject . ?bestuur a ." - }, - { - "type": "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator", - "graphsFilter": [ - "http://mu.semte.ch/graphs/worship-service" - ], - "properties": [ - "http://mu.semte.ch/vocabularies/core/uuid", - "https://data.vlaanderen.be/ns/generiek#lokaleIdentificator" - ], - "additionalFilter": "?bestuur ?id . ?bestuur a . ?id ?subject ." + "additionalFilter": "?subject ^/ \"KBO nummer\" ." }, { "type": "http://www.w3.org/ns/org#Site",