diff --git a/.gitignore b/.gitignore
index ccfbba6..4b8e33a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
# Virtuoso files /data/db
+/data/publication-triplestore/*
/data/db.bck/**
/data/db/*
/data/db/virtuoso.ini
diff --git a/config/authorization/config.ex b/config/authorization/config.ex
index f6fa2de..12f824e 100644
--- a/config/authorization/config.ex
+++ b/config/authorization/config.ex
@@ -7,92 +7,93 @@ alias Acl.GroupSpec, as: GroupSpec
alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup
defmodule Acl.UserGroups.Config do
-
@error_type [
"https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/core-vocab.html#Error"
]
@worship_type [
- "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
- "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
- "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
- "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
- "http://data.lblod.info/vocabularies/erediensten/VoorwaardenBedienaar",
- "http://data.lblod.info/vocabularies/erediensten/PositieBedienaar",
- "http://data.lblod.info/vocabularies/erediensten/BetrokkenLokaleBesturen",
- "http://data.lblod.info/vocabularies/erediensten/VerbondenJuridischeStructuren",
- "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
- "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
+ "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
+ "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
+ "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
+ "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
+ "http://data.lblod.info/vocabularies/erediensten/VoorwaardenBedienaar",
+ "http://data.lblod.info/vocabularies/erediensten/PositieBedienaar",
+ "http://data.lblod.info/vocabularies/erediensten/BetrokkenLokaleBesturen",
+ "http://data.lblod.info/vocabularies/erediensten/VerbondenJuridischeStructuren",
+ "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
+ "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan"
]
@public_type [
- "http://www.w3.org/ns/org#Role",
- "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
- "http://xmlns.com/foaf/0.1/Person",
- "http://xmlns.com/foaf/0.1/OnlineAccount",
- "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject",
- "http://www.w3.org/ns/dcat#Dataset",
- "http://www.w3.org/ns/dcat#Distribution",
- "http://www.w3.org/ns/dcat#Catalog",
- "http://mu.semte.ch/vocabularies/ext/GeslachtCode",
- "http://data.lblod.info/vocabularies/leidinggevenden/FunctionarisStatusCode",
- "http://lblod.data.gift/vocabularies/organisatie/OrganisatieStatusCode",
- "http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode",
- "http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode",
- "http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
- "http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
- "http://lblod.data.gift/vocabularies/organisatie/TypeEredienst",
- "http://www.w3.org/2004/02/skos/core#ConceptScheme",
- "http://lblod.data.gift/vocabularies/organisatie/BedienaarFinancieringCode",
- "http://www.w3.org/2004/02/skos/core#Concept",
- "http://publications.europa.eu/ontology/euvoc#Country",
- "http://lblod.data.gift/vocabularies/organisatie/TypeVestiging",
- "http://lblod.data.gift/vocabularies/organisatie/HelftVerkiezing",
- "http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis",
- "http://lblod.data.gift/vocabularies/organisatie/TypeBetrokkenheid",
- "http://lblod.data.gift/vocabularies/organisatie/VoorwaardenBedienaarCriterium",
- "http://lblod.data.gift/vocabularies/organisatie/BedienaarCriteriumBewijsstuk",
- "http://lblod.data.gift/vocabularies/organisatie/EredienstBeroepen",
- "http://lblod.data.gift/vocabularies/organisatie/Rechtsvormtype"
+ "http://www.w3.org/ns/org#Role",
+ "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
+ "http://xmlns.com/foaf/0.1/Person",
+ "http://xmlns.com/foaf/0.1/OnlineAccount",
+ "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject",
+ "http://www.w3.org/ns/dcat#Dataset",
+ "http://www.w3.org/ns/dcat#Distribution",
+ "http://www.w3.org/ns/dcat#Catalog",
+ "http://mu.semte.ch/vocabularies/ext/GeslachtCode",
+ "http://data.lblod.info/vocabularies/leidinggevenden/FunctionarisStatusCode",
+ "http://lblod.data.gift/vocabularies/organisatie/OrganisatieStatusCode",
+ "http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode",
+ "http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode",
+ "http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
+ "http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
+ "http://lblod.data.gift/vocabularies/organisatie/TypeEredienst",
+ "http://www.w3.org/2004/02/skos/core#ConceptScheme",
+ "http://lblod.data.gift/vocabularies/organisatie/BedienaarFinancieringCode",
+ "http://www.w3.org/2004/02/skos/core#Concept",
+ "http://publications.europa.eu/ontology/euvoc#Country",
+ "http://lblod.data.gift/vocabularies/organisatie/TypeVestiging",
+ "http://lblod.data.gift/vocabularies/organisatie/HelftVerkiezing",
+ "http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis",
+ "http://lblod.data.gift/vocabularies/organisatie/TypeBetrokkenheid",
+ "http://lblod.data.gift/vocabularies/organisatie/VoorwaardenBedienaarCriterium",
+ "http://lblod.data.gift/vocabularies/organisatie/BedienaarCriteriumBewijsstuk",
+ "http://lblod.data.gift/vocabularies/organisatie/EredienstBeroepen",
+ "http://lblod.data.gift/vocabularies/organisatie/Rechtsvormtype"
]
@org_type [
- "http://purl.org/dc/terms/Agent",
- "http://www.w3.org/ns/org#Organization",
- "http://data.vlaanderen.be/ns/besluit#Besluit",
- "https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
- "http://www.w3.org/ns/org#Site",
- "http://www.w3.org/ns/locn#Address",
- "http://www.w3.org/ns/person#Person",
- "http://schema.org/ContactPoint",
- "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
- "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
- "http://www.w3.org/ns/adms#Identifier",
- "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator",
- "http://data.vlaanderen.be/ns/mandaat#Mandaat",
- "http://data.vlaanderen.be/ns/mandaat#Mandataris",
- "http://data.lblod.info/vocabularies/leidinggevenden/Functionaris",
- "http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie",
- "http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
- "http://www.w3.org/ns/org#Post",
- "http://www.w3.org/ns/org#ChangeEvent",
- "http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
+ "http://purl.org/dc/terms/Agent",
+ "http://www.w3.org/ns/org#Organization",
+ "http://www.w3.org/ns/regorg#RegisteredOrganization",
+ "http://data.vlaanderen.be/ns/besluit#Besluit",
+ "https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
+ "http://www.w3.org/ns/org#Site",
+ "http://www.w3.org/ns/locn#Address",
+ "http://www.w3.org/ns/person#Person",
+ "http://schema.org/ContactPoint",
+ "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
+ "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
+ "http://www.w3.org/ns/adms#Identifier",
+ "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator",
+ "http://data.vlaanderen.be/ns/mandaat#Mandaat",
+ "http://data.vlaanderen.be/ns/mandaat#Mandataris",
+ "http://data.lblod.info/vocabularies/leidinggevenden/Functionaris",
+ "http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie",
+ "http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
+ "http://www.w3.org/ns/org#Post",
+ "http://www.w3.org/ns/org#ChangeEvent",
+ "http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
]
@shared_protected_type [
- "http://www.w3.org/ns/prov#Location",
- "http://xmlns.com/foaf/0.1/Image",
- "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"
+ "http://www.w3.org/ns/prov#Location",
+ "http://xmlns.com/foaf/0.1/Image",
+ "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"
]
- defp access_by_role( group_string ) do
+ defp access_by_role(group_string) do
%AccessByQuery{
-# vars: ["session_group","session_role"], todo we might have to create multiple graph depending on role
+ # vars: ["session_group","session_role"], todo we might have to create multiple graph depending on role
vars: [],
- query: sparql_query_for_access_role( group_string ) }
+ query: sparql_query_for_access_role(group_string)
+ }
end
- defp sparql_query_for_access_role( group_string ) do
+ defp sparql_query_for_access_role(group_string) do
"PREFIX ext:
PREFIX mu:
SELECT distinct ?session_group ?session_role WHERE {
@@ -104,11 +105,10 @@ defmodule Acl.UserGroups.Config do
def user_groups do
[
-
%GroupSpec{
name: "acmidm-lezer",
useage: [:read],
- access: access_by_role( "ABBOrganisatiePortaalGebruiker-lezer" ),
+ access: access_by_role("ABBOrganisatiePortaalGebruiker-lezer"),
graphs: [
%GraphSpec{
graph: "http://mu.semte.ch/graphs/administrative-unit",
@@ -121,7 +121,7 @@ defmodule Acl.UserGroups.Config do
%GroupSpec{
name: "acmidm-editeerder",
useage: [:read, :write, :read_for_write],
- access: access_by_role( "ABBOrganisatiePortaalGebruiker-editeerder" ),
+ access: access_by_role("ABBOrganisatiePortaalGebruiker-editeerder"),
graphs: [
%GraphSpec{
graph: "http://mu.semte.ch/graphs/administrative-unit",
@@ -134,7 +134,7 @@ defmodule Acl.UserGroups.Config do
%GroupSpec{
name: "acmidm-beheerder",
useage: [:read, :write, :read_for_write],
- access: access_by_role( "ABBOrganisatiePortaalGebruiker-beheerder" ),
+ access: access_by_role("ABBOrganisatiePortaalGebruiker-beheerder"),
graphs: [
%GraphSpec{
graph: "http://mu.semte.ch/graphs/administrative-unit",
@@ -147,7 +147,7 @@ defmodule Acl.UserGroups.Config do
%GroupSpec{
name: "acmidm-worship-lezer",
useage: [:read],
- access: access_by_role( "ABBOrganisatiePortaalErediensten-lezer" ),
+ access: access_by_role("ABBOrganisatiePortaalErediensten-lezer"),
graphs: [
%GraphSpec{
graph: "http://mu.semte.ch/graphs/worship-service",
@@ -160,7 +160,7 @@ defmodule Acl.UserGroups.Config do
%GroupSpec{
name: "acmidm-worship-editeerder",
useage: [:read, :write, :read_for_write],
- access: access_by_role( "ABBOrganisatiePortaalErediensten-editeerder" ),
+ access: access_by_role("ABBOrganisatiePortaalErediensten-editeerder"),
graphs: [
%GraphSpec{
graph: "http://mu.semte.ch/graphs/worship-service",
@@ -173,7 +173,7 @@ defmodule Acl.UserGroups.Config do
%GroupSpec{
name: "acmidm-worship-beheerder",
useage: [:read, :write, :read_for_write],
- access: access_by_role( "ABBOrganisatiePortaalErediensten-beheerder" ),
+ access: access_by_role("ABBOrganisatiePortaalErediensten-beheerder"),
graphs: [
%GraphSpec{
graph: "http://mu.semte.ch/graphs/worship-service",
@@ -189,10 +189,10 @@ defmodule Acl.UserGroups.Config do
access: %AlwaysAccessible{},
graphs: [
%GraphSpec{
- graph: "http://mu.semte.ch/graphs/public",
- constraint: %ResourceConstraint{
- resource_types: @public_type
- }
+ graph: "http://mu.semte.ch/graphs/public",
+ constraint: %ResourceConstraint{
+ resource_types: @public_type
+ }
},
%GraphSpec{
graph: "http://mu.semte.ch/graphs/shared",
@@ -200,8 +200,8 @@ defmodule Acl.UserGroups.Config do
resource_types: @shared_protected_type ++ @org_type
}
}
-
- ]},
+ ]
+ },
# // CLEANUP
#
diff --git a/config/delta-producer/organizations-public-info/export.json b/config/delta-producer/organizations-public-info/export.json
index 7336a51..100be72 100644
--- a/config/delta-producer/organizations-public-info/export.json
+++ b/config/delta-producer/organizations-public-info/export.json
@@ -1,5 +1,7 @@
{
+ "conceptScheme": "http://lblod.data.gift/concept-schemes/0d101f02-609d-4cde-bb07-639d874470c4",
"export": [
+
{
"type": "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
"strictTypeExport": "true",
@@ -346,6 +348,27 @@
"http://www.w3.org/ns/org#role",
"http://www.w3.org/2004/02/skos/core#prefLabel"
]
+ },
+ {
+ "type": "http://www.w3.org/2004/02/skos/core#Concept",
+ "graphsFilter": [
+ "http://mu.semte.ch/graphs/public"
+ ],
+ "pathToConceptScheme": [
+ "http://www.w3.org/2004/02/skos/core#inScheme"
+ ],
+ "properties": [
+ "http://mu.semte.ch/vocabularies/core/uuid",
+ "http://www.w3.org/ns/org#role",
+ "http://www.w3.org/2004/02/skos/core#prefLabel",
+ "http://www.w3.org/2004/02/skos/core#notation",
+ "https://schema.org/startDate",
+ "https://schema.org/endDate",
+ "http://www.w3.org/2004/02/skos/core#broader",
+ "http://www.w3.org/2004/02/skos/core#exactMatch",
+ "http://www.w3.org/2004/02/skos/core#narrower",
+ "http://www.w3.org/2004/02/skos/core#narrowMatch"
+ ]
}
]
}
diff --git a/config/dev-migrations/20231222112146-add-ocmw-association-wieltjesgracht.sparql b/config/dev-migrations/20231222112146-add-ocmw-association-wieltjesgracht.sparql
new file mode 100644
index 0000000..7d6df0e
--- /dev/null
+++ b/config/dev-migrations/20231222112146-add-ocmw-association-wieltjesgracht.sparql
@@ -0,0 +1,200 @@
+PREFIX org:
+PREFIX locn:
+PREFIX schema:
+PREFIX regorg:
+PREFIX person:
+PREFIX vcard:
+PREFIX dbpedia:
+PREFIX adms:
+PREFIX euro:
+PREFIX prov:
+PREFIX organisatie:
+PREFIX persoon:
+PREFIX adres:
+PREFIX generiek:
+PREFIX mandaat:
+PREFIX besluit:
+PREFIX lblodlg:
+PREFIX lblodorg:
+PREFIX lblodgeneriek:
+PREFIX dc_terms:
+PREFIX foaf:
+PREFIX skos:
+PREFIX euvoc:
+PREFIX ere:
+PREFIX ch:
+PREFIX code:
+PREFIX ext:
+PREFIX geo:
+PREFIX nacebel:
+PREFIX core:
+
+# Core data
+INSERT DATA {
+ GRAPH {
+ core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""".
+ a besluit:Bestuurseenheid.
+ a org:Organization.
+ a dc_terms:Agent.
+ skos:prefLabel """VERENIGING OCMW-WIELTJESGRACHT""".
+
+ org:classification .
+
+ # Site
+ core:uuid """6585490A8CEC3153DEA3A208""" .
+ a schema:ContactPoint .
+ schema:email """mail@adres.com""" .
+ schema:telephone """tel:+3211211430""" .
+ foaf:page """https://www.vlaanderen.be""" .
+ schema:contactType """Primary""" .
+
+ core:uuid """6585490B8CEC3153DEA3A209""" .
+ a schema:ContactPoint .
+ schema:telephone """tel:+3211211431""" .
+ schema:contactType """Secondary""" .
+
+ core:uuid """6585490B8CEC3153DEA3A20A""" .
+ a locn:Address .
+ adres:Adresvoorstelling.huisnummer """1""" .
+ locn:thoroughfare """Oude Markt""" .
+ locn:postCode """3000""" .
+ adres:gemeentenaam """Leuven""" .
+ locn:adminUnitL2 """Vlaams-Brabant""" .
+ adres:land """België""" .
+ locn:fullAddress """Oude Markt 1, 3000 Leuven, België""" .
+ adres:verwijstNaar .
+ dc_terms:source .
+
+ core:uuid """6585490B8CEC3153DEA3A20B""" .
+ a org:Site .
+ organisatie:bestaatUit .
+ org:siteAddress .
+ org:siteAddress .
+ ere:vestigingstype .
+ org:hasPrimarySite .
+
+ # KBO number
+ core:uuid """65856287B12D00C739F23920""".
+ a generiek:GestructureerdeIdentificator.
+ generiek:lokaleIdentificator """0262925527""".
+ core:uuid """65856287B12D00C739F23921""".
+ a adms:Identifier.
+ skos:notation """KBO nummer""".
+ generiek:gestructureerdeIdentificator .
+ adms:identifier .
+
+ # Sharepoint identifier
+ core:uuid """65856287B12D00C739F23922""".
+ a generiek:GestructureerdeIdentificator.
+ generiek:lokaleIdentificator """sp-id-test""" .
+ core:uuid """65856287B12D00C739F23923""".
+ a adms:Identifier.
+ skos:notation """SharePoint identificator""".
+ generiek:gestructureerdeIdentificator .
+ adms:identifier .
+
+ # OVO number
+ adms:identifier .
+ a adms:Identifier ;
+ core:uuid """d5713a51-40d4-4b79-bf72-0d917f78c37b""" ;
+ skos:notation "OVO-nummer" ;
+ generiek:gestructureerdeIdentificator .
+ a generiek:GestructureerdeIdentificator ;
+ core:uuid """438b542b-6841-4137-b8da-287b394328ee""" ;
+ generiek:lokaleIdentificator "OVO009999" .
+
+ besluit:werkingsgebied .
+
+ regorg:orgStatus .
+
+ org:hasSubOrganization .
+
+ ext:isFounderOfOrganization .
+ }
+}
+;
+INSERT {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """16875d1ad2294295c576de9837756a4c6796d3ee7e0b7ebd6e8d3e8f65930353""" ;
+ skos:prefLabel ?governingBodyLabel ;
+ besluit:bestuurt ;
+ org:classification .
+ }
+} WHERE {
+ GRAPH {
+ ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ;
+ skos:prefLabel ?administrativeUnitLabel .
+ BIND(CONCAT("""Raad van bestuur""", " ", ?administrativeUnitLabel) as ?governingBodyLabel)
+ }
+}
+;
+INSERT DATA {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """47e52223b3e27ad63c7233f93df0331f6d45bfb743f81d1110cbca4b3ac933ee""" ;
+ generiek:isTijdspecialisatieVan ;
+ mandaat:bindingStart "1971-11-03T00:00:00.000Z"^^xsd:dateTime .
+ }
+}
+;
+INSERT {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """e891dc823e0d924a94cd067d0b291c169c95695cdd73a3c259e79c39e91d0034""" ;
+ skos:prefLabel ?governingBodyLabel ;
+ besluit:bestuurt ;
+ org:classification .
+ }
+} WHERE {
+ GRAPH {
+ ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ;
+ skos:prefLabel ?administrativeUnitLabel .
+ BIND(CONCAT("""Algemene vergadering""", " ", ?administrativeUnitLabel) as ?governingBodyLabel)
+ }
+}
+;
+INSERT DATA {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """be22b1988874583b0773677665596200c9586f758207cdf335278a9380180d86""" ;
+ generiek:isTijdspecialisatieVan ;
+ mandaat:bindingStart "1971-11-03T00:00:00.000Z"^^xsd:dateTime .
+ }
+}
+;
+INSERT {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """0f87572fb2968c17383dc7574320031dffa339f17a974e3b194588d685c1fc5d""" ;
+ skos:prefLabel ?governingBodyLabel ;
+ besluit:bestuurt ;
+ org:classification .
+ }
+} WHERE {
+ GRAPH {
+ ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ;
+ skos:prefLabel ?administrativeUnitLabel .
+ BIND(CONCAT("""Leidend Ambtenaar""", " ", ?administrativeUnitLabel) as ?governingBodyLabel)
+ }
+}
+;
+INSERT DATA {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """a48a21167ca609b76d621be5d5714e28f48711f1eb49d704985d1476565fdd66""" ;
+ generiek:isTijdspecialisatieVan ;
+ mandaat:bindingStart "2019-01-01T00:00:00.000Z"^^xsd:dateTime .
+ }
+}
+;
+INSERT DATA {
+ GRAPH {
+ lblodlg:heeftBestuursfunctie .
+
+ a lblodlg:Bestuursfunctie ;
+ core:uuid """73e7ef49c748e7f475feb952355f4a6bee2db1d85cd30b17b722a6291739b490""" ;
+ org:role ;
+ skos:prefLabel """VERENIGING OCMW-WIELTJESGRACHT Leidend ambtenaar""" .
+ }
+}
diff --git a/config/dev-migrations/20240201000000-remove-ocmw-association-wieltjesgracht.sparql b/config/dev-migrations/20240201000000-remove-ocmw-association-wieltjesgracht.sparql
new file mode 100644
index 0000000..756113d
--- /dev/null
+++ b/config/dev-migrations/20240201000000-remove-ocmw-association-wieltjesgracht.sparql
@@ -0,0 +1,199 @@
+PREFIX org:
+PREFIX locn:
+PREFIX schema:
+PREFIX regorg:
+PREFIX person:
+PREFIX vcard:
+PREFIX dbpedia:
+PREFIX adms:
+PREFIX euro:
+PREFIX prov:
+PREFIX organisatie:
+PREFIX persoon:
+PREFIX adres:
+PREFIX generiek:
+PREFIX mandaat:
+PREFIX besluit:
+PREFIX lblodlg:
+PREFIX lblodorg:
+PREFIX lblodgeneriek:
+PREFIX dc_terms:
+PREFIX foaf:
+PREFIX skos:
+PREFIX euvoc:
+PREFIX ere:
+PREFIX ch:
+PREFIX code:
+PREFIX ext:
+PREFIX geo:
+PREFIX nacebel:
+PREFIX core:
+
+DELETE {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """0f87572fb2968c17383dc7574320031dffa339f17a974e3b194588d685c1fc5d""" ;
+ skos:prefLabel ?governingBodyLabel ;
+ besluit:bestuurt ;
+ org:classification .
+ }
+} WHERE {
+ GRAPH {
+ ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ;
+ skos:prefLabel ?administrativeUnitLabel .
+ BIND(CONCAT("""Leidend Ambtenaar""", " ", ?administrativeUnitLabel) as ?governingBodyLabel)
+ }
+}
+;
+DELETE {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """e891dc823e0d924a94cd067d0b291c169c95695cdd73a3c259e79c39e91d0034""" ;
+ skos:prefLabel ?governingBodyLabel ;
+ besluit:bestuurt ;
+ org:classification .
+ }
+} WHERE {
+ GRAPH {
+ ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ;
+ skos:prefLabel ?administrativeUnitLabel .
+ BIND(CONCAT("""Algemene vergadering""", " ", ?administrativeUnitLabel) as ?governingBodyLabel)
+ }
+}
+;
+DELETE {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """16875d1ad2294295c576de9837756a4c6796d3ee7e0b7ebd6e8d3e8f65930353""" ;
+ skos:prefLabel ?governingBodyLabel ;
+ besluit:bestuurt ;
+ org:classification .
+ }
+} WHERE {
+ GRAPH {
+ ?administrativeUnit core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""" ;
+ skos:prefLabel ?administrativeUnitLabel .
+ BIND(CONCAT("""Raad van bestuur""", " ", ?administrativeUnitLabel) as ?governingBodyLabel)
+ }
+}
+;
+DELETE DATA {
+ GRAPH {
+ core:uuid """7d1254994765887e47ee3c9a2551f6a790a02a1747809285f52e7e690c12f2ca""".
+ a besluit:Bestuurseenheid.
+ a org:Organization.
+ a dc_terms:Agent.
+ skos:prefLabel """VERENIGING OCMW-WIELTJESGRACHT""".
+
+ org:classification .
+
+ # Site
+ core:uuid """6585490A8CEC3153DEA3A208""" .
+ a schema:ContactPoint .
+ schema:email """mail@adres.com""" .
+ schema:telephone """tel:+3211211430""" .
+ foaf:page """https://www.vlaanderen.be""" .
+ schema:contactType """Primary""" .
+
+ core:uuid """6585490B8CEC3153DEA3A209""" .
+ a schema:ContactPoint .
+ schema:telephone """tel:+3211211431""" .
+ schema:contactType """Secondary""" .
+
+ core:uuid """6585490B8CEC3153DEA3A20A""" .
+ a locn:Address .
+ adres:Adresvoorstelling.huisnummer """1""" .
+ locn:thoroughfare """Oude Markt""" .
+ locn:postCode """3000""" .
+ adres:gemeentenaam """Leuven""" .
+ locn:adminUnitL2 """Vlaams-Brabant""" .
+ adres:land """België""" .
+ locn:fullAddress """Oude Markt 1, 3000 Leuven, België""" .
+ adres:verwijstNaar .
+ dc_terms:source .
+
+ core:uuid """6585490B8CEC3153DEA3A20B""" .
+ a org:Site .
+ organisatie:bestaatUit .
+ org:siteAddress .
+ org:siteAddress .
+ ere:vestigingstype .
+ org:hasPrimarySite .
+
+ # KBO number
+ core:uuid """65856287B12D00C739F23920""".
+ a generiek:GestructureerdeIdentificator.
+ generiek:lokaleIdentificator """0262925527""".
+ core:uuid """65856287B12D00C739F23921""".
+ a adms:Identifier.
+ skos:notation """KBO nummer""".
+ generiek:gestructureerdeIdentificator .
+ adms:identifier .
+
+ # Sharepoint identifier
+ core:uuid """65856287B12D00C739F23922""".
+ a generiek:GestructureerdeIdentificator.
+ generiek:lokaleIdentificator """sp-id-test""" .
+ core:uuid """65856287B12D00C739F23923""".
+ a adms:Identifier.
+ skos:notation """SharePoint identificator""".
+ generiek:gestructureerdeIdentificator .
+ adms:identifier .
+
+ # OVO number
+ adms:identifier .
+ a adms:Identifier ;
+ core:uuid """d5713a51-40d4-4b79-bf72-0d917f78c37b""" ;
+ skos:notation "OVO-nummer" ;
+ generiek:gestructureerdeIdentificator .
+ a generiek:GestructureerdeIdentificator ;
+ core:uuid """438b542b-6841-4137-b8da-287b394328ee""" ;
+ generiek:lokaleIdentificator "OVO009999" .
+
+ besluit:werkingsgebied .
+
+ regorg:orgStatus .
+
+ org:hasSubOrganization .
+
+ ext:isFounderOfOrganization .
+ }
+}
+;
+DELETE DATA {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """47e52223b3e27ad63c7233f93df0331f6d45bfb743f81d1110cbca4b3ac933ee""" ;
+ generiek:isTijdspecialisatieVan ;
+ mandaat:bindingStart "1971-11-03T00:00:00.000Z"^^xsd:dateTime .
+ }
+}
+;
+DELETE DATA {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """be22b1988874583b0773677665596200c9586f758207cdf335278a9380180d86""" ;
+ generiek:isTijdspecialisatieVan ;
+ mandaat:bindingStart "1971-11-03T00:00:00.000Z"^^xsd:dateTime .
+ }
+}
+;
+DELETE DATA {
+ GRAPH {
+ a besluit:Bestuursorgaan ;
+ core:uuid """a48a21167ca609b76d621be5d5714e28f48711f1eb49d704985d1476565fdd66""" ;
+ generiek:isTijdspecialisatieVan ;
+ mandaat:bindingStart "2019-01-01T00:00:00.000Z"^^xsd:dateTime .
+ }
+}
+;
+DELETE DATA {
+ GRAPH {
+ lblodlg:heeftBestuursfunctie .
+
+ a lblodlg:Bestuursfunctie ;
+ core:uuid """73e7ef49c748e7f475feb952355f4a6bee2db1d85cd30b17b722a6291739b490""" ;
+ org:role ;
+ skos:prefLabel """VERENIGING OCMW-WIELTJESGRACHT Leidend ambtenaar""" .
+ }
+}
diff --git a/config/dev-migrations/20240222115327-public-ocmw-associations-remove-imported-founders.sparql b/config/dev-migrations/20240222115327-public-ocmw-associations-remove-imported-founders.sparql
new file mode 100644
index 0000000..947c3f3
--- /dev/null
+++ b/config/dev-migrations/20240222115327-public-ocmw-associations-remove-imported-founders.sparql
@@ -0,0 +1,34 @@
+PREFIX org:
+PREFIX ext:
+
+DELETE {
+ GRAPH {
+ ?s ext:isFounderOfOrganization ?o .
+ }
+} WHERE {
+ GRAPH {
+ ?s ext:isFounderOfOrganization ?o .
+ ?o org:classification ?class .
+
+ VALUES ?class {
+ # Welzijnsvereniging
+ # Autonome verzorgingsinstelling
+ }
+ }
+}
+;
+DELETE {
+ GRAPH {
+ ?s org:hasSubOrganization ?o .
+ }
+} WHERE {
+ GRAPH {
+ ?s org:hasSubOrganization ?o .
+ ?o org:classification ?class .
+
+ VALUES ?class {
+ # Welzijnsvereniging
+ # Autonome verzorgingsinstelling
+ }
+ }
+}
diff --git a/config/migrations/2022/20220719112423-update-toezicht.sparql.disabled b/config/migrations/2022/20220719112423-update-toezicht.sparql.disabled
index 36ae9d7..4068e50 100644
--- a/config/migrations/2022/20220719112423-update-toezicht.sparql.disabled
+++ b/config/migrations/2022/20220719112423-update-toezicht.sparql.disabled
@@ -14,7 +14,7 @@ PREFIX adres:
PREFIX generiek:
PREFIX mandaat:
PREFIX besluit: