Compare commits

...

5 Commits

Author SHA1 Message Date
mirdono
11508cf310 fix: added migration to import the participating municipalities
The original migration to import the participants for public OCMW associations
contained a bug causing it to not match municipalities. More specifically:
- the type triple for municipalities is located in the `shared` graph;
- consequently the `FILTER EXISTS` statements to limit matches to administrative
  units could not succeed for municipalities as the queries are limited to the
  `administrative-unit` graph.

This new migration fixes this problem by changing the `FILTER EXISTS` into a
`FILTER NOT EXISTS` to exclude resourses of type `ext:KboOrganisatie`.
2024-06-21 09:40:50 +00:00
mirdono
43cf1fd323 chore: removed unneeded migration
With the addition of the migration removing relations with `ext:KboOrganisatie`
resources this migration becomes unnecessary.
2024-06-21 09:40:50 +00:00
mirdono
a6b7321cf0 fix: remove org:memberOf triples with KBO organizations as object
The migration importing related organizations for public OCMW associations was
incorrect in that it did not exclude resources of type `ext:KboOrganisatie`
being matched. This migration removes all incorrectly inserted triples.
2024-06-19 13:41:03 +00:00
mirdono
0ab1b278d5 chore: bump frontend 2024-06-12 11:04:03 +02:00
mirdono
f562d711f9 fix: corrected typo in search configuration 2024-06-10 14:17:09 +02:00
5 changed files with 1862 additions and 18 deletions

View File

@@ -1,16 +0,0 @@
PREFIX org: <http://www.w3.org/ns/org#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?participant org:memberOf ?association .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?participant org:memberOf ?association .
?association org:classification ?class
}
VALUES ?class {
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/e8294b73-87c9-4fa2-9441-1937350763c9> # Welzijnsvereniging
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/34b5af85-dc9f-468f-9e03-ef89b174c267> # Autonome verzorgingsinstelling
}
}

View File

@@ -0,0 +1,13 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?participant org:memberOf ?association .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?participant org:memberOf ?association .
?association a ext:KboOrganisatie .
}
}

View File

@@ -755,7 +755,7 @@
},
{
"type": "organization",
"on_path": "organization",
"on_path": "organizations",
"rdf_type": [
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
"http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",

View File

@@ -181,7 +181,7 @@ services:
restart: always
logging: *default-logging
frontend:
image: lblod/frontend-organization-portal:1.25.0-0
image: lblod/frontend-organization-portal:1.25.0
volumes:
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
environment: