Debugged cleanup query and added entry to changelog

This commit is contained in:
Panos Alexopoulos
2025-10-24 14:04:32 +02:00
parent 3d7d56d9da
commit 2eea02673b
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 1.37.0 (2025-10-24)
- Added cleanup job to clean duplicated data of municipalities and provinces [OP-3676]
#### CLI
```
drc exec db-cleanup curl -X GET "http://localhost/runCronJob?cronJobID=8ffd9f11-db25-430d-a66a-31fc8b393d5f"
```
## 1.36.0 (2025-10-03)
### Dashboard
- Enable ACM/IDM for the dashboard [OP-3674]

View File

@@ -4,7 +4,7 @@
<http://data.lblod.info/id/cleanup-job/48ffd9f11-db25-430d-a66a-31fc8b393d5f> a cleanup:Job ;
mu:uuid "8ffd9f11-db25-430d-a66a-31fc8b393d5f" ;
dcterms:title "Insert missing province uris for addresses of administrative units" ;
dcterms:title "Cleaning duplicated data of municipalities and provinces" ;
cleanup:randomQuery """
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
@@ -20,7 +20,6 @@
}
{
# Subject is a Bestuurseenheid
GRAPH ?g1 {
?s a besluit:Bestuurseenheid ;
?p ?o .
@@ -34,7 +33,6 @@
}
UNION
{
# Object is a Bestuurseenheid
GRAPH ?g1 {
?s ?p ?o .
?o a besluit:Bestuurseenheid .
@@ -47,7 +45,6 @@
}
}
}
ORDER BY ?s ?p ?o
""" .