OP-3844: add Regionaal zorgplatform + Andere codes, move legacy 'other' orgs to Andere
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX scheme: <http://data.vlaanderen.be/id/conceptscheme/>
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/e3afe092-6ca6-4685-94c6-1ee20811efc4>
|
||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
||||
mu:uuid "e3afe092-6ca6-4685-94c6-1ee20811efc4" ;
|
||||
skos:prefLabel "Regionaal zorgplatform" ;
|
||||
skos:altLabel "Regionale zorgzone" ;
|
||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6>
|
||||
rdf:type ext:OrganizationClassificationCode , ext:GeregistreerdeOrganisatieClassificatieCode ;
|
||||
mu:uuid "7a199d27-31c3-44bb-a58f-b3a64673a8b6" ;
|
||||
skos:prefLabel "Andere" ;
|
||||
skos:definition "Restcategorie: geregistreerde organisatie die niet onder een van de andere classificaties valt." ;
|
||||
skos:topConceptOf scheme:GeregistreerdeOrganisatieClassificatieCode ;
|
||||
skos:inScheme scheme:GeregistreerdeOrganisatieClassificatieCode , <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
INSERT {
|
||||
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
|
||||
}
|
||||
WHERE {
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?g)
|
||||
VALUES ?legacy {
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
|
||||
}
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
INSERT {
|
||||
GRAPH ?g { ?org org:classification <http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/7a199d27-31c3-44bb-a58f-b3a64673a8b6> . }
|
||||
}
|
||||
WHERE {
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?g)
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?legacy a ext:OrganizationClassificationCode ;
|
||||
skos:prefLabel ?label .
|
||||
FILTER(REGEX(STR(?label), "^Energieholding", "i"))
|
||||
}
|
||||
GRAPH ?g { ?org org:classification ?legacy . }
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
||||
}
|
||||
WHERE {
|
||||
VALUES ?code {
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/3e5c8e30-95a7-47b0-b0a4-210d5bd440a7>
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/b9ed22af-3661-4c3e-b07f-b641d80ebf61>
|
||||
}
|
||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> { ?code ?p ?o . }
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?code a ext:OrganizationClassificationCode ;
|
||||
skos:prefLabel ?label .
|
||||
FILTER(REGEX(STR(?label), "^Energieholding", "i"))
|
||||
?code ?p ?o .
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user