Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune leidingevenden producer to stop producing what OP produces #644

Draft
wants to merge 5 commits into
base: chore/prune-mandatarissen-producer-config
Choose a base branch
from

Conversation

benjay10
Copy link
Contributor

@benjay10 benjay10 commented Feb 21, 2025

[DL-6449]

See #638

The notes that would come in this description would be almost identical to the ones in the linked PR above from @claire-lovisa. Please use those notes and apply them to the app-leidingevenden-databank.

NOTE: I copied what @claire-lovisa did in their PR, but applied those changes to leidinggevenden.

NOTE: I found some predicates that seem to be added in Loket on the Bestuursorgaan and Bestuursfunctie. See the migration on the publication triplestore, where I attempt to keep them. I assume these are important.

TODO: I would like to still run a test, such as in the aforementioned PR to see if all runs well.

@benjay10 benjay10 added the enhancement New feature or request label Feb 21, 2025
Copy link
Contributor

@claire-lovisa claire-lovisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When running the healing after the flush + update of the configuration I noticed that some organen types were deleted by the producer. It's an issue because it means some consuming apps will have organen without a type ahah. I think it's because when the orgaan doesn't have a <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> triple, the type is not produced at all. So when flushing, we should only keep the type if we have a heeftBestuursfunctie predicate on the orgaan. This is just a supposition, to be tested!

WHERE {
GRAPH <http://redpencil.data.gift/id/deltas/producer/loket-leidinggevenden-producer> {
?s
rfd:type <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants