Merge pull request #34 from lblod/fix/change-attribute-name

Change nationality resource
This commit is contained in:
Boris De Vloed
2021-09-01 10:37:04 +02:00
committed by GitHub
3 changed files with 10 additions and 5 deletions

View File

@@ -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{

View File

@@ -17,7 +17,6 @@
<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>
@@ -58,6 +57,7 @@
<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://publications.europa.eu/ontology/euvoc#Country>
}
}
}

View File

@@ -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/"