Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52667c01bf |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -26,4 +26,3 @@ DS_STORE
|
|||||||
source.json
|
source.json
|
||||||
out.json
|
out.json
|
||||||
security.yml
|
security.yml
|
||||||
config/proxy-https/proxy_ssl.conf
|
|
||||||
|
|||||||
34
README.md
34
README.md
@@ -12,37 +12,3 @@ Backend for the Contact Hub application based on the mu.semte.ch microservices
|
|||||||
You can shut down using `docker-compose stop` and remove everything using `docker-compose rm`.
|
You can shut down using `docker-compose stop` and remove everything using `docker-compose rm`.
|
||||||
|
|
||||||
|
|
||||||
### Setting up the delta-producers related services
|
|
||||||
To make sure the app can share data, producers need to be set up. There is an intial sync, that is potentially very expensive, and must be started manually
|
|
||||||
|
|
||||||
#### producers administrative-units
|
|
||||||
|
|
||||||
1. make sure the app is up and running, the migrations have run
|
|
||||||
2. in docker-compose.override.yml, make sure the following configuration is provided:
|
|
||||||
```
|
|
||||||
delta-producer-pub-graph-maintainer-administrative-units:
|
|
||||||
environment:
|
|
||||||
START_INITIAL_SYNC: 'true'
|
|
||||||
```
|
|
||||||
3. `drc up -d delta-producer-pub-graph-maintainer-administrative-units`
|
|
||||||
4. You can follow the status of the job, ideally through the dashboard, but this hasn't been setup yet. The following query should also give results:
|
|
||||||
```
|
|
||||||
PREFIX task: <http://redpencil.data.gift/vocabularies/tasks/>
|
|
||||||
PREFIX adms: <http://www.w3.org/ns/adms#>
|
|
||||||
PREFIX dct: <http://purl.org/dc/terms/>
|
|
||||||
|
|
||||||
SELECT DISTINCT ?job ?operation ?created ?modified ?status WHERE {
|
|
||||||
GRAPH ?g {
|
|
||||||
?job a <http://vocab.deri.ie/cogs#Job>;
|
|
||||||
task:operation ?operation;
|
|
||||||
adms:status ?status;
|
|
||||||
dct:created ?created;
|
|
||||||
dct:modified ?modified.
|
|
||||||
}
|
|
||||||
FILTER( ?operation IN (
|
|
||||||
<http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/administrative-units>,
|
|
||||||
<http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/administrative-units>
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -59,8 +59,7 @@ defmodule Acl.UserGroups.Config do
|
|||||||
]
|
]
|
||||||
defp access_by_role( group_string ) do
|
defp access_by_role( group_string ) do
|
||||||
%AccessByQuery{
|
%AccessByQuery{
|
||||||
# vars: ["session_group","session_role"], todo we might have to create multiple graph depending on role
|
vars: ["session_group","session_role"],
|
||||||
vars: [],
|
|
||||||
query: sparql_query_for_access_role( group_string ) }
|
query: sparql_query_for_access_role( group_string ) }
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -77,38 +76,20 @@ defmodule Acl.UserGroups.Config do
|
|||||||
def user_groups do
|
def user_groups do
|
||||||
[
|
[
|
||||||
%GroupSpec{
|
%GroupSpec{
|
||||||
name: "acmidm-lezer",
|
name: "acmidm",
|
||||||
useage: [:read],
|
|
||||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-lezer" ),
|
|
||||||
graphs: [
|
|
||||||
%GraphSpec{
|
|
||||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
|
||||||
constraint: %ResourceConstraint{
|
|
||||||
resource_types: @protected_resource_type
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
%GroupSpec{
|
|
||||||
name: "acmidm-editeerder",
|
|
||||||
useage: [:read, :write, :read_for_write],
|
useage: [:read, :write, :read_for_write],
|
||||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-editeerder" ),
|
access: %AccessByQuery{
|
||||||
|
query: "PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||||
|
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||||
|
PREFIX session: <http://mu.semte.ch/vocabularies/session/>
|
||||||
|
SELECT ?account WHERE {
|
||||||
|
<SESSION_ID> session:account ?account.
|
||||||
|
} LIMIT 1",
|
||||||
|
vars: []
|
||||||
|
},
|
||||||
graphs: [
|
graphs: [
|
||||||
%GraphSpec{
|
%GraphSpec{
|
||||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
graph: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin",
|
||||||
constraint: %ResourceConstraint{
|
|
||||||
resource_types: @protected_resource_type
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
%GroupSpec{
|
|
||||||
name: "acmidm-beheerder",
|
|
||||||
useage: [:read, :write, :read_for_write],
|
|
||||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-beheerder" ),
|
|
||||||
graphs: [
|
|
||||||
%GraphSpec{
|
|
||||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
|
||||||
constraint: %ResourceConstraint{
|
constraint: %ResourceConstraint{
|
||||||
resource_types: @protected_resource_type
|
resource_types: @protected_resource_type
|
||||||
}
|
}
|
||||||
@@ -116,27 +97,11 @@ defmodule Acl.UserGroups.Config do
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
%GroupSpec{
|
%GroupSpec{
|
||||||
name: "ch-lezer",
|
name: "ch-admin",
|
||||||
useage: [:read],
|
|
||||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-lezer" ),
|
|
||||||
graphs: [ %GraphSpec{
|
|
||||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
|
||||||
constraint: %ResourceConstraint{
|
|
||||||
resource_types: @protected_resource_type } } ] },
|
|
||||||
%GroupSpec{
|
|
||||||
name: "ch-editeerder",
|
|
||||||
useage: [:read, :write, :read_for_write],
|
useage: [:read, :write, :read_for_write],
|
||||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-editeerder" ),
|
access: access_by_role( "ChAdmin" ),
|
||||||
graphs: [ %GraphSpec{
|
graphs: [ %GraphSpec{
|
||||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
graph: "http://mu.semte.ch/graphs/contacthub/",
|
||||||
constraint: %ResourceConstraint{
|
|
||||||
resource_types: @protected_resource_type } } ] },
|
|
||||||
%GroupSpec{
|
|
||||||
name: "ch-beheerder",
|
|
||||||
useage: [:read, :write, :read_for_write],
|
|
||||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-beheerder" ),
|
|
||||||
graphs: [ %GraphSpec{
|
|
||||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
|
||||||
constraint: %ResourceConstraint{
|
constraint: %ResourceConstraint{
|
||||||
resource_types: @protected_resource_type } } ] },
|
resource_types: @protected_resource_type } } ] },
|
||||||
%GroupSpec{
|
%GroupSpec{
|
||||||
@@ -149,11 +114,7 @@ defmodule Acl.UserGroups.Config do
|
|||||||
resource_types: [
|
resource_types: [
|
||||||
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||||
"http://xmlns.com/foaf/0.1/Person",
|
"http://xmlns.com/foaf/0.1/Person",
|
||||||
"http://xmlns.com/foaf/0.1/OnlineAccount",
|
"http://xmlns.com/foaf/0.1/OnlineAccount"
|
||||||
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject",
|
|
||||||
"http://www.w3.org/ns/dcat#Dataset",
|
|
||||||
"http://www.w3.org/ns/dcat#Distribution",
|
|
||||||
"http://www.w3.org/ns/dcat#Catalog"
|
|
||||||
]
|
]
|
||||||
} }]},
|
} }]},
|
||||||
|
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
{
|
|
||||||
"export": [
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#scopeNote"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
|
||||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
|
||||||
"http://www.w3.org/ns/org#classification"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
|
||||||
"http://www.w3.org/ns/org#classification",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#bindingEinde",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#bindingStart",
|
|
||||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#scopeNote"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/prov#Location",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
|
||||||
"http://www.w3.org/2000/01/rdf-schema#label",
|
|
||||||
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/administrative-units" : {
|
|
||||||
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/AdministrativeUnitsCacheGraphDump",
|
|
||||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/administrative-units",
|
|
||||||
"fileBaseName": "dump-administrative-units"
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/administrative-units" : {
|
|
||||||
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/AdministrativeUnitsCacheGraphDump",
|
|
||||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/administrative-units",
|
|
||||||
"fileBaseName": "dump-administrative-units"
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations" : {
|
|
||||||
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/OrganizationsCacheGraphDump",
|
|
||||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
|
||||||
"fileBaseName": "dump-organizations"
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations" : {
|
|
||||||
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/OrganizationsCacheGraphDump",
|
|
||||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
|
||||||
"fileBaseName": "dump-organizations"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,421 +0,0 @@
|
|||||||
{
|
|
||||||
"export": [
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/person#Person",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://xmlns.com/foaf/0.1/givenName",
|
|
||||||
"http://xmlns.com/foaf/0.1/familyName",
|
|
||||||
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#isAangesteldAls",
|
|
||||||
"http://www.w3.org/ns/org#heldBy"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
|
|
||||||
"strictTypeExport": "true",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://data.lblod.info/vocabularies/contacthub/startdatum",
|
|
||||||
"http://data.lblod.info/vocabularies/contacthub/eindedatum",
|
|
||||||
"http://www.w3.org/ns/org#holds",
|
|
||||||
"http://www.w3.org/ns/org#heldBy",
|
|
||||||
"http://schema.org/contactPoint",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#start",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#einde",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#status",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/geplandeEinddatumAanstelling",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/redenVanStopzetting",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/typeHelft"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/HelftVerkiezing",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://schema.org/ContactPoint",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://schema.org/email",
|
|
||||||
"http://schema.org/faxNumber",
|
|
||||||
"http://schema.org/telephone",
|
|
||||||
"http://www.w3.org/ns/locn#address"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.vlaanderen.be/ns/mandaat#Mandaat",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/ns/org#role",
|
|
||||||
"http://www.w3.org/ns/org#postIn",
|
|
||||||
"http://www.w3.org/ns/org#role"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BestuursfunctieCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/org#Role",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/TypeEredienst",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
|
||||||
"strictTypeExport": "true",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
|
||||||
"http://www.w3.org/ns/adms#identifier",
|
|
||||||
"http://www.w3.org/ns/regorg#orgStatus",
|
|
||||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
|
||||||
"http://www.w3.org/ns/org#hasSite",
|
|
||||||
"http://www.w3.org/ns/org#changedBy",
|
|
||||||
"http://www.w3.org/ns/org#resultedFrom",
|
|
||||||
"http://www.w3.org/ns/org#hasPost",
|
|
||||||
"http://www.w3.org/ns/org#linkedTo",
|
|
||||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
|
||||||
"http://www.w3.org/ns/org#classification",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur",
|
|
||||||
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/denominatie",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/grensoverschrijdend",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
|
|
||||||
"strictTypeExport": "true",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
|
||||||
"http://www.w3.org/ns/adms#identifier",
|
|
||||||
"http://www.w3.org/ns/regorg#orgStatus",
|
|
||||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
|
||||||
"http://www.w3.org/ns/org#hasSite",
|
|
||||||
"http://www.w3.org/ns/org#changedBy",
|
|
||||||
"http://www.w3.org/ns/org#resultedFrom",
|
|
||||||
"http://www.w3.org/ns/org#hasPost",
|
|
||||||
"http://www.w3.org/ns/org#linkedTo",
|
|
||||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
|
||||||
"http://www.w3.org/ns/org#classification",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur",
|
|
||||||
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
|
||||||
"strictTypeExport": "true",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
|
||||||
"http://www.w3.org/ns/adms#identifier",
|
|
||||||
"http://www.w3.org/ns/regorg#orgStatus",
|
|
||||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
|
||||||
"http://www.w3.org/ns/org#hasSite",
|
|
||||||
"http://www.w3.org/ns/org#changedBy",
|
|
||||||
"http://www.w3.org/ns/org#resultedFrom",
|
|
||||||
"http://www.w3.org/ns/org#hasPost",
|
|
||||||
"http://www.w3.org/ns/org#linkedTo",
|
|
||||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
|
|
||||||
"strictTypeExport": "true",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#bindingEinde",
|
|
||||||
"http://data.vlaanderen.be/ns/mandaat#bindingStart",
|
|
||||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
|
||||||
"http://www.w3.org/ns/org#classification",
|
|
||||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
|
||||||
"http://www.w3.org/ns/org#hasPost"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/BetrokkenLokaleBesturen",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/financieringspercentage",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/typebetrokkenheid",
|
|
||||||
"http://www.w3.org/ns/org#organization"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/adms#Identifier",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#notation",
|
|
||||||
"https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"https://data.vlaanderen.be/ns/generiek#lokaleIdentificator"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/locn#Address",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"https://data.vlaanderen.be/ns/adres#Adresvoorstelling.huisnummer",
|
|
||||||
"https://data.vlaanderen.be/ns/adres#Adresvoorstelling.busnummer",
|
|
||||||
"http://www.w3.org/ns/locn#thoroughfare",
|
|
||||||
"http://www.w3.org/ns/locn#postCode",
|
|
||||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam",
|
|
||||||
"http://www.w3.org/ns/locn#adminUnitL2",
|
|
||||||
"https://data.vlaanderen.be/ns/adres#land",
|
|
||||||
"http://www.w3.org/ns/locn#fullAddress",
|
|
||||||
"https://data.vlaanderen.be/ns/adres#verwijstNaar",
|
|
||||||
"http://purl.org/dc/terms/source"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/org#Site",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/ns/org#siteAddress",
|
|
||||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/vestigingstype"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/org#ChangeEvent",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://purl.org/dc/terms/date",
|
|
||||||
"http://purl.org/dc/terms/description",
|
|
||||||
"http://data.lblod.info/vocabularies/contacthub/typeWijziging",
|
|
||||||
"http://www.w3.org/ns/org#resultedFrom",
|
|
||||||
"http://www.w3.org/ns/org#changedBy"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"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/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/OrganisatieStatusCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://www.w3.org/ns/prov#Location",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2000/01/rdf-schema#label",
|
|
||||||
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau",
|
|
||||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/TypeBetrokkenheid",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://data.lblod.info/vocabularies/contacthub/startdatum",
|
|
||||||
"http://data.lblod.info/vocabularies/contacthub/eindedatum",
|
|
||||||
"http://www.w3.org/ns/org#holds",
|
|
||||||
"http://www.w3.org/ns/org#heldBy",
|
|
||||||
"http://schema.org/contactPoint",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/financiering",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/voldoetAan"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/VoorwaardenBedienaar",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/voldaan",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/criterium",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/criteriumbewijsstuktype"
|
|
||||||
]
|
|
||||||
},{
|
|
||||||
"type": "http://publications.europa.eu/ontology/euvoc#Country",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
|
||||||
"http://www.w3.org/2000/01/rdf-schema#label"
|
|
||||||
]
|
|
||||||
},{
|
|
||||||
"type": "http://data.lblod.info/vocabularies/erediensten/PositieBedienaar",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/ns/org#role",
|
|
||||||
"http://www.w3.org/ns/org#postIn",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/functie",
|
|
||||||
"http://data.lblod.info/vocabularies/erediensten/behoort"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/EredienstBeroepen",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BedienaarFinanceringCode",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/VoorwaardenBedienaarCriterium",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/BedienaarCriteriumBewijsstuk",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "http://lblod.data.gift/vocabularies/organisatie/TypeVestiging",
|
|
||||||
"graphsFilter": [
|
|
||||||
"http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
],
|
|
||||||
"properties": [
|
|
||||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,112 +1,18 @@
|
|||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
match: {
|
match: {
|
||||||
predicate: {
|
graph: {
|
||||||
type: 'uri',
|
type: "uri",
|
||||||
value: 'http://www.w3.org/ns/adms#status'
|
value: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
callback: {
|
|
||||||
method: 'POST',
|
|
||||||
url: 'http://jobs-controller/delta'
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
resourceFormat: 'v0.0.1',
|
|
||||||
gracePeriod: 1000,
|
|
||||||
ignoreFromSelf: true,
|
|
||||||
optOutMuScopeIds: [ "http://redpencil.data.gift/id/concept/muScope/deltas/initialSync" ]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
match: {
|
|
||||||
},
|
|
||||||
callback: {
|
|
||||||
url: 'http://delta-producer-pub-graph-maintainer-administrative-units/delta',
|
|
||||||
method: 'POST'
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
resourceFormat: 'v0.0.1',
|
|
||||||
gracePeriod: 1000,
|
|
||||||
ignoreFromSelf: true,
|
|
||||||
optOutMuScopeIds: [
|
|
||||||
"http://redpencil.data.gift/id/concept/muScope/deltas/initialSync",
|
|
||||||
"http://redpencil.data.gift/id/concept/muScope/deltas/publicationGraphMaintenance"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
match: {
|
|
||||||
graph: {
|
|
||||||
type: 'uri',
|
|
||||||
value: 'http://redpencil.data.gift/id/deltas/producer/administrative-units'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
callback: {
|
|
||||||
url: 'http://delta-producer-json-diff-publisher-administrative-units/delta',
|
|
||||||
method: 'POST'
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
resourceFormat: 'v0.0.1',
|
|
||||||
gracePeriod: 1000,
|
|
||||||
ignoreFromSelf: true,
|
|
||||||
optOutMuScopeIds: [ "http://redpencil.data.gift/id/concept/muScope/deltas/initialSync" ]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
match: {
|
|
||||||
},
|
|
||||||
callback: {
|
|
||||||
url: 'http://delta-producer-pub-graph-maintainer-organizations/delta',
|
|
||||||
method: 'POST'
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
resourceFormat: 'v0.0.1',
|
|
||||||
gracePeriod: 1000,
|
|
||||||
ignoreFromSelf: true,
|
|
||||||
optOutMuScopeIds: [
|
|
||||||
"http://redpencil.data.gift/id/concept/muScope/deltas/initialSync",
|
|
||||||
"http://redpencil.data.gift/id/concept/muScope/deltas/publicationGraphMaintenance"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
match: {
|
|
||||||
graph: {
|
|
||||||
type: 'uri',
|
|
||||||
value: 'http://redpencil.data.gift/id/deltas/producer/organizations'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
callback: {
|
|
||||||
url: 'http://delta-producer-json-diff-publisher-organizations/delta',
|
|
||||||
method: 'POST'
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
resourceFormat: 'v0.0.1',
|
|
||||||
gracePeriod: 1000,
|
|
||||||
ignoreFromSelf: true,
|
|
||||||
optOutMuScopeIds: [ "http://redpencil.data.gift/id/concept/muScope/deltas/initialSync" ]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
match: {
|
|
||||||
predicate: {
|
|
||||||
type: 'uri',
|
|
||||||
value: 'http://www.w3.org/ns/adms#status'
|
|
||||||
},
|
},
|
||||||
object: {
|
callback: {
|
||||||
type: 'uri',
|
url: "http://kalliope-api/delta", method: "POST"
|
||||||
value: 'http://redpencil.data.gift/id/concept/JobStatus/scheduled'
|
},
|
||||||
|
options: {
|
||||||
|
resourceFormat: "v0.0.1",
|
||||||
|
gracePeriod: 1000,
|
||||||
|
ignoreFromSelf: true
|
||||||
}
|
}
|
||||||
},
|
|
||||||
callback: {
|
|
||||||
url: 'http://delta-producer-dump-file-publisher/delta',
|
|
||||||
method: 'POST'
|
|
||||||
},
|
|
||||||
options: {
|
|
||||||
resourceFormat: 'v0.0.1',
|
|
||||||
gracePeriod: 1000,
|
|
||||||
ignoreFromSelf: true,
|
|
||||||
optOutMuScopeIds: [ "http://redpencil.data.gift/id/concept/muScope/deltas/initialSync" ]
|
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
]
|
|
||||||
@@ -187,10 +187,6 @@ defmodule Dispatcher do
|
|||||||
Proxy.forward conn, path, "http://cache/site-types/"
|
Proxy.forward conn, path, "http://cache/site-types/"
|
||||||
end
|
end
|
||||||
|
|
||||||
match "/request-reasons/*path", %{ accept: [:json], layer: :api} do
|
|
||||||
Proxy.forward conn, path, "http://cache/request-reasons/"
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# LOGIN
|
# LOGIN
|
||||||
@@ -248,47 +244,6 @@ defmodule Dispatcher do
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
# FILES
|
|
||||||
#################################################################
|
|
||||||
|
|
||||||
get "/files/:id/download", %{ accept: [:any], } do
|
|
||||||
Proxy.forward conn, [], "http://file/files/" <> id <> "/download"
|
|
||||||
end
|
|
||||||
|
|
||||||
get "/files/*path" , %{ layer: :api_services, accept: %{ json: true } } do
|
|
||||||
Proxy.forward conn, path, "http://cache/files/"
|
|
||||||
end
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
# DCAT
|
|
||||||
#################################################################
|
|
||||||
|
|
||||||
get "/datasets/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
|
||||||
Proxy.forward conn, path, "http://cache/datasets/"
|
|
||||||
end
|
|
||||||
|
|
||||||
get "/distributions/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
|
||||||
Proxy.forward conn, path, "http://cache/distributions/"
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
# DELTA: administrative-units
|
|
||||||
#################################################################
|
|
||||||
|
|
||||||
get "/sync/administrative-units/files/*path" do
|
|
||||||
Proxy.forward conn, path, "http://delta-producer-json-diff-file-publisher-administrative-units/files/"
|
|
||||||
end
|
|
||||||
|
|
||||||
#################################################################
|
|
||||||
# DELTA: organizations
|
|
||||||
#################################################################
|
|
||||||
|
|
||||||
get "/sync/organizations/files/*path" do
|
|
||||||
Proxy.forward conn, path, "http://delta-producer-json-diff-file-publisher-organizations/files/"
|
|
||||||
end
|
|
||||||
|
|
||||||
###############################################################
|
###############################################################
|
||||||
# frontend layer
|
# frontend layer
|
||||||
###############################################################
|
###############################################################
|
||||||
@@ -317,7 +272,7 @@ defmodule Dispatcher do
|
|||||||
# sparql endpoint
|
# sparql endpoint
|
||||||
###############################################################
|
###############################################################
|
||||||
|
|
||||||
post "/sparql/*path", %{ layer: :api_services, accept: %{ sparql_json: true } } do
|
post "/sparql/*path", %{ layer: :api_services, host: "*.abb.lblod.info", accept: %{ sparql_json: true } } do
|
||||||
forward conn, path, "http://db:8890/sparql/"
|
forward conn, path, "http://db:8890/sparql/"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,66 +0,0 @@
|
|||||||
{
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/administrative-units": {
|
|
||||||
"tasksConfiguration": [
|
|
||||||
{
|
|
||||||
"currentOperation": null,
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/initialPublicationGraphSyncing",
|
|
||||||
"nextIndex": "0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"currentOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/initialPublicationGraphSyncing",
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/deltaDumpFileCreation",
|
|
||||||
"nextIndex": "1"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/administrative-units": {
|
|
||||||
"tasksConfiguration": [
|
|
||||||
{
|
|
||||||
"currentOperation": null,
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/healing/patchPublicationGraph",
|
|
||||||
"nextIndex": "0"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/administrative-units": {
|
|
||||||
"tasksConfiguration": [
|
|
||||||
{
|
|
||||||
"currentOperation": null,
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/deltaDumpFileCreation",
|
|
||||||
"nextIndex": "0"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations": {
|
|
||||||
"tasksConfiguration": [
|
|
||||||
{
|
|
||||||
"currentOperation": null,
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/initialPublicationGraphSyncing",
|
|
||||||
"nextIndex": "0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"currentOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/initialPublicationGraphSyncing",
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/deltaDumpFileCreation",
|
|
||||||
"nextIndex": "1"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations": {
|
|
||||||
"tasksConfiguration": [
|
|
||||||
{
|
|
||||||
"currentOperation": null,
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/healing/patchPublicationGraph",
|
|
||||||
"nextIndex": "0"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations": {
|
|
||||||
"tasksConfiguration": [
|
|
||||||
{
|
|
||||||
"currentOperation": null,
|
|
||||||
"nextOperation": "http://redpencil.data.gift/id/jobs/concept/TaskOperation/deltas/deltaDumpFileCreation",
|
|
||||||
"nextIndex": "0"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/application> {
|
|
||||||
?s ?p ?o
|
|
||||||
}
|
|
||||||
} INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin> {
|
|
||||||
?s ?p ?o
|
|
||||||
}
|
|
||||||
} WHERE {
|
|
||||||
GRAPH <http://mu.semte.ch/application> {
|
|
||||||
?s a <http://mu.semte.ch/vocabularies/ext/ReasonCode>;
|
|
||||||
?p ?o.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
|
||||||
PREFIX persoon: <https://data.vlaanderen.be/ns/persoon#>
|
|
||||||
PREFIX person: <http://www.w3.org/ns/person#>
|
|
||||||
|
|
||||||
DELETE {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin> {
|
|
||||||
?s persoon:heeftGeboorte ?heeftGeboorte .
|
|
||||||
?s persoon:registratie ?registration .
|
|
||||||
?registration generiek:gestructureerdeIdentificator ?identificator .
|
|
||||||
?identificator ?x ?y .
|
|
||||||
?registration ?t ?j .
|
|
||||||
?s persoon:geslacht ?geslacht .
|
|
||||||
?s persoon:heeftNationaliteit ?nationaliteit .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
INSERT {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/privacy-centric-graph> {
|
|
||||||
?s persoon:heeftGeboorte ?heeftGeboorte .
|
|
||||||
?s persoon:registratie ?registration .
|
|
||||||
?registration generiek:gestructureerdeIdentificator ?identificator .
|
|
||||||
?identificator ?x ?y .
|
|
||||||
?registration ?t ?j .
|
|
||||||
?s persoon:geslacht ?geslacht .
|
|
||||||
?s persoon:heeftNationaliteit ?nationaliteit .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
WHERE
|
|
||||||
{ GRAPH <http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin>
|
|
||||||
{
|
|
||||||
?s a person:Person.
|
|
||||||
OPTIONAL
|
|
||||||
{ ?s persoon:heeftGeboorte ?heeftGeboorte .
|
|
||||||
?heeftGeboorte
|
|
||||||
?p ?o
|
|
||||||
}
|
|
||||||
OPTIONAL
|
|
||||||
{ ?s persoon:registratie ?registration .
|
|
||||||
?registration
|
|
||||||
generiek:gestructureerdeIdentificator ?identificator .
|
|
||||||
?identificator
|
|
||||||
?x ?y .
|
|
||||||
?registration
|
|
||||||
?t ?j
|
|
||||||
}
|
|
||||||
OPTIONAL
|
|
||||||
{ ?s persoon:geslacht ?geslacht }
|
|
||||||
OPTIONAL
|
|
||||||
{ ?s persoon:heeftNationaliteit ?nationaliteit }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
|
|
||||||
INSERT DATA {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/contacthub/accounts> {
|
|
||||||
<http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> a besluit:Bestuurseenheid ;
|
|
||||||
mu:uuid "141d9d6b-54af-4d17-b313-8d1c30bc3f5b" ;
|
|
||||||
skos:prefLabel "Agentschap Binnenlands Bestuur" ;
|
|
||||||
dcterms:identifier "OVO001835" .
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
CLEAR GRAPH <http://mu.semte.ch/graphs/public> ;
|
|
||||||
CLEAR GRAPH <http://mu.semte.ch/graphs/organizations/141d9d6b-54af-4d17-b313-8d1c30bc3f5b>;
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
||||||
PREFIX ext:<http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
INSERT DATA {
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
||||||
<http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> a besluit:Bestuurseenheid ;
|
|
||||||
mu:uuid "141d9d6b-54af-4d17-b313-8d1c30bc3f5b" ;
|
|
||||||
skos:prefLabel "Agentschap Binnenlands Bestuur" ;
|
|
||||||
dcterms:identifier "OVO001835" .
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3470> a foaf:Person ;
|
|
||||||
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3470" ;
|
|
||||||
foaf:firstName "Josephine" ;
|
|
||||||
foaf:familyName "Lezer" ;
|
|
||||||
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
|
||||||
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0989> .
|
|
||||||
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0989> a foaf:OnlineAccount ;
|
|
||||||
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0989" ;
|
|
||||||
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
|
|
||||||
ext:sessionRole "ABBOrganisatiePortaalGebruiker-lezer".
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3471> a foaf:Person ;
|
|
||||||
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3471" ;
|
|
||||||
foaf:firstName "Josephine" ;
|
|
||||||
foaf:familyName "Editeerder" ;
|
|
||||||
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
|
||||||
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0957> .
|
|
||||||
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0957> a foaf:OnlineAccount ;
|
|
||||||
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0957" ;
|
|
||||||
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
|
|
||||||
ext:sessionRole "ABBOrganisatiePortaalGebruiker-editeerder".
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3472> a foaf:Person ;
|
|
||||||
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3472" ;
|
|
||||||
foaf:firstName "Josephine" ;
|
|
||||||
foaf:familyName "Beheerder" ;
|
|
||||||
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
|
||||||
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0958> .
|
|
||||||
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0958> a foaf:OnlineAccount ;
|
|
||||||
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0958" ;
|
|
||||||
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
|
|
||||||
ext:sessionRole "ABBOrganisatiePortaalGebruiker-beheerder".
|
|
||||||
}
|
|
||||||
|
|
||||||
GRAPH <http://mu.semte.ch/graphs/organizations/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> {
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3470> a foaf:Person ;
|
|
||||||
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3470" ;
|
|
||||||
foaf:firstName "Josephine" ;
|
|
||||||
foaf:familyName "Lezer" ;
|
|
||||||
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
|
||||||
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0989> .
|
|
||||||
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0989> a foaf:OnlineAccount ;
|
|
||||||
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0989" ;
|
|
||||||
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
|
|
||||||
ext:sessionRole "ABBOrganisatiePortaalGebruiker-lezer".
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3471> a foaf:Person ;
|
|
||||||
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3471" ;
|
|
||||||
foaf:firstName "Josephine" ;
|
|
||||||
foaf:familyName "Editeerder" ;
|
|
||||||
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
|
||||||
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0957> .
|
|
||||||
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0957> a foaf:OnlineAccount ;
|
|
||||||
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0957" ;
|
|
||||||
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
|
|
||||||
ext:sessionRole "ABBOrganisatiePortaalGebruiker-editeerder".
|
|
||||||
|
|
||||||
<http://data.lblod.info/id/persoon/d39fe09e-d339-4e43-8680-dbbcfb3d3472> a foaf:Person ;
|
|
||||||
mu:uuid "d39fe09e-d339-4e43-8680-dbbcfb3d3472" ;
|
|
||||||
foaf:firstName "Josephine" ;
|
|
||||||
foaf:familyName "Beheerder" ;
|
|
||||||
foaf:member <http://data.lblod.info/id/bestuurseenheden/141d9d6b-54af-4d17-b313-8d1c30bc3f5b> ;
|
|
||||||
foaf:account <http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0958> .
|
|
||||||
<http://data.lblod.info/id/account/3a91ff60-07c1-4136-ac5e-55cf401e0958> a foaf:OnlineAccount ;
|
|
||||||
mu:uuid "3a91ff60-07c1-4136-ac5e-55cf401e0958" ;
|
|
||||||
foaf:accountServiceHomepage <https://github.com/lblod/mock-login-service>;
|
|
||||||
ext:sessionRole "ABBOrganisatiePortaalGebruiker-beheerder".
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
||||||
PREFIX ext:<http://mu.semte.ch/vocabularies/ext/>
|
|
||||||
MOVE <http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin> TO
|
|
||||||
<http://mu.semte.ch/graphs/organisatieportaal>
|
|
||||||
@@ -1,157 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "0.1",
|
|
||||||
"prefixes": {
|
|
||||||
"dcat": "http://www.w3.org/ns/dcat#",
|
|
||||||
"dct": "http://purl.org/dc/terms/",
|
|
||||||
"prov": "http://www.w3.org/ns/prov#"
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"catalogs": {
|
|
||||||
"class": "dcat:Catalog",
|
|
||||||
"attributes": {
|
|
||||||
"title": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:title"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:description"
|
|
||||||
},
|
|
||||||
"publisher": {
|
|
||||||
"type": "url",
|
|
||||||
"predicate": "dct:publisher"
|
|
||||||
},
|
|
||||||
"release-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "dct:issued"
|
|
||||||
},
|
|
||||||
"modified": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "dct:modified"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"relationships": {
|
|
||||||
"datasets": {
|
|
||||||
"target": "datasets",
|
|
||||||
"predicate": "dcat:dataset",
|
|
||||||
"cardinality": "many"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"features": [
|
|
||||||
"include-uri"
|
|
||||||
],
|
|
||||||
"new-resource-base": "http://data.lblod.info/id/catalog/"
|
|
||||||
},
|
|
||||||
"datasets": {
|
|
||||||
"class": "dcat:Dataset",
|
|
||||||
"attributes": {
|
|
||||||
"title": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:title"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:description"
|
|
||||||
},
|
|
||||||
"release-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "dct:issued"
|
|
||||||
},
|
|
||||||
"modified": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "dct:modified"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "url",
|
|
||||||
"predicate": "dct:type"
|
|
||||||
},
|
|
||||||
"subject": {
|
|
||||||
"type": "url",
|
|
||||||
"predicate": "dct:subject"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"relationships": {
|
|
||||||
"catalog": {
|
|
||||||
"target": "catalogs",
|
|
||||||
"predicate": "dcat:dataset",
|
|
||||||
"cardinality": "one",
|
|
||||||
"inverse": true
|
|
||||||
},
|
|
||||||
"distributions": {
|
|
||||||
"target": "distributions",
|
|
||||||
"predicate": "dcat:distribution",
|
|
||||||
"cardinality": "many"
|
|
||||||
},
|
|
||||||
"previous-version": {
|
|
||||||
"target": "datasets",
|
|
||||||
"predicate": "prov:wasRevisionOf",
|
|
||||||
"cardinality": "one"
|
|
||||||
},
|
|
||||||
"next-version": {
|
|
||||||
"target": "datasets",
|
|
||||||
"predicate": "prov:wasRevisionOf",
|
|
||||||
"cardinality": "one",
|
|
||||||
"inverse": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"features": [
|
|
||||||
"include-uri"
|
|
||||||
],
|
|
||||||
"new-resource-base": "http://data.lblod.info/id/dataset/"
|
|
||||||
},
|
|
||||||
"distributions": {
|
|
||||||
"class": "dcat:Distribution",
|
|
||||||
"attributes": {
|
|
||||||
"title": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:title"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:description"
|
|
||||||
},
|
|
||||||
"release-date": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "dct:issued"
|
|
||||||
},
|
|
||||||
"modified": {
|
|
||||||
"type": "datetime",
|
|
||||||
"predicate": "dct:modified"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "url",
|
|
||||||
"predicate": "dct:type"
|
|
||||||
},
|
|
||||||
"download-url": {
|
|
||||||
"type": "url",
|
|
||||||
"predicate": "dcat:downloadURL"
|
|
||||||
},
|
|
||||||
"format": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "dct:format"
|
|
||||||
},
|
|
||||||
"byte-size": {
|
|
||||||
"type": "number",
|
|
||||||
"predicate": "dcat:byteSize"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"relationships": {
|
|
||||||
"dataset": {
|
|
||||||
"target": "datasets",
|
|
||||||
"predicate": "dcat:distribution",
|
|
||||||
"cardinality": "one",
|
|
||||||
"inverse": true
|
|
||||||
},
|
|
||||||
"subject": {
|
|
||||||
"target": "file",
|
|
||||||
"predicate": "dct:subject",
|
|
||||||
"cardinality": "one"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"features": [
|
|
||||||
"include-uri"
|
|
||||||
],
|
|
||||||
"new-resource-base": "http://data.lblod.info/id/distribution/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -55,6 +55,26 @@
|
|||||||
"target": "agents-in-position",
|
"target": "agents-in-position",
|
||||||
"cardinality": "many",
|
"cardinality": "many",
|
||||||
"inverse": true
|
"inverse": true
|
||||||
|
},
|
||||||
|
"registration": {
|
||||||
|
"predicate": "persoon:registratie",
|
||||||
|
"target": "identifiers",
|
||||||
|
"cardinality": "one"
|
||||||
|
},
|
||||||
|
"date-of-birth": {
|
||||||
|
"predicate": "persoon:heeftGeboorte",
|
||||||
|
"target": "dates-of-birth",
|
||||||
|
"cardinality": "one"
|
||||||
|
},
|
||||||
|
"nationalities": {
|
||||||
|
"predicate": "persoon:heeftNationaliteit",
|
||||||
|
"target": "nationalities",
|
||||||
|
"cardinality": "many"
|
||||||
|
},
|
||||||
|
"gender": {
|
||||||
|
"predicate": "persoon:geslacht",
|
||||||
|
"target": "gender-codes",
|
||||||
|
"cardinality": "one"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"new-resource-base": "http://data.lblod.info/id/personen/"
|
"new-resource-base": "http://data.lblod.info/id/personen/"
|
||||||
@@ -600,7 +620,7 @@
|
|||||||
},
|
},
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"source": {
|
"source": {
|
||||||
"predicate": "dc_terms:source",
|
"predicate": "dct:source",
|
||||||
"target": "concepts",
|
"target": "concepts",
|
||||||
"cardinality": "one"
|
"cardinality": "one"
|
||||||
}
|
}
|
||||||
@@ -772,6 +792,16 @@
|
|||||||
},
|
},
|
||||||
"new-resource-base": "http://data.lblod.info/id/voorwaardenBedienaar/"
|
"new-resource-base": "http://data.lblod.info/id/voorwaardenBedienaar/"
|
||||||
},
|
},
|
||||||
|
"dates-of-birth": {
|
||||||
|
"class": "persoon:Geboorte",
|
||||||
|
"attributes": {
|
||||||
|
"date": {
|
||||||
|
"type": "datetime",
|
||||||
|
"predicate": "persoon:datum"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"new-resource-base": "http://data.lblod.info/id/geboortes/"
|
||||||
|
},
|
||||||
"nationalities": {
|
"nationalities": {
|
||||||
"class": "euvoc:Country",
|
"class": "euvoc:Country",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
(in-package :mu-cl-resources)
|
(in-package :mu-cl-resources)
|
||||||
|
|
||||||
(defparameter *include-count-in-paginated-responses* t)
|
(defparameter *include-count-in-paginated-responses* t)
|
||||||
@@ -12,6 +13,3 @@
|
|||||||
|
|
||||||
(read-domain-file "domain.json")
|
(read-domain-file "domain.json")
|
||||||
(read-domain-file "auth.json")
|
(read-domain-file "auth.json")
|
||||||
(read-domain-file "files-domain.lisp")
|
|
||||||
(read-domain-file "dcat.json")
|
|
||||||
(read-domain-file "privacy-centric-service.json")
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
(define-resource file ()
|
|
||||||
:class (s-prefix "nfo:FileDataObject")
|
|
||||||
:properties `((:filename :string ,(s-prefix "nfo:fileName"))
|
|
||||||
(:format :string ,(s-prefix "dct:format"))
|
|
||||||
(:size :number ,(s-prefix "nfo:fileSize"))
|
|
||||||
(:extension :string ,(s-prefix "dbpedia:fileExtension"))
|
|
||||||
(:created :datetime ,(s-prefix "nfo:fileCreated")))
|
|
||||||
:has-one `((file :via ,(s-prefix "nie:dataSource")
|
|
||||||
:inverse t
|
|
||||||
:as "download"))
|
|
||||||
:resource-base (s-url "http://data.lblod.info/files/")
|
|
||||||
:features `(no-pagination-defaults include-uri)
|
|
||||||
:on-path "files")
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "0.1",
|
|
||||||
"prefixes": {
|
|
||||||
"skos": "http://www.w3.org/2004/02/skos/core#",
|
|
||||||
"ext": "http://mu.semte.ch/vocabularies/ext/"
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"request-reasons": {
|
|
||||||
"name": "request-reason",
|
|
||||||
"class": "ext:ReasonCode",
|
|
||||||
"attributes": {
|
|
||||||
"label": {
|
|
||||||
"type": "string",
|
|
||||||
"predicate": "skos:prefLabel"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"new-resource-base": "http://data.lblod.info/id/information-request-reason/"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
db:
|
db:
|
||||||
image: cecemel/mu-authorization:0.6.0-beta.8
|
image: semtech/mu-authorization:0.6.0-beta.7
|
||||||
environment:
|
environment:
|
||||||
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
|
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
|
||||||
LOG_OUTGOING_SPARQL_QUERIES: "true"
|
LOG_OUTGOING_SPARQL_QUERIES: "true"
|
||||||
@@ -79,23 +79,20 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
kalliope-api:
|
kalliope-api:
|
||||||
image: lblod/jsonld-delta-service:0.5.1
|
image: lblod/jsonld-delta-service:0.3.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/kalliope:/config
|
- ./config/kalliope:/config
|
||||||
- ./data/files:/share
|
- ./data/files:/share
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
environment:
|
environment:
|
||||||
SERVER_PORT: "80"
|
SERVER_PORT: "80"
|
||||||
LOGGING_LEVEL: "INFO"
|
LOGGING_LEVEL: "INFO"
|
||||||
SPARQL_ENDPOINT: "http://db:8890/sparql"
|
SPARQL_ENDPOINT: "http://db:8890/sparql"
|
||||||
LIMIT_SIZE: "10000"
|
|
||||||
labels:
|
labels:
|
||||||
- "logging=true"
|
- "logging=true"
|
||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
deltanotifier:
|
deltanotifier:
|
||||||
image: cecemel/delta-notifier:0.2.0-beta.2
|
image: semtech/mu-delta-notifier:0.1.0
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/delta:/config
|
- ./config/delta:/config
|
||||||
labels:
|
labels:
|
||||||
@@ -111,15 +108,17 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
login:
|
login:
|
||||||
image: lblod/acmidm-login-service:0.9.2
|
image: lblod/acmidm-login-service:0.9.3-organisatie_portaal
|
||||||
|
links:
|
||||||
|
- db:database
|
||||||
environment:
|
environment:
|
||||||
MU_APPLICATION_AUTH_USERID_CLAIM: "vo_id"
|
|
||||||
MU_APPLICATION_GRAPH: "http://mu.semte.ch/graphs/contacthub/accounts"
|
MU_APPLICATION_GRAPH: "http://mu.semte.ch/graphs/contacthub/accounts"
|
||||||
MU_APPLICATION_AUTH_ROLE_CLAIM: "abb_organisatieportaal_rol_3d"
|
|
||||||
MU_APPLICATION_AUTH_DISCOVERY_URL: "https://authenticatie-ti.vlaanderen.be/op"
|
MU_APPLICATION_AUTH_DISCOVERY_URL: "https://authenticatie-ti.vlaanderen.be/op"
|
||||||
MU_APPLICATION_AUTH_CLIENT_ID: "677af572-2e2f-4e61-ad38-036723bb314c"
|
MU_APPLICATION_AUTH_CLIENT_ID: "677af572-2e2f-4e61-ad38-036723bb314c"
|
||||||
MU_APPLICATION_AUTH_REDIRECT_URI: "https://organisaties.abb.lblod.info/authorization/callback"
|
MU_APPLICATION_AUTH_REDIRECT_URI: "https://organisaties.abb.lblod.info/authorization/callback"
|
||||||
MU_APPLICATION_AUTH_CLIENT_SECRET: "secret"
|
MU_APPLICATION_AUTH_CLIENT_SECRET: "secret"
|
||||||
|
links:
|
||||||
|
- db:database
|
||||||
labels:
|
labels:
|
||||||
- "logging=true"
|
- "logging=true"
|
||||||
restart: always
|
restart: always
|
||||||
@@ -137,7 +136,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
privacy:
|
privacy:
|
||||||
image: lblod/privacy-centric-service:0.2.0
|
image: lblod/privacy-centric-service:0.0.1
|
||||||
labels:
|
labels:
|
||||||
- "logging=true"
|
- "logging=true"
|
||||||
environment:
|
environment:
|
||||||
@@ -157,7 +156,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
frontend:
|
frontend:
|
||||||
image: lblod/frontend-contact-hub:1.4.0
|
image: lblod/frontend-contact-hub:1.2.2
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||||
environment:
|
environment:
|
||||||
@@ -178,156 +177,3 @@ services:
|
|||||||
- "logging=true"
|
- "logging=true"
|
||||||
restart: always
|
restart: always
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
file:
|
|
||||||
image: semtech/mu-file-service:3.2.0
|
|
||||||
volumes:
|
|
||||||
- ./data/files:/share
|
|
||||||
labels:
|
|
||||||
- "logging=true"
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
jobs-controller:
|
|
||||||
image: lblod/job-controller-service:0.7.0
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
volumes:
|
|
||||||
- ./config/jobs-controller/:/config/
|
|
||||||
################################################################################
|
|
||||||
# DELTA GENERAL
|
|
||||||
################################################################################
|
|
||||||
delta-producer-dump-file-publisher:
|
|
||||||
image: lblod/delta-producer-dump-file-publisher:0.4.0
|
|
||||||
volumes:
|
|
||||||
- ./config/delta-producer/dump-file-publisher:/config
|
|
||||||
- ./data/files:/share
|
|
||||||
environment:
|
|
||||||
FILES_GRAPH: 'http://mu.semte.ch/graphs/public' # Note: this will be extracted in a config per job one day
|
|
||||||
DCAT_DATASET_GRAPH: 'http://mu.semte.ch/graphs/public'
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
################################################################################
|
|
||||||
# DELTA ADMINISTRATIVE-UNITS: START
|
|
||||||
################################################################################
|
|
||||||
delta-producer-bg-jobs-initiator-administrative-units:
|
|
||||||
image: lblod/delta-producer-background-jobs-initiator:0.3.1
|
|
||||||
environment:
|
|
||||||
JOBS_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
DUMP_FILE_CREATION_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/administrative-units'
|
|
||||||
INITIAL_PUBLICATION_GRAPH_SYNC_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/administrative-units'
|
|
||||||
HEALING_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/administrative-units'
|
|
||||||
CRON_PATTERN_DUMP_JOB: '0 0 4 * * 6' # weekly on saturday
|
|
||||||
CRON_PATTERN_HEALING_JOB: '0 0 4 * * *' # everyday at 4 AM
|
|
||||||
START_INITIAL_SYNC: 'false' # prefer to disable it now. We want to have feeling with how the DB acts.
|
|
||||||
labels:
|
|
||||||
- "logging=true"
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
delta-producer-pub-graph-maintainer-administrative-units:
|
|
||||||
image: lblod/delta-producer-publication-graph-maintainer:0.7.0
|
|
||||||
environment:
|
|
||||||
MAX_BODY_SIZE: "50mb"
|
|
||||||
JOBS_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
RELATIVE_FILE_PATH: "deltas/administrative-units"
|
|
||||||
PUBLICATION_GRAPH: 'http://redpencil.data.gift/id/deltas/producer/administrative-units'
|
|
||||||
HEALING_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/administrative-units'
|
|
||||||
INITIAL_PUBLICATION_GRAPH_SYNC_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/administrative-units'
|
|
||||||
QUEUE_POLL_INTERVAL: 3000
|
|
||||||
USE_VIRTUOSO_FOR_EXPENSIVE_SELECTS: "true" # some queries are just too expensive
|
|
||||||
SKIP_MU_AUTH_INITIAL_SYNC: 'true'
|
|
||||||
HEALING_PATCH_GRAPH_BATCH_SIZE: 500
|
|
||||||
volumes:
|
|
||||||
- ./config/delta-producer/administrative-units:/config
|
|
||||||
- ./data/files/:/share
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
- triplestore:virtuoso
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
delta-producer-json-diff-publisher-administrative-units:
|
|
||||||
image: lblod/delta-producer-json-diff-file-publisher:0.2.3
|
|
||||||
environment:
|
|
||||||
MAX_BODY_SIZE: "50mb"
|
|
||||||
ERROR_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
RELATIVE_FILE_PATH: "deltas/administrative-units"
|
|
||||||
PUBLISHER_URI: "http://data.lblod.info/services/delta-production-json-diff-file-manager/administrative-units"
|
|
||||||
PUBLICATION_GRAPH: 'http://redpencil.data.gift/id/deltas/producer/administrative-units'
|
|
||||||
DELTA_INTERVAL_MS: 10000
|
|
||||||
PRETTY_PRINT_DIFF_JSON: "true"
|
|
||||||
volumes:
|
|
||||||
- ./data/files:/share
|
|
||||||
labels:
|
|
||||||
- "logging=true"
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
################################################################################
|
|
||||||
# DELTA ADMINISTRATIVE-UNITS: END
|
|
||||||
################################################################################
|
|
||||||
################################################################################
|
|
||||||
# DELTA ORGANIZATIONS: START
|
|
||||||
################################################################################
|
|
||||||
delta-producer-bg-jobs-initiator-organizations:
|
|
||||||
image: lblod/delta-producer-background-jobs-initiator:0.3.1
|
|
||||||
environment:
|
|
||||||
JOBS_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
DUMP_FILE_CREATION_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations'
|
|
||||||
INITIAL_PUBLICATION_GRAPH_SYNC_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations'
|
|
||||||
HEALING_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations'
|
|
||||||
CRON_PATTERN_DUMP_JOB: '30 9 8-18/2 * 1-5' # At second :30, at minute :09, every 2 hours between hours 08:00-18:00, on every Monday to Friday
|
|
||||||
CRON_PATTERN_HEALING_JOB: '0 0 4 * * *' # everyday at 4 AM
|
|
||||||
START_INITIAL_SYNC: 'false' # prefer to disable it now. We want to have feeling with how the DB acts.
|
|
||||||
labels:
|
|
||||||
- "logging=true"
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
delta-producer-pub-graph-maintainer-organizations:
|
|
||||||
image: lblod/delta-producer-publication-graph-maintainer:0.7.0
|
|
||||||
environment:
|
|
||||||
MAX_BODY_SIZE: "50mb"
|
|
||||||
JOBS_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
RELATIVE_FILE_PATH: "deltas/organizations"
|
|
||||||
PUBLICATION_GRAPH: 'http://redpencil.data.gift/id/deltas/producer/organizations'
|
|
||||||
HEALING_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations'
|
|
||||||
INITIAL_PUBLICATION_GRAPH_SYNC_JOB_OPERATION: 'http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations'
|
|
||||||
QUEUE_POLL_INTERVAL: 3000
|
|
||||||
USE_VIRTUOSO_FOR_EXPENSIVE_SELECTS: "true" # some queries are just too expensive
|
|
||||||
SKIP_MU_AUTH_INITIAL_SYNC: 'true'
|
|
||||||
HEALING_PATCH_GRAPH_BATCH_SIZE: 500
|
|
||||||
volumes:
|
|
||||||
- ./config/delta-producer/organizations:/config
|
|
||||||
- ./data/files/:/share
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
- triplestore:virtuoso
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
delta-producer-json-diff-publisher-organizations:
|
|
||||||
image: lblod/delta-producer-json-diff-file-publisher:0.2.3
|
|
||||||
environment:
|
|
||||||
MAX_BODY_SIZE: "50mb"
|
|
||||||
ERROR_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
|
||||||
RELATIVE_FILE_PATH: "deltas/organizations"
|
|
||||||
PUBLISHER_URI: "http://data.lblod.info/services/delta-production-json-diff-file-manager/organizations"
|
|
||||||
PUBLICATION_GRAPH: 'http://redpencil.data.gift/id/deltas/producer/organizations'
|
|
||||||
DELTA_INTERVAL_MS: 10000
|
|
||||||
PRETTY_PRINT_DIFF_JSON: "true"
|
|
||||||
volumes:
|
|
||||||
- ./data/files:/share
|
|
||||||
labels:
|
|
||||||
- "logging=true"
|
|
||||||
links:
|
|
||||||
- db:database
|
|
||||||
restart: always
|
|
||||||
logging: *default-logging
|
|
||||||
################################################################################
|
|
||||||
# DELTA ORGANIZATIONS: END
|
|
||||||
################################################################################
|
|
||||||
|
|||||||
Reference in New Issue
Block a user