From 7fc1ea1c29cb141ea9e9923cdc9a498728834e9d Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Mon, 22 Jun 2026 10:16:55 +0200 Subject: [PATCH 1/2] Added orgs --- ...ew-organization-classification-codes.graph | 1 + ...-new-organization-classification-codes.ttl | 51 +++++++++++++++++++ config/resources/domain.json | 7 +++ 3 files changed, 59 insertions(+) create mode 100644 config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph create mode 100644 config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl diff --git a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph new file mode 100644 index 0000000..092c3a9 --- /dev/null +++ b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph @@ -0,0 +1 @@ +http://mu.semte.ch/graphs/public diff --git a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl new file mode 100644 index 0000000..6efb1ea --- /dev/null +++ b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl @@ -0,0 +1,51 @@ +# New organization classification codes (ticket: new org types). +# prefLabel = technically-correct org name; altLabel = colloquial werkingsgebied term. +# URIs minted under lblod.data.gift (not data.vlaanderen.be/id/concept, to avoid extending the squat). +# Each code is inScheme its family scheme AND the public-export scheme (10caf4a4) = the export switch. +@prefix rdf: . +@prefix skos: . +@prefix mu: . +@prefix ext: . +@prefix code: . +@prefix scheme: . + +# --- BestuurseenheidClassificatieCode (besluit:Bestuurseenheid) --- + + + rdf:type ext:OrganizationClassificationCode , code:BestuurseenheidClassificatieCode ; + mu:uuid "3a2649ef-7345-4d3a-8709-f89fc9b44f58" ; + skos:prefLabel "Interlokale vereniging" ; + skos:topConceptOf scheme:BestuurseenheidClassificatieCode ; + skos:inScheme scheme:BestuurseenheidClassificatieCode , . + + + rdf:type ext:OrganizationClassificationCode , code:BestuurseenheidClassificatieCode ; + mu:uuid "b2133b86-24f0-44f0-9d10-5b4c7f944a9d" ; + skos:prefLabel "Vervoerregioraad" ; + skos:altLabel "Vervoerregio" ; # Modelled as the werkingsgebied of a Vervoerregioraad, but colloquially known as a Vervoerregio. + skos:topConceptOf scheme:BestuurseenheidClassificatieCode ; + skos:inScheme scheme:BestuurseenheidClassificatieCode , . + +# --- GeregistreerdeOrganisatieClassificatieCode (regorg:RegisteredOrganization) --- + + + rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ; + mu:uuid "8392b885-a875-4b0d-b6a2-b52e53bda454" ; + skos:prefLabel "Zorgraad" ; + skos:altLabel "Eerstelijnszone" ; # Modelled as the werkingsgebied of a Zorgraad, but colloquially known as an Eerstelijnszone. + skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ; + skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , . + + + rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ; + mu:uuid "b22948f9-e695-4f24-a530-b6bf3af3b37f" ; + skos:prefLabel "Bosgroep" ; + skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ; + skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , . + + + rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ; + mu:uuid "f4e5bb57-1007-4397-828b-b34bbf1e760d" ; + skos:prefLabel "Woonmaatschappij" ; + skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ; + skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , . diff --git a/config/resources/domain.json b/config/resources/domain.json index 7e488d9..a8a8f71 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -521,6 +521,13 @@ "registered-organizations": { "class": "regorg:RegisteredOrganization", "super": ["organizations"], + "relationships": { + "scope": { + "predicate": "dc_terms:spatial", + "target": "locations", + "cardinality": "one" + } + }, "new-resource-base": "http://data.lblod.info/id/geregistreerdeOrganisaties/" }, "organization-classification-codes": { From f821710ea7b2fee612510e1283eed2d8f13338e2 Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Mon, 22 Jun 2026 17:53:53 +0200 Subject: [PATCH 2/2] Revert "Added orgs" This reverts commit 3ced194b73557f855ade44ee4b7f6bc9fd5214af. --- ...ew-organization-classification-codes.graph | 1 - ...-new-organization-classification-codes.ttl | 51 ------------------- config/resources/domain.json | 7 --- 3 files changed, 59 deletions(-) delete mode 100644 config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph delete mode 100644 config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl diff --git a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph deleted file mode 100644 index 092c3a9..0000000 --- a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.graph +++ /dev/null @@ -1 +0,0 @@ -http://mu.semte.ch/graphs/public diff --git a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl deleted file mode 100644 index 6efb1ea..0000000 --- a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100000-add-new-organization-classification-codes.ttl +++ /dev/null @@ -1,51 +0,0 @@ -# New organization classification codes (ticket: new org types). -# prefLabel = technically-correct org name; altLabel = colloquial werkingsgebied term. -# URIs minted under lblod.data.gift (not data.vlaanderen.be/id/concept, to avoid extending the squat). -# Each code is inScheme its family scheme AND the public-export scheme (10caf4a4) = the export switch. -@prefix rdf: . -@prefix skos: . -@prefix mu: . -@prefix ext: . -@prefix code: . -@prefix scheme: . - -# --- BestuurseenheidClassificatieCode (besluit:Bestuurseenheid) --- - - - rdf:type ext:OrganizationClassificationCode , code:BestuurseenheidClassificatieCode ; - mu:uuid "3a2649ef-7345-4d3a-8709-f89fc9b44f58" ; - skos:prefLabel "Interlokale vereniging" ; - skos:topConceptOf scheme:BestuurseenheidClassificatieCode ; - skos:inScheme scheme:BestuurseenheidClassificatieCode , . - - - rdf:type ext:OrganizationClassificationCode , code:BestuurseenheidClassificatieCode ; - mu:uuid "b2133b86-24f0-44f0-9d10-5b4c7f944a9d" ; - skos:prefLabel "Vervoerregioraad" ; - skos:altLabel "Vervoerregio" ; # Modelled as the werkingsgebied of a Vervoerregioraad, but colloquially known as a Vervoerregio. - skos:topConceptOf scheme:BestuurseenheidClassificatieCode ; - skos:inScheme scheme:BestuurseenheidClassificatieCode , . - -# --- GeregistreerdeOrganisatieClassificatieCode (regorg:RegisteredOrganization) --- - - - rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ; - mu:uuid "8392b885-a875-4b0d-b6a2-b52e53bda454" ; - skos:prefLabel "Zorgraad" ; - skos:altLabel "Eerstelijnszone" ; # Modelled as the werkingsgebied of a Zorgraad, but colloquially known as an Eerstelijnszone. - skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ; - skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , . - - - rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ; - mu:uuid "b22948f9-e695-4f24-a530-b6bf3af3b37f" ; - skos:prefLabel "Bosgroep" ; - skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ; - skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , . - - - rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ; - mu:uuid "f4e5bb57-1007-4397-828b-b34bbf1e760d" ; - skos:prefLabel "Woonmaatschappij" ; - skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ; - skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , . diff --git a/config/resources/domain.json b/config/resources/domain.json index a8a8f71..7e488d9 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -521,13 +521,6 @@ "registered-organizations": { "class": "regorg:RegisteredOrganization", "super": ["organizations"], - "relationships": { - "scope": { - "predicate": "dc_terms:spatial", - "target": "locations", - "cardinality": "one" - } - }, "new-resource-base": "http://data.lblod.info/id/geregistreerdeOrganisaties/" }, "organization-classification-codes": {