diff --git a/config/delta-producer/public/export.json b/config/delta-producer/public/export.json index f0c3e85..7c1921c 100644 --- a/config/delta-producer/public/export.json +++ b/config/delta-producer/public/export.json @@ -420,6 +420,27 @@ "http://www.w3.org/ns/org#role", "http://www.w3.org/2004/02/skos/core#prefLabel" ] + }, + { + "type": "http://www.w3.org/2004/02/skos/core#Concept", + "graphsFilter": [ + "http://mu.semte.ch/graphs/public" + ], + "pathToConceptScheme": [ + "http://www.w3.org/2004/02/skos/core#inScheme" + ], + "properties": [ + "http://mu.semte.ch/vocabularies/core/uuid", + "http://www.w3.org/ns/org#role", + "http://www.w3.org/2004/02/skos/core#prefLabel", + "http://www.w3.org/2004/02/skos/core#notation", + "https://schema.org/startDate", + "https://schema.org/endDate", + "http://www.w3.org/2004/02/skos/core#broader", + "http://www.w3.org/2004/02/skos/core#exactMatch", + "http://www.w3.org/2004/02/skos/core#narrower", + "http://www.w3.org/2004/02/skos/core#narrowMatch" + ] } ] } diff --git a/config/migrations/2024/20240130104000-add-export-concept-to-nis-concepts.sparql b/config/migrations/2024/20240130104000-add-export-concept-to-nis-concepts.sparql index 2e43c1b..863165f 100644 --- a/config/migrations/2024/20240130104000-add-export-concept-to-nis-concepts.sparql +++ b/config/migrations/2024/20240130104000-add-export-concept-to-nis-concepts.sparql @@ -1,24 +1,17 @@ -PREFIX rdf: -PREFIX org: -PREFIX mu: -PREFIX ext: -PREFIX ch: -PREFIX code: +PREFIX besluit: +PREFIX skos: INSERT { graph ?g { ?concept skos:inScheme . - ?ce org:originalOrganization ?extResultingOrg } } WHERE { - graph ?g { - ?ce rdf:type org:ChangeEvent ; - code:veranderingsgebeurtenisResultaat ?resultaat. - ?resultaat . - ?resultaat ext:resultingOrganization ?extResultingOrg. - filter not exists {?ce org:resultingOrganization ?result } - } + ?adminUnit besluit:werkingsgebied ?location. + ?location skos:exactMatch ?concept. + GRAPH ?g { + ?concept a skos:Concept. + } } \ No newline at end of file