fix: update end dates for NIS 2019 codes

This commit is contained in:
mirdono
2025-04-16 20:45:55 +02:00
parent 9591cd3603
commit a26abc8523
4 changed files with 6870 additions and 0 deletions

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/refnis2019-data-temp

View File

@@ -0,0 +1,21 @@
PREFIX schemas: <https://schema.org/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
DELETE {
GRAPH <http://mu.semte.ch/graphs/public> {
?nis2019 schemas:endDate ?currentEndDate .
}
} INSERT {
GRAPH <http://mu.semte.ch/graphs/public> {
?nis2019 schemas:endDate ?newEndDate .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/public> {
?nis2019 skos:inScheme <http://vocab.belgif.be/auth/refnis2019> ;
schemas:endDate ?currentEndDate .
}
GRAPH <http://mu.semte.ch/graphs/refnis2019-data-temp> {
?nis2019 schemas:endDate ?newEndDate .
}
FILTER (?currentEndDate != ?newEndDate)
}

View File

@@ -0,0 +1 @@
CLEAR GRAPH <http://mu.semte.ch/graphs/refnis2019-data-temp>