changes for crab
This commit is contained in:
@@ -162,6 +162,9 @@ defmodule Dispatcher do
|
||||
match "/gender-codes/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/gender-codes/"
|
||||
end
|
||||
match "/concepts/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/concepts/"
|
||||
end
|
||||
|
||||
match "/minister-positions/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/minister-positions/"
|
||||
|
||||
8
config/migrations/20211103152631-source-crab.ttl
Normal file
8
config/migrations/20211103152631-source-crab.ttl
Normal file
@@ -0,0 +1,8 @@
|
||||
<http://lblod.data.gift/concept-schemes/6f6f95d3-94e1-48a7-99ec-cdff57e6752d> a <http://www.w3.org/2004/02/skos/core#ConceptScheme>;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "Data sources"@en, "Databronnen"@nl .
|
||||
<http://lblod.data.gift/concepts/e59c97a9-4e95-4d65-9696-756de47fbc1f> a <http://www.w3.org/2004/02/skos/core#Concept>;
|
||||
<http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/6f6f95d3-94e1-48a7-99ec-cdff57e6752d>;
|
||||
<http://www.w3.org/2004/02/skos/core#topConceptOf><http://lblod.data.gift/concept-schemes/6f6f95d3-94e1-48a7-99ec-cdff57e6752d>;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> "e59c97a9-4e95-4d65-9696-756de47fbc1f";
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> "Centraal Referentieadressenbestand (CRAB)";
|
||||
<http://www.w3.org/2004/02/skos/core#altLabel> "CRAB".
|
||||
@@ -616,6 +616,18 @@
|
||||
"full-address": {
|
||||
"type": "string",
|
||||
"predicate": "locn:fullAddress"
|
||||
},
|
||||
"adres-register-uri": {
|
||||
"type": "url",
|
||||
"predicate": "adres:verwijstNaar"
|
||||
}
|
||||
|
||||
},
|
||||
"relationships": {
|
||||
"source": {
|
||||
"predicate": "dct:source",
|
||||
"target": "concepts",
|
||||
"cardinality": "one"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/adressen/"
|
||||
@@ -684,6 +696,20 @@
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||
},
|
||||
"concepts": {
|
||||
"class": "skos:Concept",
|
||||
"attributes": {
|
||||
"label": {
|
||||
"type": "string",
|
||||
"predicate": "skos:prefLabel"
|
||||
},
|
||||
"alt-label": {
|
||||
"type": "string",
|
||||
"predicate": "skos:altLabel"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||
},
|
||||
"organization-status-codes": {
|
||||
"class": "code:OrganisatieStatusCode",
|
||||
"attributes": {
|
||||
|
||||
Reference in New Issue
Block a user