From 8d1e434e5d98e73e1f31245d5c747377bb9ef927 Mon Sep 17 00:00:00 2001 From: Claire Lovisa Date: Fri, 3 Mar 2023 13:23:43 +0100 Subject: [PATCH] Fixing producer not dumping betrokkenBestuur A Bestuurseenheid can now have triples in multiple graphs in OP : worship graph, admin unit graph, shared graph. But when there is an additional filter on top, it expects all the triples to be in the same graph, causing triples in the worship graph not to be exported. Moving them to a separate block allows them to be safely exported :) --- config/delta-producer/worship-posts/export.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/config/delta-producer/worship-posts/export.json b/config/delta-producer/worship-posts/export.json index ef2656a..384e44c 100644 --- a/config/delta-producer/worship-posts/export.json +++ b/config/delta-producer/worship-posts/export.json @@ -53,8 +53,7 @@ "type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", "graphsFilter": [ "http://mu.semte.ch/graphs/shared", - "http://mu.semte.ch/graphs/administrative-unit", - "http://mu.semte.ch/graphs/worship-service" + "http://mu.semte.ch/graphs/administrative-unit" ], "properties": [ "http://mu.semte.ch/vocabularies/core/uuid", @@ -64,11 +63,19 @@ "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" + "http://www.w3.org/ns/org#hasSite" ], "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" + ] + }, { "type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan", "graphsFilter": [