Compare commits
158 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef692cf6a8 | ||
|
|
064eda0526 | ||
|
|
ebb29eb075 | ||
|
|
a82cb06cc7 | ||
|
|
88461b00e5 | ||
|
|
6bd631fa23 | ||
|
|
b1f5dd09d6 | ||
|
|
956faa2d6f | ||
|
|
d0950575cc | ||
|
|
a2cb828361 | ||
|
|
e799bdac56 | ||
|
|
7532f0fd02 | ||
|
|
206a9a5a9e | ||
|
|
cd66d02e4f | ||
|
|
5dff7a2e20 | ||
|
|
ce52376765 | ||
|
|
5ee1ba43f4 | ||
|
|
0b98b25479 | ||
|
|
db7fe5ed4f | ||
|
|
e1209a5473 | ||
|
|
01968b3044 | ||
|
|
4a84555c77 | ||
|
|
86afcb6ea5 | ||
|
|
58110ad8e0 | ||
|
|
4f54ef476c | ||
|
|
44c5cc4f67 | ||
|
|
f064965f99 | ||
|
|
ec5d71531e | ||
|
|
9698aa9a96 | ||
|
|
ab12f4e15b | ||
|
|
d0473d35a2 | ||
|
|
09fbb2d06a | ||
|
|
3b6a5f8c44 | ||
|
|
7fb39574a9 | ||
|
|
a911ef47f7 | ||
|
|
ad9b67f176 | ||
|
|
2b43f46b35 | ||
|
|
1e71621299 | ||
|
|
d09badf9c7 | ||
|
|
157cfa0daa | ||
|
|
35e67b88ad | ||
|
|
448b422185 | ||
|
|
cbe72cd2d5 | ||
|
|
334dcd822e | ||
|
|
0e02373e90 | ||
|
|
ec86c3213a | ||
|
|
890ff66cf3 | ||
|
|
0b73421473 | ||
|
|
dbf5fce41e | ||
|
|
272ccc57bb | ||
|
|
5c7833e53f | ||
|
|
e744642b19 | ||
|
|
5a3243bb74 | ||
|
|
b3c064b04a | ||
|
|
df9a25210c | ||
|
|
b3da0aa1a7 | ||
|
|
cdd86d3665 | ||
|
|
01a110fcdf | ||
|
|
cd185f427e | ||
|
|
61deab8212 | ||
|
|
c552d76e14 | ||
|
|
94e8d8cf06 | ||
|
|
bfee6de5a9 | ||
|
|
a815bc5619 | ||
|
|
26de3401b4 | ||
|
|
313e8539dd | ||
|
|
11202a0b82 | ||
|
|
1941b09790 | ||
|
|
976c7b5478 | ||
|
|
ddc679b2d7 | ||
|
|
f6b2c963f3 | ||
|
|
2cb5576e58 | ||
|
|
88226a9038 | ||
|
|
2c6269d487 | ||
|
|
f8a5935004 | ||
|
|
cdf4417ca5 | ||
|
|
1f48744b62 | ||
|
|
5a318a99fe | ||
|
|
0ecbca52d2 | ||
|
|
e52d71682e | ||
|
|
3e14d92c29 | ||
|
|
3bcc53b0bc | ||
|
|
f36e2ba706 | ||
|
|
de2a143218 | ||
|
|
99644e7925 | ||
|
|
f41430b699 | ||
|
|
422e92a343 | ||
|
|
b5a7eb1755 | ||
|
|
a3478e997c | ||
|
|
7aa969c17b | ||
|
|
814a232bf8 | ||
|
|
2ec0184f25 | ||
|
|
4d7b448c70 | ||
|
|
7a5d097fd3 | ||
|
|
d58c4f1dde | ||
|
|
d2b13e291a | ||
|
|
40b12ef857 | ||
|
|
97fdd21d79 | ||
|
|
4dd33478d1 | ||
|
|
32175ef883 | ||
|
|
b3ea4a1958 | ||
|
|
7b84f0f28d | ||
|
|
f56d56d137 | ||
|
|
b41f35c90b | ||
|
|
9b67988b76 | ||
|
|
7438b38bae | ||
|
|
78f1bd0233 | ||
|
|
e1f73b4179 | ||
|
|
8b505d6fa8 | ||
|
|
59bdee66b1 | ||
|
|
f556d22fa0 | ||
|
|
4fd77859ef | ||
|
|
ad05fff3ba | ||
|
|
fed1fb8975 | ||
|
|
713ceb5f1a | ||
|
|
7ff0480faf | ||
|
|
3930b87237 | ||
|
|
1008af8c08 | ||
|
|
cbfe243b3e | ||
|
|
834897c0c2 | ||
|
|
f9b17ced4c | ||
|
|
a47c9c384d | ||
|
|
9a74e1e1ba | ||
|
|
4000c9a50f | ||
|
|
9e63016553 | ||
|
|
3541a5f66b | ||
|
|
566ec39d9a | ||
|
|
5b48852463 | ||
|
|
a44eab2e45 | ||
|
|
819c434f3d | ||
|
|
b5a7351189 | ||
|
|
3dc9b1a0b4 | ||
|
|
929dc59ee5 | ||
|
|
b6e1458d8a | ||
|
|
8c7ba7afec | ||
|
|
545622b972 | ||
|
|
13e7337574 | ||
|
|
48810caf68 | ||
|
|
fe7c0d2c0f | ||
|
|
2c26b0d25c | ||
|
|
97cc023be5 | ||
|
|
8d58d87a54 | ||
|
|
56c0583c62 | ||
|
|
ad919b1f0e | ||
|
|
abc5d9256c | ||
|
|
fb2fa6242f | ||
|
|
9e5d45adb9 | ||
|
|
c716667801 | ||
|
|
ed86245a2d | ||
|
|
567740ae86 | ||
|
|
0bf3dca9bf | ||
|
|
45a5dff52a | ||
|
|
e6a167c402 | ||
|
|
670c1591c6 | ||
|
|
478affc609 | ||
|
|
65f9ca1558 | ||
|
|
60ee996e36 | ||
|
|
52bc6e5d60 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -25,4 +25,6 @@ DS_STORE
|
||||
|
||||
source.json
|
||||
out.json
|
||||
security.yml
|
||||
security.yml
|
||||
config/proxy-https/proxy_ssl.conf
|
||||
/config/search/update-handler.store
|
||||
|
||||
43
README.md
43
README.md
@@ -1,6 +1,6 @@
|
||||
# Contact Hub
|
||||
# Organization portal
|
||||
|
||||
Backend for the Contact Hub application based on the mu.semte.ch microservices stack.
|
||||
Backend for the organization portal application, based on the mu.semte.ch microservices stack.
|
||||
|
||||
## How to
|
||||
|
||||
@@ -12,14 +12,37 @@ 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`.
|
||||
|
||||
|
||||
## Add username/password for Basic Auth
|
||||
### 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
|
||||
|
||||
By default, there are two accounts you can use to log-in using basic auth:
|
||||
#### producers administrative-units
|
||||
|
||||
- root/root
|
||||
- contacthub/contacthub
|
||||
|
||||
To add new accounts, execute the following command, then add the result to `./config/proxy/nginx.htpasswd`
|
||||
|
||||
`docker run --rm --entrypoint htpasswd registry:2.7.0 -bn username password`
|
||||
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>
|
||||
)
|
||||
)
|
||||
}
|
||||
```
|
||||
|
||||
@@ -9,6 +9,8 @@ alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup
|
||||
defmodule Acl.UserGroups.Config do
|
||||
@protected_resource_type [
|
||||
"http://www.w3.org/ns/org#Organization",
|
||||
"http://data.vlaanderen.be/ns/besluit#Besluit",
|
||||
"https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
|
||||
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
||||
"http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
|
||||
@@ -22,7 +24,6 @@ defmodule Acl.UserGroups.Config do
|
||||
"http://www.w3.org/ns/org#ChangeEvent",
|
||||
"http://data.lblod.info/vocabularies/erediensten/BetrokkenLokaleBesturen",
|
||||
"http://data.lblod.info/vocabularies/erediensten/VerbondenJuridischeStructuren",
|
||||
"http://www.w3.org/ns/prov#Location",
|
||||
"http://www.w3.org/ns/org#Site",
|
||||
"http://www.w3.org/ns/locn#Address",
|
||||
"http://www.w3.org/ns/person#Person",
|
||||
@@ -32,7 +33,7 @@ defmodule Acl.UserGroups.Config do
|
||||
"http://schema.org/ContactPoint",
|
||||
"http://data.lblod.info/vocabularies/leidinggevenden/Bestuursfunctie",
|
||||
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
||||
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
||||
"http://www.w3.org/ns/org#Role",
|
||||
"http://www.w3.org/ns/org#Post",
|
||||
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie",
|
||||
@@ -42,6 +43,7 @@ defmodule Acl.UserGroups.Config do
|
||||
"http://lblod.data.gift/vocabularies/organisatie/TypeEredienst",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/HelftVerkiezing",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/Veranderingsgebeurtenis",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/TypeBetrokkenheid",
|
||||
@@ -59,14 +61,15 @@ defmodule Acl.UserGroups.Config do
|
||||
]
|
||||
defp access_by_role( group_string ) do
|
||||
%AccessByQuery{
|
||||
vars: ["session_group","session_role"],
|
||||
# vars: ["session_group","session_role"], todo we might have to create multiple graph depending on role
|
||||
vars: [],
|
||||
query: sparql_query_for_access_role( group_string ) }
|
||||
end
|
||||
|
||||
defp sparql_query_for_access_role( group_string ) do
|
||||
"PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
SELECT ?session_group ?session_role WHERE {
|
||||
SELECT distinct ?session_group ?session_role WHERE {
|
||||
<SESSION_ID> ext:sessionGroup/mu:uuid ?session_group;
|
||||
ext:sessionRole ?session_role.
|
||||
FILTER( ?session_role = \"#{group_string}\" )
|
||||
@@ -76,48 +79,62 @@ defmodule Acl.UserGroups.Config do
|
||||
def user_groups do
|
||||
[
|
||||
%GroupSpec{
|
||||
name: "acmidm",
|
||||
useage: [:read, :write, :read_for_write],
|
||||
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: []
|
||||
},
|
||||
name: "acmidm-lezer",
|
||||
useage: [:read],
|
||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-lezer" ),
|
||||
graphs: [
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin",
|
||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: @protected_resource_type
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
%GroupSpec{
|
||||
name: "ch-admin",
|
||||
%GroupSpec{
|
||||
name: "acmidm-editeerder",
|
||||
useage: [:read, :write, :read_for_write],
|
||||
access: access_by_role( "ChAdmin" ),
|
||||
graphs: [ %GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/contacthub/",
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: @protected_resource_type } } ] },
|
||||
access: access_by_role( "ABBOrganisatiePortaalGebruiker-editeerder" ),
|
||||
graphs: [
|
||||
%GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/organisatieportaal",
|
||||
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{
|
||||
resource_types: @protected_resource_type
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
%GroupSpec{
|
||||
name: "public",
|
||||
useage: [:read],
|
||||
access: %AlwaysAccessible{},
|
||||
access: %AlwaysAccessible{},
|
||||
graphs: [ %GraphSpec{
|
||||
graph: "http://mu.semte.ch/graphs/public", # mock login only
|
||||
constraint: %ResourceConstraint{
|
||||
resource_types: [
|
||||
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||
"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"
|
||||
]
|
||||
} }]},
|
||||
|
||||
|
||||
# // CLEANUP
|
||||
#
|
||||
%GraphCleanup{
|
||||
|
||||
253
config/db/virtuoso-production.ini
Normal file
253
config/db/virtuoso-production.ini
Normal file
@@ -0,0 +1,253 @@
|
||||
;
|
||||
; virtuoso.ini
|
||||
;
|
||||
; Configuration file for the OpenLink Virtuoso VDBMS Server
|
||||
;
|
||||
; To learn more about this product, or any other product in our
|
||||
; portfolio, please check out our web site at:
|
||||
;
|
||||
; http://virtuoso.openlinksw.com/
|
||||
;
|
||||
; or contact us at:
|
||||
;
|
||||
; general.information@openlinksw.com
|
||||
;
|
||||
; If you have any technical questions, please contact our support
|
||||
; staff at:
|
||||
;
|
||||
; technical.support@openlinksw.com
|
||||
;
|
||||
;
|
||||
; Database setup
|
||||
;
|
||||
[Database]
|
||||
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.db
|
||||
ErrorLogFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.log
|
||||
LockFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.lck
|
||||
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.trx
|
||||
xa_persistent_file = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.pxa
|
||||
ErrorLogLevel = 7
|
||||
FileExtend = 200
|
||||
MaxCheckpointRemap = 17000 ;;niels 1/4 of the number of buffers (assuming db uses most of the available buffers, you can check with `status()` in isql-v
|
||||
Striping = 0
|
||||
TempStorage = TempDatabase
|
||||
Syslog = 1 ; write to syslog in case of failures where writing to log is not possible
|
||||
|
||||
[TempDatabase]
|
||||
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.db
|
||||
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.trx
|
||||
MaxCheckpointRemap = 2000
|
||||
Striping = 0
|
||||
|
||||
;
|
||||
; Server parameters
|
||||
;
|
||||
[Parameters]
|
||||
ServerPort = 1111
|
||||
LiteMode = 0
|
||||
DisableUnixSocket = 1
|
||||
DisableTcpSocket = 0
|
||||
;SSLServerPort = 2111
|
||||
;SSLCertificate = cert.pem
|
||||
;SSLPrivateKey = pk.pem
|
||||
;X509ClientVerify = 0
|
||||
;X509ClientVerifyDepth = 0
|
||||
;X509ClientVerifyCAFile = ca.pem
|
||||
MaxClientConnections = 10
|
||||
CheckpointInterval = 60
|
||||
TraceOn = errors ; write traces
|
||||
O_DIRECT = 0
|
||||
CaseMode = 2
|
||||
MaxStaticCursorRows = 5000
|
||||
CheckpointAuditTrail = 0
|
||||
AllowOSCalls = 0
|
||||
SchedulerInterval = 10
|
||||
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/vad
|
||||
ThreadCleanupInterval = 10
|
||||
ThreadThreshold = 10
|
||||
ResourcesCleanupInterval = 10
|
||||
FreeTextBatchSize = 100000
|
||||
SingleCPU = 0
|
||||
VADInstallDir = /usr/local/virtuoso-opensource/share/virtuoso/vad/
|
||||
PrefixResultNames = 0
|
||||
RdfFreeTextRulesSize = 100
|
||||
IndexTreeMaps = 256
|
||||
MaxMemPoolSize = 200000000
|
||||
PrefixResultNames = 0
|
||||
MacSpotlight = 0
|
||||
MaxQueryMem = 4G ; memory allocated to query processor ;;Niels said to 4g
|
||||
VectorSize = 1000 ; initial parallel query vector (array of query operations) size
|
||||
MaxVectorSize = 1000000 ; query vector size threshold.
|
||||
AdjustVectorSize = 0
|
||||
ThreadsPerQuery = 4
|
||||
AsyncQueueMaxThreads = 10
|
||||
TransactionAfterImageLimit = 150000000 ; max 150MB transaction, total transient consumption is 450MB (roll forward + roll back)
|
||||
;;
|
||||
;; When running with large data sets, one should configure the Virtuoso
|
||||
;; process to use between 2/3 to 3/5 of free system memory and to stripe
|
||||
;; storage on all available disks.
|
||||
;;
|
||||
;; Uncomment next two lines if there is 2 GB system memory free
|
||||
;;NumberOfBuffers = 170000
|
||||
;;MaxDirtyBuffers = 130000
|
||||
|
||||
;; Uncomment next two lines if there is 4 GB system memory free
|
||||
;;NumberOfBuffers = 340000
|
||||
;;MaxDirtyBuffers = 250000
|
||||
;; Uncomment next two lines if there is 8 GB system memory free
|
||||
NumberOfBuffers = 680000
|
||||
MaxDirtyBuffers = 500000
|
||||
;; Uncomment next two lines if there is 16 GB system memory free
|
||||
;NumberOfBuffers = 1360000
|
||||
;MaxDirtyBuffers = 1000000
|
||||
;; Uncomment next two lines if there is 32 GB system memory free
|
||||
;NumberOfBuffers = 2720000
|
||||
;MaxDirtyBuffers = 2000000
|
||||
;; Uncomment next two lines if there is 48 GB system memory free
|
||||
;NumberOfBuffers = 4000000
|
||||
;MaxDirtyBuffers = 3000000
|
||||
;; Uncomment next two lines if there is 64 GB system memory free
|
||||
;NumberOfBuffers = 5450000
|
||||
;MaxDirtyBuffers = 4000000
|
||||
;;
|
||||
;; Note the default settings will take very little memory
|
||||
;; but will not result in very good performance
|
||||
;;
|
||||
;NumberOfBuffers = 10000
|
||||
;MaxDirtyBuffers = 6000
|
||||
|
||||
;; Introduced after bug with export service
|
||||
MaxSortedTopRows = 1000000 ; 1 million!
|
||||
|
||||
[HTTPServer]
|
||||
ServerPort = 8890
|
||||
ServerRoot = /usr/local/virtuoso-opensource/var/lib/virtuoso/vsp
|
||||
MaxClientConnections = 10
|
||||
DavRoot = DAV
|
||||
EnabledDavVSP = 0
|
||||
HTTPProxyEnabled = 0
|
||||
TempASPXDir = 0
|
||||
DefaultMailServer = localhost:25
|
||||
ServerThreads = 10
|
||||
MaxKeepAlives = 10
|
||||
KeepAliveTimeout = 10
|
||||
MaxCachedProxyConnections = 10
|
||||
ProxyConnectionCacheTimeout = 15
|
||||
HTTPThreadSize = 280000
|
||||
HttpPrintWarningsInOutput = 0
|
||||
Charset = UTF-8
|
||||
;;HTTPLogFile = http.log
|
||||
MaintenancePage = atomic.html
|
||||
EnabledGzipContent = 1
|
||||
|
||||
[AutoRepair]
|
||||
BadParentLinks = 0
|
||||
|
||||
[Client]
|
||||
SQL_PREFETCH_ROWS = 100
|
||||
SQL_PREFETCH_BYTES = 16000
|
||||
SQL_QUERY_TIMEOUT = 0
|
||||
SQL_TXN_TIMEOUT = 0
|
||||
;SQL_NO_CHAR_C_ESCAPE = 1
|
||||
;SQL_UTF8_EXECS = 0
|
||||
;SQL_NO_SYSTEM_TABLES = 0
|
||||
;SQL_BINARY_TIMESTAMP = 1
|
||||
;SQL_ENCRYPTION_ON_PASSWORD = -1
|
||||
|
||||
[VDB]
|
||||
ArrayOptimization = 0
|
||||
NumArrayParameters = 10
|
||||
VDBDisconnectTimeout = 1000
|
||||
KeepConnectionOnFixedThread = 0
|
||||
|
||||
[Replication]
|
||||
ServerName = db-D602566B774E
|
||||
ServerEnable = 1
|
||||
QueueMax = 50000
|
||||
|
||||
;
|
||||
; Striping setup
|
||||
;
|
||||
; These parameters have only effect when Striping is set to 1 in the
|
||||
; [Database] section, in which case the DatabaseFile parameter is ignored.
|
||||
;
|
||||
; With striping, the database is spawned across multiple segments
|
||||
; where each segment can have multiple stripes.
|
||||
;
|
||||
; Format of the lines below:
|
||||
; Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ]
|
||||
;
|
||||
; <number> must be ordered from 1 up.
|
||||
;
|
||||
; The <size> is the total size of the segment which is equally divided
|
||||
; across all stripes forming the segment. Its specification can be in
|
||||
; gigabytes (g), megabytes (m), kilobytes (k) or in database blocks
|
||||
; (b, the default)
|
||||
;
|
||||
; Note that the segment size must be a multiple of the database page size
|
||||
; which is currently 8k. Also, the segment size must be divisible by the
|
||||
; number of stripe files forming the segment.
|
||||
;
|
||||
; The example below creates a 200 meg database striped on two segments
|
||||
; with two stripes of 50 meg and one of 100 meg.
|
||||
;
|
||||
; You can always add more segments to the configuration, but once
|
||||
; added, do not change the setup.
|
||||
;
|
||||
[Striping]
|
||||
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
|
||||
Segment2 = 100M, db-seg2-1.db
|
||||
;...
|
||||
;[TempStriping]
|
||||
;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
|
||||
;Segment2 = 100M, db-seg2-1.db
|
||||
;...
|
||||
;[Ucms]
|
||||
;UcmPath = <path>
|
||||
;Ucm1 = <file>
|
||||
;Ucm2 = <file>
|
||||
;...
|
||||
|
||||
[Zero Config]
|
||||
ServerName = virtuoso (D602566B774E)
|
||||
;ServerDSN = ZDSN
|
||||
;SSLServerName =
|
||||
;SSLServerDSN =
|
||||
|
||||
[Mono]
|
||||
;MONO_TRACE = Off
|
||||
;MONO_PATH = <path_here>
|
||||
;MONO_ROOT = <path_here>
|
||||
;MONO_CFG_DIR = <path_here>
|
||||
;virtclr.dll =
|
||||
|
||||
[URIQA]
|
||||
DynamicLocal = 0
|
||||
DefaultHost = localhost:8890
|
||||
|
||||
[SPARQL]
|
||||
;ExternalQuerySource = 1
|
||||
;ExternalXsltSource = 1
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 1000000 ; 1 million
|
||||
;MaxQueryCostEstimationTime = 4000 ; in seconds
|
||||
MaxQueryExecutionTime = 1200 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
[Plugins]
|
||||
LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
|
||||
;Load1 = plain, wikiv
|
||||
;Load2 = plain, mediawiki
|
||||
;Load3 = plain, creolewiki
|
||||
;Load4 = plain, im
|
||||
;Load5 = plain, wbxml2
|
||||
;Load6 = plain, hslookup
|
||||
;Load7 = attach, libphp5.so
|
||||
;Load8 = Hosting, hosting_php.so
|
||||
;Load9 = Hosting,hosting_perl.so
|
||||
;Load10 = Hosting,hosting_python.so
|
||||
;Load11 = Hosting,hosting_ruby.so
|
||||
;Load12 = msdtc,msdtc_sample
|
||||
@@ -17,85 +17,83 @@
|
||||
;
|
||||
; technical.support@openlinksw.com
|
||||
;
|
||||
|
||||
;
|
||||
; Database setup
|
||||
;
|
||||
[Database]
|
||||
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.db
|
||||
ErrorLogFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.log
|
||||
LockFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.lck
|
||||
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.trx
|
||||
xa_persistent_file = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.pxa
|
||||
ErrorLogLevel = 7
|
||||
FileExtend = 200
|
||||
MaxCheckpointRemap = 2000
|
||||
Striping = 0
|
||||
TempStorage = TempDatabase
|
||||
|
||||
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.db
|
||||
ErrorLogFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.log
|
||||
LockFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.lck
|
||||
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.trx
|
||||
xa_persistent_file = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.pxa
|
||||
ErrorLogLevel = 7
|
||||
FileExtend = 200
|
||||
MaxCheckpointRemap = 8500 ;;niels 1/4 of the number of buffers (assuming db uses most of the available buffers, you can check with `status()` in isql-v
|
||||
Striping = 0
|
||||
TempStorage = TempDatabase
|
||||
Syslog = 1 ; write to syslog in case of failures where writing to log is not possible
|
||||
|
||||
[TempDatabase]
|
||||
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.db
|
||||
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.trx
|
||||
MaxCheckpointRemap = 2000
|
||||
Striping = 0
|
||||
|
||||
DatabaseFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.db
|
||||
TransactionFile = /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso-temp.trx
|
||||
MaxCheckpointRemap = 2000
|
||||
Striping = 0
|
||||
|
||||
;
|
||||
; Server parameters
|
||||
;
|
||||
[Parameters]
|
||||
ServerPort = 1111
|
||||
LiteMode = 0
|
||||
DisableUnixSocket = 1
|
||||
DisableTcpSocket = 0
|
||||
ServerPort = 1111
|
||||
LiteMode = 0
|
||||
DisableUnixSocket = 1
|
||||
DisableTcpSocket = 0
|
||||
;SSLServerPort = 2111
|
||||
;SSLCertificate = cert.pem
|
||||
;SSLPrivateKey = pk.pem
|
||||
;X509ClientVerify = 0
|
||||
;X509ClientVerifyDepth = 0
|
||||
;X509ClientVerifyCAFile = ca.pem
|
||||
MaxClientConnections = 10
|
||||
CheckpointInterval = 60
|
||||
O_DIRECT = 0
|
||||
TraceOn = errors ; log errors
|
||||
MaxClientConnections = 10
|
||||
CheckpointInterval = 60
|
||||
TraceOn = errors ; write traces
|
||||
O_DIRECT = 0
|
||||
CaseMode = 2
|
||||
MaxStaticCursorRows = 5000
|
||||
CheckpointAuditTrail = 0
|
||||
AllowOSCalls = 0
|
||||
SchedulerInterval = 10
|
||||
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/vad
|
||||
ThreadCleanupInterval = 10
|
||||
ThreadThreshold = 10
|
||||
ResourcesCleanupInterval = 10
|
||||
FreeTextBatchSize = 100000
|
||||
SingleCPU = 0
|
||||
VADInstallDir = /usr/local/virtuoso-opensource/share/virtuoso/vad/
|
||||
PrefixResultNames = 0
|
||||
RdfFreeTextRulesSize = 100
|
||||
IndexTreeMaps = 256
|
||||
MaxMemPoolSize = 200000000
|
||||
PrefixResultNames = 0
|
||||
MacSpotlight = 0
|
||||
MaxQueryMem = 2G
|
||||
VectorSize = 1000 ; initial parallel query vector (array of query operations) size
|
||||
MaxVectorSize = 1000000 ; query vector size threshold.
|
||||
AdjustVectorSize = 0
|
||||
ThreadsPerQuery = 4
|
||||
AsyncQueueMaxThreads = 10
|
||||
TransactionAfterImageLimit = 150000000 ; max 150MB transaction, total transient consumption is 450MB (roll forward + roll back)
|
||||
CaseMode = 2
|
||||
MaxStaticCursorRows = 5000
|
||||
CheckpointAuditTrail = 0
|
||||
AllowOSCalls = 0
|
||||
SchedulerInterval = 10
|
||||
DirsAllowed = ., /usr/local/virtuoso-opensource/share/virtuoso/vad
|
||||
ThreadCleanupInterval = 10
|
||||
ThreadThreshold = 10
|
||||
ResourcesCleanupInterval = 10
|
||||
FreeTextBatchSize = 100000
|
||||
SingleCPU = 0
|
||||
VADInstallDir = /usr/local/virtuoso-opensource/share/virtuoso/vad/
|
||||
PrefixResultNames = 0
|
||||
RdfFreeTextRulesSize = 100
|
||||
IndexTreeMaps = 256
|
||||
MaxMemPoolSize = 200000000
|
||||
PrefixResultNames = 0
|
||||
MacSpotlight = 0
|
||||
IndexTreeMaps = 64
|
||||
MaxQueryMem = 2G ; memory allocated to query processor
|
||||
VectorSize = 1000 ; initial parallel query vector (array of query operations) size
|
||||
MaxVectorSize = 1000000 ; query vector size threshold.
|
||||
AdjustVectorSize = 1
|
||||
ThreadsPerQuery = 4
|
||||
AsyncQueueMaxThreads = 10
|
||||
;;
|
||||
;; When running with large data sets, one should configure the Virtuoso
|
||||
;; process to use between 2/3 to 3/5 of free system memory and to stripe
|
||||
;; storage on all available disks.
|
||||
;;
|
||||
;; Uncomment next two lines if there is 2 GB system memory free
|
||||
NumberOfBuffers = 170000
|
||||
MaxDirtyBuffers = 130000
|
||||
;;NumberOfBuffers = 170000
|
||||
;;MaxDirtyBuffers = 130000
|
||||
|
||||
;; Uncomment next two lines if there is 4 GB system memory free
|
||||
;NumberOfBuffers = 340000
|
||||
; MaxDirtyBuffers = 250000
|
||||
NumberOfBuffers = 340000
|
||||
MaxDirtyBuffers = 250000
|
||||
;; Uncomment next two lines if there is 8 GB system memory free
|
||||
;NumberOfBuffers = 680000
|
||||
;MaxDirtyBuffers = 500000
|
||||
@@ -111,38 +109,45 @@ MaxDirtyBuffers = 130000
|
||||
;; Uncomment next two lines if there is 64 GB system memory free
|
||||
;NumberOfBuffers = 5450000
|
||||
;MaxDirtyBuffers = 4000000
|
||||
;;
|
||||
;; Note the default settings will take very little memory
|
||||
;; but will not result in very good performance
|
||||
;;
|
||||
;NumberOfBuffers = 10000
|
||||
;MaxDirtyBuffers = 6000
|
||||
|
||||
;; Introduced after bug with export service
|
||||
MaxSortedTopRows = 1000000 ; 1 million!
|
||||
|
||||
[HTTPServer]
|
||||
ServerPort = 8890
|
||||
ServerRoot = /usr/local/virtuoso-opensource/var/lib/virtuoso/vsp
|
||||
MaxClientConnections = 10
|
||||
DavRoot = DAV
|
||||
EnabledDavVSP = 0
|
||||
HTTPProxyEnabled = 0
|
||||
TempASPXDir = 0
|
||||
DefaultMailServer = localhost:25
|
||||
ServerThreads = 10
|
||||
MaxKeepAlives = 10
|
||||
KeepAliveTimeout = 10
|
||||
MaxCachedProxyConnections = 10
|
||||
ProxyConnectionCacheTimeout = 15
|
||||
HTTPThreadSize = 280000
|
||||
HttpPrintWarningsInOutput = 0
|
||||
Charset = UTF-8
|
||||
;;HTTPLogFile = http.log
|
||||
MaintenancePage = atomic.html
|
||||
EnabledGzipContent = 1
|
||||
|
||||
ServerPort = 8890
|
||||
ServerRoot = /usr/local/virtuoso-opensource/var/lib/virtuoso/vsp
|
||||
MaxClientConnections = 10
|
||||
DavRoot = DAV
|
||||
EnabledDavVSP = 0
|
||||
HTTPProxyEnabled = 0
|
||||
TempASPXDir = 0
|
||||
DefaultMailServer = localhost:25
|
||||
ServerThreads = 10
|
||||
MaxKeepAlives = 10
|
||||
KeepAliveTimeout = 10
|
||||
MaxCachedProxyConnections = 10
|
||||
ProxyConnectionCacheTimeout = 15
|
||||
HTTPThreadSize = 280000
|
||||
HttpPrintWarningsInOutput = 0
|
||||
Charset = UTF-8
|
||||
;;HTTPLogFile = http.log
|
||||
MaintenancePage = atomic.html
|
||||
EnabledGzipContent = 1
|
||||
|
||||
[AutoRepair]
|
||||
BadParentLinks = 0
|
||||
BadParentLinks = 0
|
||||
|
||||
[Client]
|
||||
SQL_PREFETCH_ROWS = 100
|
||||
SQL_PREFETCH_BYTES = 16000
|
||||
SQL_QUERY_TIMEOUT = 0
|
||||
SQL_TXN_TIMEOUT = 0
|
||||
SQL_PREFETCH_ROWS = 100
|
||||
SQL_PREFETCH_BYTES = 16000
|
||||
SQL_QUERY_TIMEOUT = 0
|
||||
SQL_TXN_TIMEOUT = 0
|
||||
;SQL_NO_CHAR_C_ESCAPE = 1
|
||||
;SQL_UTF8_EXECS = 0
|
||||
;SQL_NO_SYSTEM_TABLES = 0
|
||||
@@ -150,16 +155,15 @@ SQL_TXN_TIMEOUT = 0
|
||||
;SQL_ENCRYPTION_ON_PASSWORD = -1
|
||||
|
||||
[VDB]
|
||||
ArrayOptimization = 0
|
||||
NumArrayParameters = 10
|
||||
VDBDisconnectTimeout = 1000
|
||||
KeepConnectionOnFixedThread = 0
|
||||
ArrayOptimization = 0
|
||||
NumArrayParameters = 10
|
||||
VDBDisconnectTimeout = 1000
|
||||
KeepConnectionOnFixedThread = 0
|
||||
|
||||
[Replication]
|
||||
ServerName = db-D602566B774E
|
||||
ServerEnable = 1
|
||||
QueueMax = 50000
|
||||
|
||||
ServerName = db-D602566B774E
|
||||
ServerEnable = 1
|
||||
QueueMax = 50000
|
||||
|
||||
;
|
||||
; Striping setup
|
||||
@@ -191,28 +195,24 @@ QueueMax = 50000
|
||||
; added, do not change the setup.
|
||||
;
|
||||
[Striping]
|
||||
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
|
||||
Segment2 = 100M, db-seg2-1.db
|
||||
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
|
||||
Segment2 = 100M, db-seg2-1.db
|
||||
;...
|
||||
|
||||
;[TempStriping]
|
||||
;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
|
||||
;Segment2 = 100M, db-seg2-1.db
|
||||
;...
|
||||
|
||||
;[Ucms]
|
||||
;UcmPath = <path>
|
||||
;Ucm1 = <file>
|
||||
;Ucm2 = <file>
|
||||
;...
|
||||
|
||||
|
||||
[Zero Config]
|
||||
ServerName = virtuoso (D602566B774E)
|
||||
ServerName = virtuoso (D602566B774E)
|
||||
;ServerDSN = ZDSN
|
||||
;SSLServerName =
|
||||
;SSLServerDSN =
|
||||
|
||||
;SSLServerName =
|
||||
;SSLServerDSN =
|
||||
|
||||
[Mono]
|
||||
;MONO_TRACE = Off
|
||||
@@ -221,31 +221,28 @@ ServerName = virtuoso (D602566B774E)
|
||||
;MONO_CFG_DIR = <path_here>
|
||||
;virtclr.dll =
|
||||
|
||||
|
||||
[URIQA]
|
||||
DynamicLocal = 0
|
||||
DefaultHost = localhost:8890
|
||||
|
||||
DynamicLocal = 0
|
||||
DefaultHost = localhost:8890
|
||||
|
||||
[SPARQL]
|
||||
;ExternalQuerySource = 1
|
||||
;ExternalXsltSource = 1
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 10000
|
||||
MaxQueryCostEstimationTime = 400 ; in seconds
|
||||
MaxQueryExecutionTime = 60 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
;ExternalXsltSource = 1
|
||||
;DefaultGraph = http://localhost:8890/dataspace
|
||||
;ImmutableGraphs = http://localhost:8890/dataspace
|
||||
ResultSetMaxRows = 1000000 ; 1 million
|
||||
;MaxQueryCostEstimationTime = 4000 ; in seconds
|
||||
MaxQueryExecutionTime = 1200 ; in seconds
|
||||
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
|
||||
DeferInferenceRulesInit = 0 ; controls inference rules loading
|
||||
;PingService = http://rpc.pingthesemanticweb.com/
|
||||
|
||||
[Plugins]
|
||||
LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
|
||||
LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
|
||||
;Load1 = plain, wikiv
|
||||
;Load2 = plain, mediawiki
|
||||
;Load3 = plain, creolewiki
|
||||
;Load4 = plain, im
|
||||
;Load4 = plain, im
|
||||
;Load5 = plain, wbxml2
|
||||
;Load6 = plain, hslookup
|
||||
;Load7 = attach, libphp5.so
|
||||
@@ -253,4 +250,4 @@ LoadPath = /usr/local/virtuoso-opensource/lib/virtuoso/hosting
|
||||
;Load9 = Hosting,hosting_perl.so
|
||||
;Load10 = Hosting,hosting_python.so
|
||||
;Load11 = Hosting,hosting_ruby.so
|
||||
;Load12 = msdtc,msdtc_sample
|
||||
;Load12 = msdtc,msdtc_sample
|
||||
54
config/delta-producer/administrative-units/export.json
Normal file
54
config/delta-producer/administrative-units/export.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
22
config/delta-producer/dump-file-publisher/config.json
Normal file
22
config/delta-producer/dump-file-publisher/config.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
410
config/delta-producer/organizations/export.json
Normal file
410
config/delta-producer/organizations/export.json
Normal file
@@ -0,0 +1,410 @@
|
||||
{
|
||||
"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://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,16 +1,129 @@
|
||||
export default [
|
||||
{
|
||||
match: {
|
||||
subject: {
|
||||
}
|
||||
},
|
||||
callback: {
|
||||
url: "http://kalliope-api/delta", method: "POST"
|
||||
},
|
||||
options: {
|
||||
resourceFormat: "v0.0.1",
|
||||
gracePeriod: 1000,
|
||||
ignoreFromSelf: true
|
||||
{
|
||||
match: {
|
||||
graph: {
|
||||
type: "uri",
|
||||
value: "http://mu.semte.ch/graphs/organisatieportaal"
|
||||
}
|
||||
},
|
||||
callback: {
|
||||
url: 'http://search/update',
|
||||
method: 'POST'
|
||||
},
|
||||
options: {
|
||||
resourceFormat: "v0.0.1",
|
||||
gracePeriod: 10000,
|
||||
ignoreFromSelf: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
match: {
|
||||
predicate: {
|
||||
type: 'uri',
|
||||
value: 'http://www.w3.org/ns/adms#status'
|
||||
}
|
||||
},
|
||||
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: {
|
||||
type: 'uri',
|
||||
value: 'http://redpencil.data.gift/id/concept/JobStatus/scheduled'
|
||||
}
|
||||
},
|
||||
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" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -42,6 +42,7 @@ DELETE {
|
||||
?address adres:gemeentenaam ?gemeente_s.
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?g { <http://mu.semte.ch/graphs/organisatieportaal> <http://redpencil.data.gift/id/deltas/producer/organizations>}
|
||||
GRAPH ?g {
|
||||
BIND("REPLACE_ME_WITH_A_RANDOM_STRING" AS ?salt).
|
||||
?person a person:Person.
|
||||
@@ -0,0 +1 @@
|
||||
http://mu.semte.ch/graphs/organisatieportaal
|
||||
250
config/dev-migrations/20211209101400-mock-change-events.ttl
Normal file
250
config/dev-migrations/20211209101400-mock-change-events.ttl
Normal file
@@ -0,0 +1,250 @@
|
||||
# Notes:
|
||||
# - current implementation has too many CE's.
|
||||
# <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> : Actief
|
||||
# <http://lblod.data.gift/concepts/abf4fee82019f88cf122f986830621ab> In oprichting
|
||||
# <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> Niet Actief
|
||||
|
||||
#<http://lblod.data.gift/concepts/343a00884d012cee6915bc7559cd69ef>
|
||||
# skos:prefLabel "Erkenning niet toegekend" .
|
||||
#<http://lblod.data.gift/concepts/6651dc69b0ae8f7ff9974e8a23db1dec>
|
||||
# skos:prefLabel "Naamswijziging" .
|
||||
#<http://lblod.data.gift/concepts/3dd7550843eaf18e1fa1ca6c6c3f2610>
|
||||
# skos:prefLabel "Erkenning toegekend" .
|
||||
#<http://lblod.data.gift/concepts/4297bc56c1a874240e4566e2c5b8816f>
|
||||
# skos:prefLabel "Erkenning opgeheven" .
|
||||
#concepts:d7bbc0ea17fccf7ea35c552d757c905f
|
||||
# skos:prefLabel "Samenvoeging" .
|
||||
#<http://lblod.data.gift/concepts/9f19f14910245f9b14737f1f1a2067f2>
|
||||
# skos:prefLabel "Wijziging Gebiedsomschrijving" .
|
||||
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||
PREFIX dct: <http://purl.org/dc/terms/>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX concepts: <http://lblod.data.gift/concepts/>
|
||||
PREFIX bestuur: <http://data.lblod.info/id/besturenVanDeEredienst/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX contacthub: <http://data.lblod.info/vocabularies/contacthub/>
|
||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||
PREFIX ce: <http://data.lblod.info/id/veranderingsgebeurtenissen/>
|
||||
PREFIX cer: <http://data.lblod.info/id/veranderingsgebeurtenis-resultaten/>
|
||||
PREFIX m8g: <http://data.europa.eu/m8g/>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
PREFIX eli: <http://data.europa.eu/eli/ontology#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
#code is a weird prefix but that's how it's called in the domain.json file so I reused it
|
||||
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
|
||||
|
||||
|
||||
# Extende CE for ZWALM: merger of many kerkraden
|
||||
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440a8b51d1435fedd5b05fa>
|
||||
rdf:type org:ChangeEvent ;
|
||||
contacthub:typeWijziging concepts:d7bbc0ea17fccf7ea35c552d757c905f ; # Samenvoeging
|
||||
org:resultingOrganization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d ;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_1;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_2;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_3;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_4;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_5;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_6;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_7;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_8;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_9;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_10;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_11;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_12;
|
||||
org:originalOrganization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d;
|
||||
org:originalOrganization bestuur:6b910ac3244fb94f6ff2574cd5c91df0;
|
||||
org:originalOrganization bestuur:cace83d9d7b40b310b43defd0acb9da5;
|
||||
org:originalOrganization bestuur:3eb0946f3c30eeec932be0cccba15645;
|
||||
org:originalOrganization bestuur:750db3adf47c16061911818dcbefacc2;
|
||||
org:originalOrganization bestuur:3c8596af2a8aa4d11a6dcc0d32993c7a;
|
||||
org:originalOrganization bestuur:57137d40d46aeb342b89ae2d50b127c3;
|
||||
org:originalOrganization bestuur:9a1ca4b0731d15b683d116fef02f0f9e;
|
||||
org:originalOrganization bestuur:10ccaccbbfcd79c5fad7fbd3747221a1;
|
||||
org:originalOrganization bestuur:a6451f9c7503c2b7c56898fe12e97993;
|
||||
org:originalOrganization bestuur:bbd46776125da4bd88e82e879863bbd6;
|
||||
org:originalOrganization bestuur:edca1c6822af59d219d3652bd749f7fb;
|
||||
dct:date "2019-07-15T00:00:00"^^xsd:dateTime ;
|
||||
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/f2ec4db3-6154-41b4-a5be-e0bc129e98d7>;
|
||||
dct:description "Opheffing 11 parochies, allen samengevoegd bij de parochie Alle Heiligen Nederzwalm - MB 15 juli 2019" .
|
||||
|
||||
<http://lblod.data.info/id/besluiten/f2ec4db3-6154-41b4-a5be-e0bc129e98d7>
|
||||
a besluit:Besluit;
|
||||
mu:uuid "f2ec4db3-6154-41b4-a5be-e0bc129e98d7";
|
||||
eli:date_publication "2019-07-14T00:00:00"^^xsd:dateTime;
|
||||
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_1
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_1";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
|
||||
org:organization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_2
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_2";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:6b910ac3244fb94f6ff2574cd5c91df0 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_3
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_3";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:cace83d9d7b40b310b43defd0acb9da5 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_4
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_4";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:3eb0946f3c30eeec932be0cccba15645 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_5
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_5";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:750db3adf47c16061911818dcbefacc2 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_6
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_6";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:3c8596af2a8aa4d11a6dcc0d32993c7a .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_7
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_7";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:57137d40d46aeb342b89ae2d50b127c3 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_8
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_8";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:9a1ca4b0731d15b683d116fef02f0f9e .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_9
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_9";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:10ccaccbbfcd79c5fad7fbd3747221a1 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_10
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_10";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:a6451f9c7503c2b7c56898fe12e97993 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_11
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_11";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:bbd46776125da4bd88e82e879863bbd6 .
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_12
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_12";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311>; #Niet Actief
|
||||
org:organization bestuur:edca1c6822af59d219d3652bd749f7fb .
|
||||
|
||||
|
||||
# Dummy naamsverandering
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_A>
|
||||
rdf:type org:ChangeEvent ;
|
||||
mu:uuid "3940cca35440_DUMMY_CE_A" ;
|
||||
contacthub:typeWijziging concepts:6651dc69b0ae8f7ff9974e8a23db1dec ; # Naamswijziging
|
||||
org:resultingOrganization bestuur:edca1c6822af59d219d3652bd749f7fb ;
|
||||
dct:date "2010-01-01T00:00:00"^^xsd:dateTime ;
|
||||
dct:description "Dummy CE de parochie previously known as something else" ;
|
||||
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/db80b68d-c858-4c75-ae27-92b9125881c4>;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_A.
|
||||
|
||||
<http://lblod.data.info/id/besluiten/db80b68d-c858-4c75-ae27-92b9125881c4>
|
||||
a besluit:Besluit;
|
||||
mu:uuid "db80b68d-c858-4c75-ae27-92b9125881c4";
|
||||
eli:date_publication "2010-01-01T00:00:00"^^xsd:dateTime;
|
||||
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_A
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_A";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
|
||||
org:organization bestuur:edca1c6822af59d219d3652bd749f7fb .
|
||||
|
||||
|
||||
#Dummy erkenningen
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_B>
|
||||
rdf:type org:ChangeEvent ;
|
||||
mu:uuid "3940cca35440_DUMMY_CE_B" ;
|
||||
contacthub:typeWijziging concepts:3dd7550843eaf18e1fa1ca6c6c3f2610 ; # Erkenning Toegekend
|
||||
org:resultingOrganization bestuur:edca1c6822af59d219d3652bd749f7fb ;
|
||||
dct:date "2000-01-01T00:00:00"^^xsd:dateTime ;
|
||||
dct:description "Dummy CE erkenning toegekend (1)" ;
|
||||
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/7151e2ca-21f9-42a9-a657-0bbab6aeec7d>;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_B.
|
||||
|
||||
<http://lblod.data.info/id/besluiten/7151e2ca-21f9-42a9-a657-0bbab6aeec7d>
|
||||
a besluit:Besluit;
|
||||
mu:uuid "7151e2ca-21f9-42a9-a657-0bbab6aeec7d";
|
||||
eli:date_publication "2000-01-01T00:00:00"^^xsd:dateTime;
|
||||
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_B
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_B";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
|
||||
org:organization bestuur:edca1c6822af59d219d3652bd749f7fb .
|
||||
|
||||
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_C>
|
||||
rdf:type org:ChangeEvent ;
|
||||
mu:uuid "3940cca35440_DUMMY_CE_C" ;
|
||||
contacthub:typeWijziging concepts:3dd7550843eaf18e1fa1ca6c6c3f2610 ; # Erkenning Toegekend
|
||||
org:resultingOrganization bestuur:bbd46776125da4bd88e82e879863bbd6 ;
|
||||
dct:date "2001-01-01T00:00:00"^^xsd:dateTime ;
|
||||
dct:description "Dummy CE erkenning toegekend (2)";
|
||||
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/3e9b2e03-2888-4397-a2df-bc5a240accc1>;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_C.
|
||||
|
||||
<http://lblod.data.info/id/besluiten/3e9b2e03-2888-4397-a2df-bc5a240accc1>
|
||||
a besluit:Besluit;
|
||||
mu:uuid "3e9b2e03-2888-4397-a2df-bc5a240accc1";
|
||||
eli:date_publication "2001-01-01T00:00:00"^^xsd:dateTime;
|
||||
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_C
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_C";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
|
||||
org:organization bestuur:bbd46776125da4bd88e82e879863bbd6 .
|
||||
|
||||
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/3940cca35440_DUMMY_CE_D>
|
||||
rdf:type org:ChangeEvent ;
|
||||
mu:uuid "3940cca35440_DUMMY_CE_D" ;
|
||||
contacthub:typeWijziging concepts:3dd7550843eaf18e1fa1ca6c6c3f2610 ; # Erkenning Toegekend
|
||||
org:resultingOrganization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d ;
|
||||
dct:date "2002-01-01T00:00:00"^^xsd:dateTime ;
|
||||
dct:description "Dummy CE erkenning toegekend (3)";
|
||||
m8g:hasFormalFramework <http://lblod.data.info/id/besluiten/e09c3d9e-9230-4a13-9ba7-83cf1a055a05>;
|
||||
code:veranderingsgebeurtenisResultaat cer:71879559ac2045499def_DUMMY_CER_D.
|
||||
|
||||
<http://lblod.data.info/id/besluiten/e09c3d9e-9230-4a13-9ba7-83cf1a055a05>
|
||||
a besluit:Besluit;
|
||||
mu:uuid "e09c3d9e-9230-4a13-9ba7-83cf1a055a05";
|
||||
eli:date_publication "2002-01-01T00:00:00"^^xsd:dateTime;
|
||||
foaf:page "https://www.vlaanderen.be/agentschap-binnenlands-bestuur".
|
||||
|
||||
cer:71879559ac2045499def_DUMMY_CER_D
|
||||
a code:VeranderingsgebeurtenisResultaat;
|
||||
mu:uuid "71879559ac2045499def_DUMMY_CER_D";
|
||||
code:resulterendeStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6>; #Actief
|
||||
org:organization bestuur:dc32dbe8d1f85999cd39a5c9893a9c7d .
|
||||
@@ -5,6 +5,7 @@ defmodule Dispatcher do
|
||||
html: ["text/html", "application/xhtml+html"],
|
||||
json: ["application/json", "application/vnd.api+json"],
|
||||
upload: ["multipart/form-data"],
|
||||
sparql_json: ["application/sparql-results+json"],
|
||||
any: [ "*/*" ],
|
||||
]
|
||||
|
||||
@@ -74,7 +75,7 @@ defmodule Dispatcher do
|
||||
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/worship-administrative-units/"
|
||||
end
|
||||
|
||||
|
||||
match "/worship-services/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/worship-services/"
|
||||
end
|
||||
@@ -125,14 +126,14 @@ defmodule Dispatcher do
|
||||
|
||||
match "/change-event-types/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/change-event-types/"
|
||||
end
|
||||
end
|
||||
|
||||
match "/change-event-results/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/change-event-results/"
|
||||
end
|
||||
|
||||
match "/organization-status-codes/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/organization-status-codes/"
|
||||
end
|
||||
|
||||
match "/locations/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/locations/"
|
||||
end
|
||||
|
||||
match "/involvement-types/*path", %{ accept: [:json], layer: :api} do
|
||||
@@ -141,19 +142,15 @@ defmodule Dispatcher do
|
||||
|
||||
match "/ministers/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/ministers/"
|
||||
end
|
||||
end
|
||||
|
||||
match "/minister-conditions/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/minister-conditions/"
|
||||
end
|
||||
|
||||
match "/associated-legal-structures/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/associated-legal-structures/"
|
||||
end
|
||||
end
|
||||
|
||||
match "/dates-of-birth/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/dates-of-birth/"
|
||||
end
|
||||
end
|
||||
|
||||
match "/nationalities/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/nationalities/"
|
||||
@@ -162,6 +159,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/"
|
||||
@@ -179,18 +179,25 @@ defmodule Dispatcher do
|
||||
Proxy.forward conn, path, "http://cache/minister-condition-criterions/"
|
||||
end
|
||||
|
||||
match "/legal-form-types/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/legal-form-types/"
|
||||
end
|
||||
|
||||
match "/document-types-criterions/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/document-types-criterions/"
|
||||
end
|
||||
end
|
||||
|
||||
match "/site-types/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/site-types/"
|
||||
end
|
||||
|
||||
|
||||
match "/request-reasons/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/request-reasons/"
|
||||
end
|
||||
|
||||
match "/decisions/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/decisions/"
|
||||
end
|
||||
|
||||
match "/decision-activities/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/decision-activities/"
|
||||
end
|
||||
|
||||
###############
|
||||
# LOGIN
|
||||
@@ -213,7 +220,15 @@ defmodule Dispatcher do
|
||||
match "/sessions/*path", %{ accept: [:any], layer: :api} do
|
||||
Proxy.forward conn, path, "http://login/sessions/"
|
||||
end
|
||||
|
||||
|
||||
###############################################################
|
||||
# SEARCH
|
||||
###############################################################
|
||||
|
||||
match "/search/*path", %{ accept: %{ json: true }, layer: :api_services} do
|
||||
IO.puts("hey")
|
||||
Proxy.forward conn, path, "http://search/"
|
||||
end
|
||||
|
||||
###############
|
||||
# API SERVICES
|
||||
@@ -223,10 +238,6 @@ defmodule Dispatcher do
|
||||
forward conn, path, "http://kalliope-api/v3/api-docs/"
|
||||
end
|
||||
|
||||
match "/changes/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://kalliope-api/changes/"
|
||||
end
|
||||
|
||||
match "/consolidated/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://kalliope-api/consolidated/"
|
||||
end
|
||||
@@ -243,11 +254,60 @@ defmodule Dispatcher do
|
||||
forward conn, path, "http://privacy/person-information-requests"
|
||||
end
|
||||
|
||||
match "/person-information-ask/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://privacy/person-information-ask/"
|
||||
end
|
||||
|
||||
match "/person-information-validate-ssn/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://privacy/person-information-validate-ssn/"
|
||||
end
|
||||
|
||||
get "/uri-info/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://uri-info/"
|
||||
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
|
||||
###############################################################
|
||||
@@ -271,7 +331,14 @@ defmodule Dispatcher do
|
||||
match "/*_path", %{ layer: :frontend } do
|
||||
Proxy.forward conn, [], "http://frontend/index.html"
|
||||
end
|
||||
|
||||
|
||||
###############################################################
|
||||
# sparql endpoint
|
||||
###############################################################
|
||||
|
||||
post "/sparql/*path", %{ layer: :api_services, accept: %{ sparql_json: true } } do
|
||||
forward conn, path, "http://db:8890/sparql/"
|
||||
end
|
||||
|
||||
###############################################################
|
||||
# errors
|
||||
|
||||
66
config/jobs-controller/config.json
Normal file
66
config/jobs-controller/config.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
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.
|
||||
}
|
||||
}
|
||||
13
config/migrations/2021/20211120160000-source-crab.sparql
Normal file
13
config/migrations/2021/20211120160000-source-crab.sparql
Normal file
@@ -0,0 +1,13 @@
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin> {
|
||||
<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".
|
||||
}
|
||||
}
|
||||
|
||||
53
config/migrations/2021/20211123120000-private-data.sparql
Normal file
53
config/migrations/2021/20211123120000-private-data.sparql
Normal file
@@ -0,0 +1,53 @@
|
||||
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 }
|
||||
}
|
||||
}
|
||||
13
config/migrations/2021/20211203120000-bestuur-admidm.sparql
Normal file
13
config/migrations/2021/20211203120000-bestuur-admidm.sparql
Normal file
@@ -0,0 +1,13 @@
|
||||
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" .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
CLEAR GRAPH <http://mu.semte.ch/graphs/public> ;
|
||||
CLEAR GRAPH <http://mu.semte.ch/graphs/organizations/141d9d6b-54af-4d17-b313-8d1c30bc3f5b>;
|
||||
83
config/migrations/2021/20211206120000-mock-user-roles.sparql
Normal file
83
config/migrations/2021/20211206120000-mock-user-roles.sparql
Normal file
@@ -0,0 +1,83 @@
|
||||
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".
|
||||
}
|
||||
}
|
||||
8
config/migrations/2021/20211206130000-move-graph.sparql
Normal file
8
config/migrations/2021/20211206130000-move-graph.sparql
Normal file
@@ -0,0 +1,8 @@
|
||||
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>
|
||||
@@ -0,0 +1,8 @@
|
||||
delete { GRAPH ?g {?s ?p ?o} }
|
||||
|
||||
where {
|
||||
GRAPH ?g {
|
||||
?s a ?type; ?p ?o.
|
||||
filter(?type = <http://www.w3.org/ns/org#ChangeEvent> || ?p = <http://www.w3.org/ns/org#resultedFrom>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s ?p ?o
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?s a <http://mu.semte.ch/vocabularies/ext/ReasonCode>;
|
||||
?p ?o.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
<http://data.lblod.info/id/information-request-reason/3aeec145-acf3-4b6e-9c00-5b8e285736e0> a ext:ReasonCode,
|
||||
skos:Concept;
|
||||
mu:uuid "3aeec145-acf3-4b6e-9c00-5b8e285736e0";
|
||||
skos:prefLabel "Aanmaken van een persoon".
|
||||
|
||||
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e1> a ext:ReasonCode,
|
||||
skos:Concept;
|
||||
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e1";
|
||||
skos:prefLabel "In het kader van administratief toezicht".
|
||||
|
||||
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e2> a ext:ReasonCode,
|
||||
skos:Concept;
|
||||
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e2";
|
||||
skos:prefLabel "In het kader van een screeningsdossier".
|
||||
|
||||
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e3> a ext:ReasonCode,
|
||||
skos:Concept;
|
||||
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e3";
|
||||
skos:prefLabel "In het kader van een erkenningsdossier".
|
||||
|
||||
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e4> a ext:ReasonCode,
|
||||
skos:Concept;
|
||||
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e4";
|
||||
skos:prefLabel "In het kader van een wijzigingsdossier".
|
||||
|
||||
<http://data.lblod.info/id/information-request-reason/3beec145-acf3-4b6e-9c00-5b8e285736e5> a ext:ReasonCode,
|
||||
skos:Concept;
|
||||
mu:uuid "3beec145-acf3-4b6e-9c00-5b8e285736e5";
|
||||
skos:prefLabel "In het kader van een informatie-uitwisseling (cfr. protocol) met een overheidsinstelling".
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?changeEventResult org:organization ?organization .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
?changeEventResult ext:resultingOrganization ?organization .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
?changeEventResult a <http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat> ;
|
||||
org:organization ?organization .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
# cf 20220110100000-secondary-contacts.sparql for context.
|
||||
# In case it's not a secondary contactpoint (a contactpoint without an address if multiple contact points exist for one entity/mandataris)
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?contactPoint
|
||||
schema:contactType "Primary"
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?contactPoint
|
||||
a schema:ContactPoint.
|
||||
FILTER NOT EXISTS {
|
||||
?contactPoint
|
||||
schema:contactType "Secondary"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?secondary
|
||||
schema:contactType "Secondary"
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?primary
|
||||
a schema:ContactPoint;
|
||||
locn:address ?a1;
|
||||
schema:telephone ?t1.
|
||||
?mandataris schema:contactPoint ?primary, ?secondary.
|
||||
?secondary
|
||||
schema:telephone ?t2.
|
||||
FILTER NOT EXISTS {
|
||||
?secondary locn:address ?a2.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
|
||||
?bestuur ?pbestuur ?obestuur .
|
||||
?primarySite ?pprimarySite ?oprimarySite .
|
||||
?address ?paddress ?oaddress .
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
?identifier ?pidentifier ?oidentifier .
|
||||
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
VALUES ?bestuur {
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/6167E3E2375CFC000A0007C2>
|
||||
<http://data.lblod.info/id/centraleBesturenVanDeEredienst/616FE419375CFC000A000893>
|
||||
}
|
||||
|
||||
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
|
||||
|
||||
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
|
||||
<http://www.w3.org/ns/adms#identifier> ?identifier ;
|
||||
?pbestuur ?obestuur .
|
||||
|
||||
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
|
||||
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
|
||||
?pprimarySite ?oprimarySite .
|
||||
|
||||
?address ?paddress ?oaddress .
|
||||
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
|
||||
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
|
||||
?pidentifier ?oidentifier .
|
||||
|
||||
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
PREFIX dct: <http://purl.org/dc/terms/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F90CAF51BFC225E4ECF2CA> dct:date "2021-11-28"^^xsd:date .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F90CAF51BFC225E4ECF2CA> dct:date "2021-12-20"^^xsd:date .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F90CAF51BFC225E4ECF2CA> dct:date "2021-11-28"^^xsd:date .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
PREFIX dct: <http://purl.org/dc/terms/>
|
||||
PREFIX regorg: <http://www.w3.org/ns/regorg#>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B0A51BFC225E4ECF2FF>
|
||||
dct:date "2021-02-04"^^xsd:date .
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2a75e67f9a8aacf52896944c59b09eb0>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> . # Actief
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B0A51BFC225E4ECF2FF>
|
||||
dct:date "2022-02-04"^^xsd:date .
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2a75e67f9a8aacf52896944c59b09eb0>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/d02c4e12bf88d2fdf5123b07f29c9311> . # Niet Actief
|
||||
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/61F92B0A51BFC225E4ECF2FF>
|
||||
dct:date "2021-02-04"^^xsd:date .
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/2a75e67f9a8aacf52896944c59b09eb0>
|
||||
regorg:orgStatus <http://lblod.data.gift/concepts/63cc561de9188d64ba5840a42ae8f0d6> .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
# Splitting the query in two because of execution time
|
||||
|
||||
## Links to the bestuur
|
||||
|
||||
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
|
||||
?orgaanInTijd ?porgaanInTijd ?oorgaanInTijd .
|
||||
?orgaan ?porgaan ?oorgaan .
|
||||
?betrokken ?pbetrokken ?obetrokken .
|
||||
?eenheid <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> ?betrokken .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
VALUES ?bestuur {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6183A207375CFC000A000933>
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/61AE0A9B3C1A230C43B44FFF>
|
||||
}
|
||||
|
||||
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
|
||||
|
||||
OPTIONAL {
|
||||
?orgaanInTijd <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur ;
|
||||
?porgaanInTijd ?oorgaanInTijd .
|
||||
|
||||
?orgaan <https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaanInTijd ;
|
||||
?porgaan ?oorgaan .
|
||||
}
|
||||
|
||||
OPTIONAL {
|
||||
?betrokken <http://www.w3.org/ns/org#organization> ?bestuur ;
|
||||
?pbetrokken ?obetrokken .
|
||||
?eenheid <http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur> ?betrokken .
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
## Links from the bestuur
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?bestuur ?pbestuur ?obestuur .
|
||||
?primarySite ?pprimarySite ?oprimarySite .
|
||||
?address ?paddress ?oaddress .
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
?identifier ?pidentifier ?oidentifier .
|
||||
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
VALUES ?bestuur {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/6183A207375CFC000A000933>
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/61AE0A9B3C1A230C43B44FFF>
|
||||
}
|
||||
|
||||
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
|
||||
<http://www.w3.org/ns/adms#identifier> ?identifier ;
|
||||
?pbestuur ?obestuur .
|
||||
|
||||
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
|
||||
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
|
||||
?pprimarySite ?oprimarySite .
|
||||
|
||||
?address ?paddress ?oaddress .
|
||||
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
|
||||
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
|
||||
?pidentifier ?oidentifier .
|
||||
|
||||
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?s ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
?s a <http://www.w3.org/ns/prov#Location> ;
|
||||
?p ?o .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?representatieveOrgaan <http://www.w3.org/ns/org#linkedTo> ?bestuur .
|
||||
?bestuur ?pbestuur ?obestuur .
|
||||
?primarySite ?pprimarySite ?oprimarySite .
|
||||
?address ?paddress ?oaddress .
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
?identifier ?pidentifier ?oidentifier .
|
||||
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
VALUES ?bestuur {
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/616FE3A6375CFC000A00088B>
|
||||
<http://data.lblod.info/id/besturenVanDeEredienst/61839F8F375CFC000A00092B>
|
||||
}
|
||||
|
||||
?bestuur <http://www.w3.org/ns/org#hasPrimarySite> ?primarySite ;
|
||||
<http://www.w3.org/ns/adms#identifier> ?identifier ;
|
||||
?pbestuur ?obestuur .
|
||||
|
||||
?primarySite <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?address ;
|
||||
<http://www.w3.org/ns/org#siteAddress> ?contactPoint ;
|
||||
?pprimarySite ?oprimarySite .
|
||||
|
||||
?address ?paddress ?oaddress .
|
||||
|
||||
?contactPoint ?pcontactPoint ?ocontactPoint .
|
||||
|
||||
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structuredIdentifier ;
|
||||
?pidentifier ?oidentifier .
|
||||
|
||||
?structuredIdentifier ?pstructuredIdentifier ?ostructuredIdentifier .
|
||||
}
|
||||
}
|
||||
|
||||
129
config/resources/change-events.json
Normal file
129
config/resources/change-events.json
Normal file
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"version": "0.1",
|
||||
"prefixes": {
|
||||
"ch": "http://data.lblod.info/vocabularies/contacthub/",
|
||||
"code": "http://lblod.data.gift/vocabularies/organisatie/",
|
||||
"dc_terms": "http://purl.org/dc/terms/",
|
||||
"euro": "http://data.europa.eu/m8g/",
|
||||
"ext": "http://mu.semte.ch/vocabularies/ext/",
|
||||
"org": "http://www.w3.org/ns/org#",
|
||||
"regorg": "http://www.w3.org/ns/regorg#",
|
||||
"skos": "http://www.w3.org/2004/02/skos/core#",
|
||||
"foaf": "http://xmlns.com/foaf/0.1/"
|
||||
},
|
||||
"resources": {
|
||||
"change-events": {
|
||||
"class": "org:ChangeEvent",
|
||||
"attributes": {
|
||||
"date": {
|
||||
"type": "date",
|
||||
"predicate": "dc_terms:date"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"predicate": "dc_terms:description"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"type": {
|
||||
"predicate": "ch:typeWijziging",
|
||||
"target": "change-event-types",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"resulting-organizations": {
|
||||
"predicate": "org:resultingOrganization",
|
||||
"target": "organizations",
|
||||
"cardinality": "many"
|
||||
},
|
||||
"original-organizations": {
|
||||
"predicate": "org:originalOrganization",
|
||||
"target": "organizations",
|
||||
"cardinality": "many"
|
||||
},
|
||||
"results": {
|
||||
"predicate": "code:veranderingsgebeurtenisResultaat",
|
||||
"target": "change-event-results",
|
||||
"cardinality": "many"
|
||||
},
|
||||
"decision": {
|
||||
"predicate": "http://data.europa.eu/m8g/hasFormalFramework",
|
||||
"target": "decisions",
|
||||
"cardinality": "one"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/veranderingsgebeurtenissen/"
|
||||
},
|
||||
"change-event-results": {
|
||||
"class": "code:VeranderingsgebeurtenisResultaat",
|
||||
"attributes": {},
|
||||
"relationships": {
|
||||
"resulting-organization": {
|
||||
"predicate": "ext:resultingOrganization",
|
||||
"target": "organizations",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"status": {
|
||||
"predicate": "code:resulterendeStatus",
|
||||
"target": "organization-status-codes",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"result-from": {
|
||||
"predicate": "code:veranderingsgebeurtenisResultaat",
|
||||
"target": "change-events",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/"
|
||||
},
|
||||
"change-event-types": {
|
||||
"class": "code:Veranderingsgebeurtenis",
|
||||
"attributes": {
|
||||
"label": {
|
||||
"type": "string",
|
||||
"predicate": "skos:prefLabel"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||
},
|
||||
"decisions": {
|
||||
"class": "http://data.vlaanderen.be/ns/besluit#Besluit",
|
||||
"attributes": {
|
||||
"publication-date": {
|
||||
"type": "date",
|
||||
"predicate": "http://data.europa.eu/eli/ontology#date_publication"
|
||||
},
|
||||
"document-link": {
|
||||
"type": "url",
|
||||
"predicate": "foaf:page"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"has-decision-activity": {
|
||||
"predicate": "http://www.w3.org/ns/prov#generated",
|
||||
"target": "decision-activities",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.info/id/besluiten/"
|
||||
},
|
||||
"decision-activities": {
|
||||
"class": "https://data.vlaanderen.be/ns/besluitvorming#Beslissingsactiviteit",
|
||||
"attributes": {
|
||||
"end-date": {
|
||||
"type": "date",
|
||||
"predicate": "https://data.vlaanderen.be/ns/dossier#Activiteit.einddatum"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"gives-cause-to": {
|
||||
"predicate": "http://www.w3.org/ns/prov#generated",
|
||||
"target": "decisions",
|
||||
"cardinality": "many"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.info/id/beslissingsactiviteit/"
|
||||
}
|
||||
}
|
||||
}
|
||||
157
config/resources/dcat.json
Normal file
157
config/resources/dcat.json
Normal file
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"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/"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -46,35 +46,16 @@
|
||||
},
|
||||
"relationships": {
|
||||
"mandatories": {
|
||||
"predicate": "mandaat:isAangesteldAls",
|
||||
"predicate": "mandaat:isBestuurlijkeAliasVan",
|
||||
"target": "mandatories",
|
||||
"cardinality": "many"
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"agents-in-position": {
|
||||
"predicate": "org:heldBy",
|
||||
"target": "agents-in-position",
|
||||
"cardinality": "many",
|
||||
"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/"
|
||||
@@ -83,11 +64,11 @@
|
||||
"class": "ch:AgentInPositie",
|
||||
"attributes": {
|
||||
"agent-start-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "ch:startdatum"
|
||||
},
|
||||
"agent-end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "ch:eindedatum"
|
||||
}
|
||||
},
|
||||
@@ -137,11 +118,11 @@
|
||||
"super": ["agents-in-position"],
|
||||
"attributes": {
|
||||
"start-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:start"
|
||||
},
|
||||
"end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:einde"
|
||||
}
|
||||
},
|
||||
@@ -185,7 +166,7 @@
|
||||
"super": ["mandatories"],
|
||||
"attributes": {
|
||||
"expected-end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "ere:geplandeEinddatumAanstelling"
|
||||
},
|
||||
"reason-stopped": {
|
||||
@@ -230,6 +211,10 @@
|
||||
"website": {
|
||||
"type": "uri",
|
||||
"predicate": "foaf:page"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"predicate": "schema:contactType"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
@@ -319,14 +304,22 @@
|
||||
"cardinality": "many"
|
||||
},
|
||||
"changed-by": {
|
||||
"predicate": "org:changedBy",
|
||||
"predicate": "org:originalOrganization",
|
||||
"target": "change-events",
|
||||
"cardinality": "many"
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"resulted-from": {
|
||||
"predicate": "org:resultedFrom",
|
||||
"predicate": "org:resultingOrganization",
|
||||
"target": "change-events",
|
||||
"cardinality": "many"
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"change-event-results": {
|
||||
"predicate": "ext:resultingOrganization",
|
||||
"target": "change-event-results",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"positions": {
|
||||
"predicate": "org:hasPost",
|
||||
@@ -377,11 +370,6 @@
|
||||
"predicate": "ere:betrokkenBestuur",
|
||||
"target": "local-involvements",
|
||||
"cardinality": "many"
|
||||
},
|
||||
"scope": {
|
||||
"predicate": "besluit:werkingsgebied",
|
||||
"target": "locations",
|
||||
"cardinality": "one"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/bestuurseenheden/"
|
||||
@@ -404,6 +392,11 @@
|
||||
"predicate": "ere:typeEredienst",
|
||||
"target": "recognized-worship-types",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"minister-positions": {
|
||||
"predicate": "ere:wordtBediendDoor",
|
||||
"target": "minister-positions",
|
||||
"cardinality": "many"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/eredienstBestuurseenheden/"
|
||||
@@ -428,16 +421,6 @@
|
||||
"target": "local-involvements",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"associated-structures": {
|
||||
"predicate": "ere:heeftVerbondenEntiteit",
|
||||
"target": "associated-legal-structures",
|
||||
"cardinality": "many"
|
||||
},
|
||||
"minister-positions": {
|
||||
"predicate": "ere:wordtBediendDoor",
|
||||
"target": "minister-positions",
|
||||
"cardinality": "many"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/besturenVanDeEredienst/"
|
||||
@@ -479,11 +462,11 @@
|
||||
"class": "besluit:Bestuursorgaan",
|
||||
"attributes": {
|
||||
"start-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:bindingStart"
|
||||
},
|
||||
"end-date": {
|
||||
"type": "datetime",
|
||||
"type": "date",
|
||||
"predicate": "mandaat:bindingEinde"
|
||||
}
|
||||
},
|
||||
@@ -616,6 +599,18 @@
|
||||
"full-address": {
|
||||
"type": "string",
|
||||
"predicate": "locn:fullAddress"
|
||||
},
|
||||
"address-register-uri": {
|
||||
"type": "url",
|
||||
"predicate": "adres:verwijstNaar"
|
||||
}
|
||||
|
||||
},
|
||||
"relationships": {
|
||||
"source": {
|
||||
"predicate": "dc_terms:source",
|
||||
"target": "concepts",
|
||||
"cardinality": "one"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/adressen/"
|
||||
@@ -641,45 +636,16 @@
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/vestigingen/"
|
||||
},
|
||||
"change-events": {
|
||||
"class": "org:ChangeEvent",
|
||||
"attributes": {
|
||||
"date": {
|
||||
"type": "datetime",
|
||||
"predicate": "dc_terms:date"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"predicate": "dc_terms:description"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"type": {
|
||||
"predicate": "ch:typeWijziging",
|
||||
"target": "change-event-types",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"resulting-organization": {
|
||||
"predicate": "org:resultedFrom",
|
||||
"target": "organizations",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"original-organization": {
|
||||
"predicate": "org:changedBy",
|
||||
"target": "organizations",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/veranderingsgebeurtenissen/"
|
||||
},
|
||||
"change-event-types": {
|
||||
"class": "code:Veranderingsgebeurtenis",
|
||||
"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/"
|
||||
@@ -695,28 +661,6 @@
|
||||
"features": ["include-uri"],
|
||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||
},
|
||||
"locations": {
|
||||
"class": "prov:Location",
|
||||
"attributes": {
|
||||
"label": {
|
||||
"type": "string",
|
||||
"predicate": "rdfs:label"
|
||||
},
|
||||
"level": {
|
||||
"type": "string",
|
||||
"predicate": "ext:werkingsgebiedNiveau"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"administrative-units": {
|
||||
"predicate": "besluit:werkingsgebied",
|
||||
"target": "administrative-units",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/werkingsgebieden/"
|
||||
},
|
||||
"involvement-types": {
|
||||
"class": "code:TypeBetrokkenheid",
|
||||
"attributes": {
|
||||
@@ -771,43 +715,6 @@
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/voorwaardenBedienaar/"
|
||||
},
|
||||
"associated-legal-structures": {
|
||||
"class": "ere:VerbondenJuridischeStructuren",
|
||||
"attributes": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"predicate": "skos:prefLabel"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"registration": {
|
||||
"predicate": "regorg:registration",
|
||||
"target": "identifiers",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"legal-type": {
|
||||
"predicate": "organisatie:rechtsvorm",
|
||||
"target": "legal-form-types",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"address": {
|
||||
"predicate": "locn:address",
|
||||
"target": "addresses",
|
||||
"cardinality": "one"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/verbondenJuridischeStructuren/"
|
||||
},
|
||||
"dates-of-birth": {
|
||||
"class": "persoon:Geboorte",
|
||||
"attributes": {
|
||||
"date": {
|
||||
"type": "datetime",
|
||||
"predicate": "persoon:datum"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/geboortes/"
|
||||
},
|
||||
"nationalities": {
|
||||
"class": "euvoc:Country",
|
||||
"attributes": {
|
||||
@@ -849,7 +756,7 @@
|
||||
},
|
||||
"worship-service": {
|
||||
"predicate": "ere:wordtBediendDoor",
|
||||
"target": "worship-services",
|
||||
"target": "worship-administrative-units",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
},
|
||||
@@ -891,16 +798,6 @@
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||
},
|
||||
"legal-form-types": {
|
||||
"class": "code:Rechtsvormtype",
|
||||
"attributes": {
|
||||
"label": {
|
||||
"type": "string",
|
||||
"predicate": "skos:prefLabel"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://lblod.data.gift/concepts/"
|
||||
},
|
||||
"document-types-criterions": {
|
||||
"class": "code:BedienaarCriteriumBewijsstuk",
|
||||
"attributes": {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
(in-package :mu-cl-resources)
|
||||
|
||||
(defparameter *include-count-in-paginated-responses* t)
|
||||
@@ -12,4 +11,8 @@
|
||||
(defparameter *supply-cache-headers-p* t)
|
||||
|
||||
(read-domain-file "domain.json")
|
||||
(read-domain-file "auth.json")
|
||||
(read-domain-file "auth.json")
|
||||
(read-domain-file "change-events.json")
|
||||
(read-domain-file "files-domain.lisp")
|
||||
(read-domain-file "dcat.json")
|
||||
(read-domain-file "privacy-centric-service.json")
|
||||
|
||||
13
config/resources/files-domain.lisp
Normal file
13
config/resources/files-domain.lisp
Normal file
@@ -0,0 +1,13 @@
|
||||
(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")
|
||||
20
config/resources/privacy-centric-service.json
Normal file
20
config/resources/privacy-centric-service.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"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/"
|
||||
}
|
||||
}
|
||||
}
|
||||
660
config/search/config.json
Normal file
660
config/search/config.json
Normal file
@@ -0,0 +1,660 @@
|
||||
{
|
||||
"automatic_index_updates": true,
|
||||
"persist_indexes": true,
|
||||
"number_of_threads": 6,
|
||||
"eager_indexing_groups": [
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-lezer"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-editeerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-beheerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-beheerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-editeerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-lezer"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-editeerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-lezer"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-editeerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-beheerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-lezer"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-beheerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
]
|
||||
],
|
||||
"types": [
|
||||
{
|
||||
"type": "mandatory",
|
||||
"on_path": "mandatories",
|
||||
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
|
||||
"properties": {
|
||||
"given_name": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://xmlns.com/foaf/0.1/givenName"
|
||||
],
|
||||
"id": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"uuid": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"family_name": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://xmlns.com/foaf/0.1/familyName"
|
||||
],
|
||||
"first_name_used": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
|
||||
],
|
||||
"end_date": "http://data.vlaanderen.be/ns/mandaat#einde",
|
||||
"organization_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"organization_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"organization_municipality": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
|
||||
],
|
||||
"organization_province": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2"
|
||||
],
|
||||
"position_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://www.w3.org/ns/org#role",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"position_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://www.w3.org/ns/org#role",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"family_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"given_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"organization_province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"position_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_date": {
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minister",
|
||||
"on_path": "ministers",
|
||||
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
|
||||
"sub_types": [
|
||||
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
|
||||
],
|
||||
"properties": {
|
||||
"given_name": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://xmlns.com/foaf/0.1/givenName"
|
||||
],
|
||||
"id": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"uuid": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"family_name": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://xmlns.com/foaf/0.1/familyName"
|
||||
],
|
||||
"first_name_used": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
|
||||
],
|
||||
"end_date": "http://data.lblod.info/vocabularies/contacthub/eindedatum",
|
||||
"organization_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"organization_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"organization_municipality": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
|
||||
],
|
||||
"organization_province": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2"
|
||||
],
|
||||
"position_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://data.lblod.info/vocabularies/erediensten/functie",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"position_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://data.lblod.info/vocabularies/erediensten/functie",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"family_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"given_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"organization_province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"position_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_date": {
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "person",
|
||||
"composite_types": [
|
||||
"minister",
|
||||
"mandatory"
|
||||
],
|
||||
"on_path": "people",
|
||||
"properties": [
|
||||
{
|
||||
"name": "given_name",
|
||||
"mappings": {
|
||||
"minister": "given_name",
|
||||
"mandatory": "given_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "id",
|
||||
"mappings": {
|
||||
"minister": "id",
|
||||
"mandatory": "id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "family_name",
|
||||
"mappings": {
|
||||
"minister": "family_name",
|
||||
"mandatory": "family_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "first_name_used",
|
||||
"mappings": {
|
||||
"minister": "first_name_used",
|
||||
"mandatory": "first_name_used"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "end_date",
|
||||
"mappings": {
|
||||
"minister": "end_date",
|
||||
"mandatory": "end_date"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_id",
|
||||
"mappings": {
|
||||
"minister": "organization_id",
|
||||
"mandatory": "organization_id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_name",
|
||||
"mappings": {
|
||||
"minister": "organization_name",
|
||||
"mandatory": "organization_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_municipality",
|
||||
"mappings": {
|
||||
"minister": "organization_municipality",
|
||||
"mandatory": "organization_municipality"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_province",
|
||||
"mappings": {
|
||||
"minister": "organization_province",
|
||||
"mandatory": "organization_province"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "position_id",
|
||||
"mappings": {
|
||||
"minister": "position_id",
|
||||
"mandatory": "position_id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "position_name",
|
||||
"mappings": {
|
||||
"minister": "position_name",
|
||||
"mandatory": "position_name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"family_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"given_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"organization_province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"position_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_date": {
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "unit",
|
||||
"on_path": "units",
|
||||
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
|
||||
"sub_types": [
|
||||
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst"
|
||||
],
|
||||
"properties": {
|
||||
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"classification_id": [
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"classification_name": [
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"status": [
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"status_id": [
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"recognized_worship_type_id": [
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"recognized_worship_type_name": [
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"province": [
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2"
|
||||
],
|
||||
"municipality": [
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
|
||||
]
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"classification_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"recognized_worship_type_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"classification_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"recognized_worship_type_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
584
config/search/dev/config.json
Normal file
584
config/search/dev/config.json
Normal file
@@ -0,0 +1,584 @@
|
||||
{
|
||||
"automatic_index_updates": true,
|
||||
"persist_indexes": true,
|
||||
"number_of_threads": 6,
|
||||
"eager_indexing_groups": [
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-lezer"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-editeerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"variables": [],
|
||||
"name": "acmidm-beheerder"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "clean"
|
||||
},
|
||||
{
|
||||
"variables": [],
|
||||
"name": "public"
|
||||
}
|
||||
]
|
||||
],
|
||||
"types": [
|
||||
{
|
||||
"type": "mandatory",
|
||||
"on_path": "mandatories",
|
||||
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstMandataris",
|
||||
"properties": {
|
||||
"given_name": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://xmlns.com/foaf/0.1/givenName"
|
||||
],
|
||||
"id": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"uuid": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"family_name": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"http://xmlns.com/foaf/0.1/familyName"
|
||||
],
|
||||
"first_name_used": [
|
||||
"http://data.vlaanderen.be/ns/mandaat#isBestuurlijkeAliasVan",
|
||||
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
|
||||
],
|
||||
"end_date": "http://data.vlaanderen.be/ns/mandaat#einde",
|
||||
"organization_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"organization_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"organization_municipality": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
|
||||
],
|
||||
"organization_province": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://www.w3.org/ns/org#hasPost",
|
||||
"https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan",
|
||||
"http://data.vlaanderen.be/ns/besluit#bestuurt",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2"
|
||||
],
|
||||
"position_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://www.w3.org/ns/org#role",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"position_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://www.w3.org/ns/org#role",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"family_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"given_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"organization_province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"position_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_date": {
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "minister",
|
||||
"on_path": "ministers",
|
||||
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/RolBedienaar",
|
||||
"sub_types": [
|
||||
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
|
||||
],
|
||||
"properties": {
|
||||
"given_name": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://xmlns.com/foaf/0.1/givenName"
|
||||
],
|
||||
"id": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"uuid": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"family_name": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"http://xmlns.com/foaf/0.1/familyName"
|
||||
],
|
||||
"first_name_used": [
|
||||
"http://www.w3.org/ns/org#heldBy",
|
||||
"https://data.vlaanderen.be/ns/persoon#gebruikteVoornaam"
|
||||
],
|
||||
"end_date": "http://data.lblod.info/vocabularies/contacthub/eindedatum",
|
||||
"organization_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"organization_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"organization_municipality": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
|
||||
],
|
||||
"organization_province": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"^http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2"
|
||||
],
|
||||
"position_id": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://data.lblod.info/vocabularies/erediensten/functie",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"position_name": [
|
||||
"http://www.w3.org/ns/org#holds",
|
||||
"http://data.lblod.info/vocabularies/erediensten/functie",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"family_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"given_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"organization_province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"position_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_date": {
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "person",
|
||||
"composite_types": [
|
||||
"minister",
|
||||
"mandatory"
|
||||
],
|
||||
"on_path": "people",
|
||||
"properties": [
|
||||
{
|
||||
"name": "given_name",
|
||||
"mappings": {
|
||||
"minister": "given_name",
|
||||
"mandatory": "given_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "id",
|
||||
"mappings": {
|
||||
"minister": "id",
|
||||
"mandatory": "id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "family_name",
|
||||
"mappings": {
|
||||
"minister": "family_name",
|
||||
"mandatory": "family_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "first_name_used",
|
||||
"mappings": {
|
||||
"minister": "first_name_used",
|
||||
"mandatory": "first_name_used"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "end_date",
|
||||
"mappings": {
|
||||
"minister": "end_date",
|
||||
"mandatory": "end_date"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_id",
|
||||
"mappings": {
|
||||
"minister": "organization_id",
|
||||
"mandatory": "organization_id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_name",
|
||||
"mappings": {
|
||||
"minister": "organization_name",
|
||||
"mandatory": "organization_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_municipality",
|
||||
"mappings": {
|
||||
"minister": "organization_municipality",
|
||||
"mandatory": "organization_municipality"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "organization_province",
|
||||
"mappings": {
|
||||
"minister": "organization_province",
|
||||
"mandatory": "organization_province"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "position_id",
|
||||
"mappings": {
|
||||
"minister": "position_id",
|
||||
"mandatory": "position_id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "position_name",
|
||||
"mappings": {
|
||||
"minister": "position_name",
|
||||
"mandatory": "position_name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"family_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"given_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"organization_province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"organization_municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"position_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"position_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"end_date": {
|
||||
"type": "date"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "unit",
|
||||
"on_path": "units",
|
||||
"rdf_type": "http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
|
||||
"sub_types": [
|
||||
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst"
|
||||
],
|
||||
"properties": {
|
||||
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"classification_id": [
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"classification_name": [
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"status": [
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"status_id": [
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"recognized_worship_type_id": [
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://mu.semte.ch/vocabularies/core/uuid"
|
||||
],
|
||||
"recognized_worship_type_name": [
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
],
|
||||
"province": [
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"http://www.w3.org/ns/locn#adminUnitL2"
|
||||
],
|
||||
"municipality": [
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"https://data.vlaanderen.be/ns/organisatie#bestaatUit",
|
||||
"https://data.vlaanderen.be/ns/adres#gemeentenaam"
|
||||
]
|
||||
},
|
||||
"mappings": {
|
||||
"properties": {
|
||||
"classification_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"recognized_worship_type_id": {
|
||||
"type": "text"
|
||||
},
|
||||
"name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"classification_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"recognized_worship_type_name": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"province": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"municipality": {
|
||||
"type": "text",
|
||||
"fields": {
|
||||
"field": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -14,6 +14,8 @@ services:
|
||||
db:
|
||||
restart: "no"
|
||||
migrations:
|
||||
volumes:
|
||||
- ./config/dev-migrations:/data/migrations/dev/
|
||||
restart: "no"
|
||||
resource:
|
||||
restart: "no"
|
||||
@@ -22,18 +24,48 @@ services:
|
||||
kalliope-api:
|
||||
environment:
|
||||
SPRING_SECURITY_CONFIG: "/config/security-dev.yml"
|
||||
restart: "no"
|
||||
restart: "no"
|
||||
deltanotifier:
|
||||
restart: "no"
|
||||
mocklogin:
|
||||
image: lblod/mock-login-service:latest
|
||||
links:
|
||||
- db:database
|
||||
restart: "no"
|
||||
sink:
|
||||
restart: "no"
|
||||
login:
|
||||
restart: "no"
|
||||
accountdetail:
|
||||
restart: "no"
|
||||
privacy:
|
||||
restart: "no"
|
||||
adressenregister:
|
||||
restart: "no"
|
||||
frontend:
|
||||
image: lblod/frontend-organization-portal:latest
|
||||
restart: "no"
|
||||
uri-info:
|
||||
restart: "no"
|
||||
delta-producer-bg-jobs-initiator-administrative-units:
|
||||
restart: "no"
|
||||
delta-producer-pub-graph-maintainer-administrative-units:
|
||||
restart: "no"
|
||||
delta-producer-json-diff-publisher-administrative-units:
|
||||
restart: "no"
|
||||
delta-producer-bg-jobs-initiator-organizations:
|
||||
restart: "no"
|
||||
delta-producer-pub-graph-maintainer-organizations:
|
||||
restart: "no"
|
||||
delta-producer-json-diff-publisher-organizations:
|
||||
restart: "no"
|
||||
search:
|
||||
restart: "no"
|
||||
volumes:
|
||||
- ./config/search/dev:/config
|
||||
elasticsearch:
|
||||
restart: "no"
|
||||
file:
|
||||
restart: "no"
|
||||
delta-producer-dump-file-publisher:
|
||||
restart: "no"
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
dispatcher:
|
||||
image: semtech/mu-dispatcher:latest
|
||||
image: semtech/mu-dispatcher:2.1.0-beta.2
|
||||
volumes:
|
||||
- ./config/dispatcher:/config
|
||||
labels:
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
db:
|
||||
image: semtech/mu-authorization:0.6.0-beta.7
|
||||
image: cecemel/mu-authorization:0.6.0-beta.8
|
||||
environment:
|
||||
MU_SPARQL_ENDPOINT: "http://triplestore:8890/sparql"
|
||||
LOG_OUTGOING_SPARQL_QUERIES: "true"
|
||||
@@ -61,7 +61,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
resource:
|
||||
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors
|
||||
image: semtech/mu-cl-resources:feature-all-errors-as-json-api-errors # Bump to fixed version when merged and release
|
||||
links:
|
||||
- db:database
|
||||
volumes:
|
||||
@@ -79,20 +79,24 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
kalliope-api:
|
||||
image: lblod/jsonld-delta-service:0.3.2
|
||||
image: lblod/jsonld-delta-service:0.5.5
|
||||
volumes:
|
||||
- ./config/kalliope:/config
|
||||
- ./data/files:/share
|
||||
links:
|
||||
- db:database
|
||||
environment:
|
||||
SERVER_PORT: "80"
|
||||
LOGGING_LEVEL: "INFO"
|
||||
SPARQL_ENDPOINT: "http://db:8890/sparql"
|
||||
LIMIT_SIZE: "10000"
|
||||
MU_AUTH_SUDO: "false"
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
deltanotifier:
|
||||
image: semtech/mu-delta-notifier:0.1.0
|
||||
image: cecemel/delta-notifier:0.2.0-beta.2
|
||||
volumes:
|
||||
- ./config/delta:/config
|
||||
labels:
|
||||
@@ -108,17 +112,15 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
login:
|
||||
image: lblod/acmidm-login-service:0.9.3-organisatie_portaal
|
||||
links:
|
||||
- db:database
|
||||
image: lblod/acmidm-login-service:0.9.2
|
||||
environment:
|
||||
MU_APPLICATION_AUTH_USERID_CLAIM: "vo_id"
|
||||
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_CLIENT_ID: "677af572-2e2f-4e61-ad38-036723bb314c"
|
||||
MU_APPLICATION_AUTH_REDIRECT_URI: "https://organisaties.abb.lblod.info/authorization/callback"
|
||||
MU_APPLICATION_AUTH_CLIENT_SECRET: ""
|
||||
links:
|
||||
- db:database
|
||||
MU_APPLICATION_AUTH_CLIENT_SECRET: "secret"
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
@@ -126,7 +128,7 @@ services:
|
||||
links:
|
||||
- db:database
|
||||
accountdetail:
|
||||
image: lblod/account-detail-service:latest
|
||||
image: lblod/account-detail-service:0.1.0
|
||||
labels:
|
||||
- "logging=true"
|
||||
environment:
|
||||
@@ -136,27 +138,28 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
privacy:
|
||||
image: lblod/privacy-centric-service:0.0.1
|
||||
image: lblod/privacy-centric-service:0.4.1
|
||||
labels:
|
||||
- "logging=true"
|
||||
environment:
|
||||
SERVER_PORT: "80"
|
||||
SPARQL_ENDPOINT: "http://db:8890/sparql"
|
||||
LOGGING_LEVEL: "INFO"
|
||||
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/contacthub/141d9d6b-54af-4d17-b313-8d1c30bc3f5b/ChAdmin"
|
||||
DEFAULT_GRAPH: "http://mu.semte.ch/graphs/privacy-centric-graph"
|
||||
SESSION_GRAPH: "http://mu.semte.ch/graphs/sessions"
|
||||
APP_GRAPH: "http://mu.semte.ch/graphs/organisatieportaal"
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
adressenregister:
|
||||
image: lblod/adressenregister-fuzzy-search-service:0.5.0
|
||||
image: lblod/adressenregister-fuzzy-search-service:0.6.0
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-contact-hub:1.1.0
|
||||
image: lblod/frontend-organization-portal:1.7.0-2
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
@@ -177,3 +180,175 @@ services:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
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: bdevloed/delta-producer-dump-file-publisher:0.5.0-beta
|
||||
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: '42 * * * *' # At minute 42 every hour
|
||||
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
|
||||
################################################################################
|
||||
|
||||
|
||||
################################################################################
|
||||
# MU SEARCH - TODO USE THE CORRECT IMAGE ONCE INHERITANCE IS IN MU SEARCH
|
||||
################################################################################
|
||||
search:
|
||||
image: nbittich/mu-search:wip-inheritance # Bump to fixed version when merged and release to the original repo
|
||||
links:
|
||||
- db:database
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config/search:/config
|
||||
elasticsearch:
|
||||
image: semtech/mu-search-elastic-backend:1.0.1
|
||||
volumes:
|
||||
- ./data/elasticsearch/:/usr/share/elasticsearch/data
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user