Flush landing-zone leidinggevenden and mandatarissen

We do want to avoid inconsistencies popping up; i.e. bestuurseenheid
label gets upated, but that won't be reflected in the landing zone
since the information by the producers is not produced anymore,
potentially bringing very confusion situations
This commit is contained in:
felix
2025-03-24 17:15:37 +01:00
parent 93298b2c34
commit b9fb9d8a63
2 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/landing-zone/leidinggevenden> {
?s a ?type;
?p ?o.
}
}
WHERE {
VALUES ?type {
<http://mu.semte.ch/vocabularies/ext/BestuurseenheidClassificatieCode>
<http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>
<http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>
<http://mu.semte.ch/vocabularies/ext/BestuursorgaanClassificatieCode>
<http://mu.semte.ch/vocabularies/ext/BestuursfunctieCode>
<http://data.lblod.info/vocabularies/leidinggevenden/FunctionarisStatusCode>
<http://www.w3.org/ns/prov#Location>
}
GRAPH <http://mu.semte.ch/graphs/landing-zone/leidinggevenden> {
?s a ?type;
?p ?o.
}
}

View File

@@ -0,0 +1,23 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/landing-zone/mandatarissen> {
?s a ?type;
?p ?o.
}
}
WHERE {
VALUES ?type {
<http://mu.semte.ch/vocabularies/ext/MandatarisStatusCode>
<http://data.vlaanderen.be/ns/mandaat#Mandaat>
<http://mu.semte.ch/vocabularies/ext/BestuursfunctieCode>
<http://data.vlaanderen.be/ns/besluit#Bestuursorgaan>
<http://mu.semte.ch/vocabularies/ext/BestuursorgaanClassificatieCode>
<http://data.vlaanderen.be/ns/besluit#Bestuurseenheid>
<http://mu.semte.ch/vocabularies/ext/BestuurseenheidClassificatieCode>
<http://www.w3.org/ns/prov#Location>
}
GRAPH <http://mu.semte.ch/graphs/landing-zone/mandatarissen> {
?s a ?type;
?p ?o.
}
}