OP-3844: add Regionaal zorgplatform + Andere codes, move legacy 'other' orgs to Andere

This commit is contained in:
Boris De Vloed
2026-07-24 13:40:00 +02:00
parent c133c4e0d9
commit a7eceb44bf
4 changed files with 99 additions and 0 deletions

View File

@@ -12,6 +12,9 @@
- Added "werkingsgebied" filter [OP-3812]
- Inhoudelijk thema [OP-3817]
- Werkingsgebied (dct:spatial) for private OCMW associations [OP-3832]
- Add organization types "Regionaal zorgplatform" (altLabel "Regionale zorgzone") and residual "Andere" [OP-3844]
- Move organizations from "Vereniging algemeen" / "Vennootschap algemeen" / "Energieholdings en -participaties" to "Andere"; delete those codes [OP-3844]
- Bump construct-organization-relationships [OP-3844]
### Deploy notes
```
@@ -45,6 +48,14 @@ drc up -d frontend
/bin/bash scripts/reset-elastic.sh
```
```
# requires compose bumps first: construct-organization-relationships 1.1.4, frontend >= 1.40.3
drc pull construct-organization-relationships && drc up -d construct-organization-relationships
drc restart migrations-triggering-indexing
drc up -d frontend
drc restart cache resource
```
## v1.40.0
- Query to check missing address URI's [OP-3784]
- Create new query 'organisations shown in OP frontend' in Dashboard [OP-3774]

View File

@@ -0,0 +1,25 @@
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
PREFIX scheme: <http://data.vlaanderen.be/id/conceptscheme/>
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/e3afe092-6ca6-4685-94c6-1ee20811efc4>
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
mu:uuid "e3afe092-6ca6-4685-94c6-1ee20811efc4" ;
skos:prefLabel "Regionaal zorgplatform" ;
skos:altLabel "Regionale zorgzone" ;
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6>
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
mu:uuid "7a199d27-31c3-44bb-a58f-b3a64673a8b6" ;
skos:prefLabel "Andere" ;
skos:definition "Restcategorie: geregistreerde organisatie die niet onder een van de andere classificaties valt." ;
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
}
}

View File

@@ -0,0 +1,36 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
DELETE {
GRAPH ?g { ?org org:classification ?legacy . }
}
INSERT {
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
}
WHERE {
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?g)
VALUES ?legacy {
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
}
GRAPH ?g { ?org org:classification ?legacy . }
}
;
DELETE {
GRAPH ?g { ?org org:classification ?legacy . }
}
INSERT {
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
}
WHERE {
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?g)
GRAPH <http://mu.semte.ch/graphs/public> {
?legacy a ext:OrganizationClassificationCode ;
skos:prefLabel ?label .
FILTER(REGEX(STR(?label), "^Energieholding", "i"))
}
GRAPH ?g { ?org org:classification ?legacy . }
}

View File

@@ -0,0 +1,27 @@
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
DELETE {
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
}
WHERE {
VALUES ?code {
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
}
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
}
;
DELETE {
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/public> {
?code a ext:OrganizationClassificationCode ;
skos:prefLabel ?label .
FILTER(REGEX(STR(?label), "^Energieholding", "i"))
?code ?p ?o .
}
}