From 157fe4f3745d78e836b23e3275f83c4e0e6f3bd1 Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Wed, 22 Feb 2023 20:30:52 +0100 Subject: [PATCH] Fix producer not exporting all worship admin units Apparently the producer doesn't take into account inheritance when constructing the queries, so we have to explicitely define the necessary types --- .../delta-producer/worship-posts/export.json | 37 ++++++++++++++++++- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/config/delta-producer/worship-posts/export.json b/config/delta-producer/worship-posts/export.json index 38a08ae..83a173d 100644 --- a/config/delta-producer/worship-posts/export.json +++ b/config/delta-producer/worship-posts/export.json @@ -12,7 +12,7 @@ "additionalFilter": "?orgaan ?subject ; / ?bestuurseenheid . ?bestuurseenheid a ?type. FILTER (?type IN (, ))" }, { - "type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", + "type": "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst", "graphsFilter": [ "http://mu.semte.ch/graphs/organisatieportaal" ], @@ -26,10 +26,43 @@ "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" + ] + }, + { + "type": "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst", + "graphsFilter": [ + "http://mu.semte.ch/graphs/organisatieportaal" + ], + "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://data.vlaanderen.be/ns/besluit#werkingsgebied", + "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/organisatieportaal" + ], + "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.vlaanderen.be/ns/besluit#werkingsgebied", + "http://www.w3.org/ns/org#classification", + "http://www.w3.org/ns/org#hasPrimarySite", "http://www.w3.org/ns/org#hasSite", "http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur" ], - "additionalFilter": "?subject ?bestuurClassification . FILTER (?bestuurClassification IN (, , , ))" + "additionalFilter": "?subject ?bestuurClassification . FILTER (?bestuurClassification IN (, ))" }, { "type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",