From dfb7bbd7dc3d4b0b51707c34582e839cff814404 Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Tue, 9 May 2023 16:08:24 +0200 Subject: [PATCH 01/15] adjust change event (#276) --- .../20230509142503-adjust-change-event.sparql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config/migrations/2023/20230509142503-adjust-change-event.sparql diff --git a/config/migrations/2023/20230509142503-adjust-change-event.sparql b/config/migrations/2023/20230509142503-adjust-change-event.sparql new file mode 100644 index 0000000..2044e8c --- /dev/null +++ b/config/migrations/2023/20230509142503-adjust-change-event.sparql @@ -0,0 +1,16 @@ +delete { + graph ?g { + . + } +} +insert { + graph ?g { + . + + } +} +where { + graph ?g { + . + } +} From a4098a5b84b4a09e609d6ca110709935f7dda469 Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Wed, 10 May 2023 11:12:22 +0200 Subject: [PATCH 02/15] feat/delete-dup-change-events (#275) --- ...142145-move-decisions-change-events.sparql | 75 +++++++++++++++++++ ...2148-delete-duplicate-change-events.sparql | 57 ++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 config/migrations/2023/20230509142145-move-decisions-change-events.sparql create mode 100644 config/migrations/2023/20230509142148-delete-duplicate-change-events.sparql diff --git a/config/migrations/2023/20230509142145-move-decisions-change-events.sparql b/config/migrations/2023/20230509142145-move-decisions-change-events.sparql new file mode 100644 index 0000000..8c4b441 --- /dev/null +++ b/config/migrations/2023/20230509142145-move-decisions-change-events.sparql @@ -0,0 +1,75 @@ + +PREFIX rdf: +PREFIX rdfs: +PREFIX skos: +PREFIX org: +PREFIX mu: +PREFIX xsd: +PREFIX dct: +PREFIX skos: +PREFIX concepts: +PREFIX bestuur: +PREFIX org: +PREFIX rdf: +PREFIX contacthub: +PREFIX xsd: +PREFIX ce: +PREFIX cer: +PREFIX m8g: +PREFIX besluit: +PREFIX eli: +PREFIX foaf: + + +DELETE { + graph { + ?decision ?decisionP ?decisionO. + } +} +INSERT { + graph { + ?decision ?decisionP ?decisionO. + } +} +WHERE { + graph { + ?changeEvent a ; + ?decision. + } + graph { + ?decision ?decisionP ?decisionO. + + } + + +} +; + + +DELETE { + graph { + ?decisionActivity ?p ?o. + } +} +INSERT { + graph { + ?decisionActivity ?p ?o. + } +} +WHERE { + graph { + ?decision a . + } + graph { + ?decisionActivity a ; + ?decision; + ?p ?o. + } + + +} + + + + + diff --git a/config/migrations/2023/20230509142148-delete-duplicate-change-events.sparql b/config/migrations/2023/20230509142148-delete-duplicate-change-events.sparql new file mode 100644 index 0000000..f3297b1 --- /dev/null +++ b/config/migrations/2023/20230509142148-delete-duplicate-change-events.sparql @@ -0,0 +1,57 @@ + +PREFIX rdf: +PREFIX rdfs: +PREFIX skos: +PREFIX org: +PREFIX mu: +PREFIX xsd: +PREFIX dct: +PREFIX skos: +PREFIX concepts: +PREFIX bestuur: +PREFIX org: +PREFIX rdf: +PREFIX contacthub: +PREFIX xsd: +PREFIX ce: +PREFIX cer: +PREFIX m8g: +PREFIX besluit: +PREFIX eli: +PREFIX foaf: + + +DELETE { + graph ?g { + ?changeEvent ?p ?o. + ?changeEventResult ?cP ?cO. + ?decision ?decisionP ?decisionO. + ?decisionActivity ?decisionActivityP ?desitionActivityO. + } +} +WHERE { + graph ?g { + ?changeEvent a ; + ?changeEventResult; + mu:uuid ?uuidChangeEvent; + ?p ?o. + ?changeEventResult a ; + mu:uuid ?uuidChangeEventResult; + ?cP ?cO. + + optional { + ?changeEvent ?decision. + ?decision ?decisionP ?decisionO. + optional { + ?decisionActivity a ; + ?decision; + ?decisionActivityP ?desitionActivityO. + } + + } + + filter(?uuidChangeEvent in ("63343865036B579F0A26FF5C", "63343E99036B579F0A26FF6F", "633446D6036B579F0A26FF87","63345772036B579F0A26FF93")) + + } +} + From 47a2ca50729418f97107ce66d305a3d78ea634d0 Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Wed, 10 May 2023 12:14:16 +0200 Subject: [PATCH 03/15] bump front --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index df6529a..16e6829 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -181,7 +181,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.17.0-0 + image: lblod/frontend-organization-portal:1.17.0-1 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 622dae796940afa20cfd5a8e280cd79053470167 Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Wed, 10 May 2023 16:28:45 +0200 Subject: [PATCH 04/15] bump resource --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 16e6829..c3cda4a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -72,7 +72,7 @@ services: restart: always logging: *default-logging resource: - image: semtech/mu-cl-resources:1.22.0 + image: semtech/mu-cl-resources:feature-fix-false-boolean-primitive environment: CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys" links: From 73ff07354002bf06c89af0eba9b5a65a5d338b8e Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Fri, 12 May 2023 14:19:44 +0200 Subject: [PATCH 05/15] bump mu-cl-resource --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c3cda4a..c5f9557 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -72,7 +72,7 @@ services: restart: always logging: *default-logging resource: - image: semtech/mu-cl-resources:feature-fix-false-boolean-primitive + image: semtech/mu-cl-resources:1.22.1 environment: CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys" links: From ae537463231dcd75f585da98cd9dfb2ecadecf14 Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Sun, 14 May 2023 12:43:40 +0200 Subject: [PATCH 06/15] bump frontend --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c5f9557..93e3509 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -181,7 +181,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.17.0-1 + image: lblod/frontend-organization-portal:1.17.0 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 68b5c67a16a848cb64daa54816b13aef02671980 Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Mon, 15 May 2023 18:16:54 +0200 Subject: [PATCH 07/15] Fix/limit positions to types we already onboarded rebased (#278) * rebased * Fix n3q query for mandatarissen --------- Co-authored-by: Claire Lovisa --- .../delta-context-config.js | 65 ++++++++++- .../delta-context-config.js | 65 ++++++++++- ...e-not-yet-onboarded-functionarissen.sparql | 21 ++++ config/reasoner/dl2op/main/query.n3q | 102 ++++++++++++++++++ docker-compose.yml | 2 +- 5 files changed, 250 insertions(+), 5 deletions(-) create mode 100644 config/migrations/2023/20230515111900-remove-not-yet-onboarded-functionarissen.sparql diff --git a/config/loket-consumer/leidinggevenden-dispatching/delta-context-config.js b/config/loket-consumer/leidinggevenden-dispatching/delta-context-config.js index a8df81c..973462f 100644 --- a/config/loket-consumer/leidinggevenden-dispatching/delta-context-config.js +++ b/config/loket-consumer/leidinggevenden-dispatching/delta-context-config.js @@ -1,11 +1,72 @@ + +const PREFIXES = ` +PREFIX org: +PREFIX mandaat: +PREFIX lblodlg: +PREFIX besluit: ` + const contextConfig = { addTypes: { scope: 'all', // 'inserts, 'deletes', 'all' or none. To add rdf:type to subjects of inserts, deletes or both exhausitive: false, // true or false: find all types for a subject, even if one is already present in delta }, - contextQueries: [] + contextQueries: [ + // Case Leidnggevenden + // They can be triggered when being inserted or when their link to a bestuursfunctie is added + { + trigger: { // subjectType or predicateValue + subjectType: "lblodlg:Functionaris" + }, + queryTemplate: (subject) => ` + ${PREFIXES} + CONSTRUCT { + ?functionaris org:holds ?bestuursfunctie ; + ?p ?o . + ?orgaanInTime lblodlg:heeftBestuursfunctie ?bestuursfunctie ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } WHERE { + GRAPH { + VALUES ?functionaris { ${subject} } + ?functionaris org:holds ?bestuursfunctie ; + ?p ?o . + ?orgaanInTime lblodlg:heeftBestuursfunctie ?bestuursfunctie ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } + }` + }, + { + trigger: { + predicateValue: "org:holds" + }, + queryTemplate: (subject) => ` + ${PREFIXES} + CONSTRUCT { + ?functionaris org:holds ?bestuursfunctie ; + ?p ?o . + ?orgaanInTime lblodlg:heeftBestuursfunctie ?bestuursfunctie ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } WHERE { + GRAPH { + VALUES ?functionaris { ${subject} } + ?functionaris org:holds ?bestuursfunctie ; + ?p ?o . + ?orgaanInTime lblodlg:heeftBestuursfunctie ?bestuursfunctie ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } + }` + } + ] } module.exports = { - contextConfig + contextConfig, + PREFIXES }; diff --git a/config/loket-consumer/mandatarissen-dispatching/delta-context-config.js b/config/loket-consumer/mandatarissen-dispatching/delta-context-config.js index a8df81c..c32c2a9 100644 --- a/config/loket-consumer/mandatarissen-dispatching/delta-context-config.js +++ b/config/loket-consumer/mandatarissen-dispatching/delta-context-config.js @@ -1,11 +1,72 @@ + +const PREFIXES = ` +PREFIX org: +PREFIX mandaat: +PREFIX lblodlg: +PREFIX besluit: ` + const contextConfig = { addTypes: { scope: 'all', // 'inserts, 'deletes', 'all' or none. To add rdf:type to subjects of inserts, deletes or both exhausitive: false, // true or false: find all types for a subject, even if one is already present in delta }, - contextQueries: [] + contextQueries: [ + // Case Mandatarissen + // They can be triggered when being inserted or when their link to a mandate is added + { + trigger: { // subjectType or predicateValue + subjectType: "mandaat:Mandataris" + }, + queryTemplate: (subject) => ` + ${PREFIXES} + CONSTRUCT { + ?mandataris org:holds ?mandate ; + ?p ?o . + ?orgaanInTime org:hasPost ?mandate ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } WHERE { + GRAPH { + VALUES ?mandataris { ${subject} } + ?mandataris org:holds ?mandate ; + ?p ?o . + ?orgaanInTime org:hasPost ?mandate ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } + }` + }, + { + trigger: { + predicateValue: "org:holds" + }, + queryTemplate: (subject) => ` + ${PREFIXES} + CONSTRUCT { + ?mandataris org:holds ?mandate ; + ?p ?o . + ?orgaanInTime org:hasPost ?mandate ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } WHERE { + GRAPH { + VALUES ?mandataris { ${subject} } + ?mandataris org:holds ?mandate ; + ?p ?o . + ?orgaanInTime org:hasPost ?mandate ; + mandaat:isTijdspecialisatieVan ?orgaan . + ?orgaan besluit:bestuurt ?eenheid . + ?eenheid besluit:classificatie ?classification . + } + }` + } + ] } module.exports = { - contextConfig + contextConfig, + PREFIXES }; diff --git a/config/migrations/2023/20230515111900-remove-not-yet-onboarded-functionarissen.sparql b/config/migrations/2023/20230515111900-remove-not-yet-onboarded-functionarissen.sparql new file mode 100644 index 0000000..a3ee318 --- /dev/null +++ b/config/migrations/2023/20230515111900-remove-not-yet-onboarded-functionarissen.sparql @@ -0,0 +1,21 @@ +DELETE { + GRAPH { + ?functionaris ?pfunctionaris ?ofunctionaris . + } +} WHERE { + GRAPH { + ?functionaris a ; + ?bestuursfunctie ; + ?pfunctionaris ?ofunctionaris . + } + + ?orgaan ?bestuursfunctie ; + // ?classification . + + FILTER(?classification NOT IN ( + , + , + , + + )) +} diff --git a/config/reasoner/dl2op/main/query.n3q b/config/reasoner/dl2op/main/query.n3q index ed0415d..5998591 100644 --- a/config/reasoner/dl2op/main/query.n3q +++ b/config/reasoner/dl2op/main/query.n3q @@ -1,5 +1,7 @@ # Filtering classes to ingest +@prefix log: . + { ?s a ; ?p ?o . @@ -24,17 +26,117 @@ ?p ?o . }. +# Functionarissen should be linked to a gemeente, district, provincie or ocmw only (FOR NOW) + { ?s a ; + ?bestuursfunctie ; ?p ?o . + + ?orgaanInTime ?bestuursfunctie ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . } => { ?s a ; ?p ?o . }. { + ?s a ; + ?bestuursfunctie ; + ?p ?o . + + ?orgaanInTime ?bestuursfunctie ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { + ?s a ; + ?p ?o . +}. + +{ + ?s a ; + ?bestuursfunctie ; + ?p ?o . + + ?orgaanInTime ?bestuursfunctie ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { + ?s a ; + ?p ?o . +}. + +{ + ?s a ; + ?bestuursfunctie ; + ?p ?o . + + ?orgaanInTime ?bestuursfunctie ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { + ?s a ; + ?p ?o . +}. + +# Mandatarissen should be linked to a gemeente, district, provincie or ocmw only (FOR NOW) + +{ + ?s a ; + ?mandate ; + ?p ?o . + + ?orgaanInTime ?mandate ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { ?s a ; ?p ?o . +}. + +{ + ?s a ; + ?mandate ; + ?p ?o . + + ?orgaanInTime ?mandate ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { + ?s a ; + ?p ?o . +}. + +{ + ?s a ; + ?mandate ; + ?p ?o . + + ?orgaanInTime ?mandate ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . + } => { + ?s a ; + ?p ?o . +}. + +{ + ?s a ; + ?mandate ; + ?p ?o . + + ?orgaanInTime ?mandate ; + ?orgaan . + ?orgaan ?bestuur . + ?bestuur . } => { ?s a ; ?p ?o . diff --git a/docker-compose.yml b/docker-compose.yml index 93e3509..91018bf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -228,7 +228,7 @@ services: restart: always logging: *default-logging reasoner: - image: eyereasoner/reasoning-service:1.0.2 + image: eyereasoner/reasoning-service:increased-stack-limit volumes: - ./config/reasoner:/config ################################################################################ From 4c356113aac8382b9dd892094cc86ecc0c20dbfe Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Mon, 22 May 2023 13:47:58 +0200 Subject: [PATCH 08/15] bump mu-cl-resource --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 91018bf..1d138ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -72,7 +72,7 @@ services: restart: always logging: *default-logging resource: - image: semtech/mu-cl-resources:1.22.1 + image: semtech/mu-cl-resources:1.22.2 environment: CACHE_CLEAR_PATH: "http://cache/.mu/clear-keys" links: From b13d6f7b03672a2bb27fbcf3da25aa43a45390e1 Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Mon, 22 May 2023 14:20:55 +0200 Subject: [PATCH 09/15] adjust change event (#280) --- .../20230522132503-adjust-change-event.sparql | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config/migrations/2023/20230522132503-adjust-change-event.sparql diff --git a/config/migrations/2023/20230522132503-adjust-change-event.sparql b/config/migrations/2023/20230522132503-adjust-change-event.sparql new file mode 100644 index 0000000..fb65a83 --- /dev/null +++ b/config/migrations/2023/20230522132503-adjust-change-event.sparql @@ -0,0 +1,19 @@ +delete { + graph ?g { + + . + } +} +insert { + graph ?g { + + . + + } +} +where { + graph ?g { + + . + } +} From 80b72fe09d520f9a9f442ac0f71bc194b659a30e Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Wed, 24 May 2023 09:46:51 +0200 Subject: [PATCH 10/15] bump frontend prerelease --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1d138ab..6feef15 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -181,7 +181,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.17.0 + image: lblod/frontend-organization-portal:1.17.1-0 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 5948f3ece6d57b58e4274a12258cc6a0920779fa Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Thu, 25 May 2023 09:47:13 +0200 Subject: [PATCH 11/15] bump frontend --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6feef15..53f1ba9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -181,7 +181,7 @@ services: restart: always logging: *default-logging frontend: - image: lblod/frontend-organization-portal:1.17.1-0 + image: lblod/frontend-organization-portal:1.17.1 volumes: - ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf environment: From 8f14716eb4482df85db783876ae91046ad4b13c6 Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Thu, 22 Jun 2023 16:14:34 +0200 Subject: [PATCH 12/15] added moslimraad --- .../2023/20230622140000-moslimraad.graph | 1 + .../2023/20230622140000-moslimraad.ttl | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 config/migrations/2023/20230622140000-moslimraad.graph create mode 100644 config/migrations/2023/20230622140000-moslimraad.ttl diff --git a/config/migrations/2023/20230622140000-moslimraad.graph b/config/migrations/2023/20230622140000-moslimraad.graph new file mode 100644 index 0000000..fd3e204 --- /dev/null +++ b/config/migrations/2023/20230622140000-moslimraad.graph @@ -0,0 +1 @@ +http://mu.semte.ch/graphs/worship-service \ No newline at end of file diff --git a/config/migrations/2023/20230622140000-moslimraad.ttl b/config/migrations/2023/20230622140000-moslimraad.ttl new file mode 100644 index 0000000..00d9ef8 --- /dev/null +++ b/config/migrations/2023/20230622140000-moslimraad.ttl @@ -0,0 +1,33 @@ + + a ; + "e224c637ba8bb0e5dfbb87da225b4652"; + "Moslimraad van België"; + ; # Islamitish + ; # Actief + ; + . + + + a ; + "d116df8f3e1d48fbb846131cc48186b7" ; + "KBO nummer" ; + . + + + a ; + "be28d9316bfb4038bf557c0ec9a45ac1" ; + "0802469122". + + + a ; + "1a3cc52f51924d25ad7a2c6f0d4d342b" ; + . + + + a ; + "29ced73adcc4479b8e96dd20fd2bdc43" ; + "Wetstraat" ; + "23" ; + "1040" ; + "Brussel" ; + "Vlaams-Brabant" . From 496f52512af33dcecddb9dbde614cc115193ca1a Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Thu, 22 Jun 2023 17:03:15 +0200 Subject: [PATCH 13/15] uuid --- config/migrations/2023/20230622140000-moslimraad.ttl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/migrations/2023/20230622140000-moslimraad.ttl b/config/migrations/2023/20230622140000-moslimraad.ttl index 00d9ef8..22c2160 100644 --- a/config/migrations/2023/20230622140000-moslimraad.ttl +++ b/config/migrations/2023/20230622140000-moslimraad.ttl @@ -1,6 +1,6 @@ a ; - "e224c637ba8bb0e5dfbb87da225b4652"; + "3b150a479c9e456a94b76c6a59a2f674"; "Moslimraad van België"; ; # Islamitish ; # Actief From 91e06501d399eeb760e0b3b113e1d533d62a76a5 Mon Sep 17 00:00:00 2001 From: Nordine Bittich <3816305+nbittich@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:31:04 +0200 Subject: [PATCH 14/15] remove municipality for Kerkfabriek St.-Martinus van Lievegem (Zomergem) (#285) --- ...61050-remove-municipality-bestrokke.sparql | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/migrations/2023/20230615161050-remove-municipality-bestrokke.sparql diff --git a/config/migrations/2023/20230615161050-remove-municipality-bestrokke.sparql b/config/migrations/2023/20230615161050-remove-municipality-bestrokke.sparql new file mode 100644 index 0000000..7e17358 --- /dev/null +++ b/config/migrations/2023/20230615161050-remove-municipality-bestrokke.sparql @@ -0,0 +1,22 @@ + +delete where { + graph ?g { + ?p ?o. + } +} +; +delete { + graph ?g { + ?percentage. + } +} +insert { + graph ?g { + 100. + } +} +where { + graph ?g { + ?percentage. + } +} From 8083deffe350453d344332e19273da4cf398ded6 Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Fri, 23 Jun 2023 10:43:03 +0200 Subject: [PATCH 15/15] add missing fulladdress --- .../migrations/2023/20230623103000-moslimraad-fulladdress.graph | 1 + .../migrations/2023/20230623103000-moslimraad-fulladdress.ttl | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 config/migrations/2023/20230623103000-moslimraad-fulladdress.graph create mode 100644 config/migrations/2023/20230623103000-moslimraad-fulladdress.ttl diff --git a/config/migrations/2023/20230623103000-moslimraad-fulladdress.graph b/config/migrations/2023/20230623103000-moslimraad-fulladdress.graph new file mode 100644 index 0000000..fd3e204 --- /dev/null +++ b/config/migrations/2023/20230623103000-moslimraad-fulladdress.graph @@ -0,0 +1 @@ +http://mu.semte.ch/graphs/worship-service \ No newline at end of file diff --git a/config/migrations/2023/20230623103000-moslimraad-fulladdress.ttl b/config/migrations/2023/20230623103000-moslimraad-fulladdress.ttl new file mode 100644 index 0000000..ebf5bf6 --- /dev/null +++ b/config/migrations/2023/20230623103000-moslimraad-fulladdress.ttl @@ -0,0 +1,2 @@ + + "Wetstraat 23, 1040 Brussel, België". \ No newline at end of file