diff --git a/config/authorization/config.ex b/config/authorization/config.ex index 21894db..4719e40 100644 --- a/config/authorization/config.ex +++ b/config/authorization/config.ex @@ -15,7 +15,6 @@ defmodule Acl.UserGroups.Config do "http://data.lblod.info/vocabularies/erediensten/RolBedienaar", "http://data.lblod.info/vocabularies/erediensten/VoorwaardenBedienaar", "https://data.vlaanderen.be/ns/persoon#Geboorte", - "https://data.vlaanderen.be/ns/persoon#Nationaliteit", "http://mu.semte.ch/vocabularies/ext/GeslachtCode", "http://data.lblod.info/vocabularies/erediensten/PositieBedienaar", "http://www.w3.org/ns/adms#Identifier", @@ -55,7 +54,8 @@ defmodule Acl.UserGroups.Config do "http://www.w3.org/2004/02/skos/core#ConceptScheme", "http://www.w3.org/2004/02/skos/core#Concept", "http://xmlns.com/foaf/0.1/Image", - "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject" + "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject", + "http://publications.europa.eu/ontology/euvoc#Country" ] defp access_by_role( group_string ) do %AccessByQuery{ diff --git a/config/migrations/202109241151111112111233322-auth.sparql b/config/migrations/202109241151111112111233322-auth.sparql index 9566ce8..8999a03 100644 --- a/config/migrations/202109241151111112111233322-auth.sparql +++ b/config/migrations/202109241151111112111233322-auth.sparql @@ -17,7 +17,6 @@ - @@ -58,6 +57,7 @@ + } } } \ No newline at end of file diff --git a/config/resources/domain.json b/config/resources/domain.json index 00ec785..6ff1654 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -21,6 +21,7 @@ "dc_terms": "http://purl.org/dc/terms/", "foaf": "http://xmlns.com/foaf/0.1/", "skos": "http://www.w3.org/2004/02/skos/core#", + "euvoc": "http://publications.europa.eu/ontology/euvoc#", "ere": "http://data.lblod.info/vocabularies/erediensten/", "ch": "http://data.lblod.info/vocabularies/contacthub/", "code": "http://lblod.data.gift/vocabularies/organisatie/", @@ -808,11 +809,15 @@ "new-resource-base": "http://data.lblod.info/id/geboortes/" }, "nationalities": { - "class": "persoon:Nationaliteit", + "class": "euvoc:Country", "attributes": { - "label": { + "country-label": { "type": "string", "predicate": "skos:prefLabel" + }, + "nationality-label": { + "type": "string", + "predicate": "rdfs:label" } }, "new-resource-base": "http://lblod.data.gift/concepts/"