Compare commits
138 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ab1b278d5 | ||
|
|
f562d711f9 | ||
|
|
1420b1a3e8 | ||
|
|
b9fabc764f | ||
|
|
73492d0217 | ||
|
|
bc9e827703 | ||
|
|
800924db2e | ||
|
|
97361f7f48 | ||
|
|
5bbd9a9d69 | ||
|
|
4435c1d544 | ||
|
|
714994bc3c | ||
|
|
74a0c92b31 | ||
|
|
a9e9e761c0 | ||
|
|
e76f9c1a2e | ||
|
|
3938191666 | ||
|
|
681fa0ce0a | ||
|
|
b4b599d091 | ||
|
|
fd0a417ad1 | ||
|
|
cd2ee5bea3 | ||
|
|
a94bb7f7e2 | ||
|
|
b9be63f193 | ||
|
|
4b45093572 | ||
|
|
6c7e5428dc | ||
|
|
29f0b3e9a1 | ||
|
|
a3dff637e3 | ||
|
|
71b21e4716 | ||
|
|
d49ebea0bd | ||
|
|
d35b9fc3a1 | ||
|
|
80a503c132 | ||
|
|
a0400563da | ||
|
|
369a2ad483 | ||
|
|
50c03a2205 | ||
|
|
2c7fa2d69e | ||
|
|
66c3703f22 | ||
|
|
660c9b6848 | ||
|
|
bf77794d08 | ||
|
|
994c26b58d | ||
|
|
dd3cbc16e8 | ||
|
|
89435073c7 | ||
|
|
5ff3f5b121 | ||
|
|
288bf42aa3 | ||
|
|
178f5c17e6 | ||
|
|
d28cb221da | ||
|
|
8423d24230 | ||
|
|
842e9f7205 | ||
|
|
c562698edf | ||
|
|
a7708255f9 | ||
|
|
697fd814fc | ||
|
|
f30fcfda22 | ||
|
|
26d5a23a3c | ||
|
|
e7129dc41d | ||
|
|
b5b8df6610 | ||
|
|
0616d24ad0 | ||
|
|
94baeb539f | ||
|
|
007b0a35ee | ||
|
|
131ecd4f1e | ||
|
|
c260c5c3df | ||
|
|
723527fb62 | ||
|
|
fc4fcfddf8 | ||
|
|
449204a9d1 | ||
|
|
4252004fc2 | ||
|
|
730f99cf2b | ||
|
|
6223301f6f | ||
|
|
09d499fc01 | ||
|
|
6ef0386a2b | ||
|
|
4edfd3d08a | ||
|
|
410377d3e5 | ||
|
|
6305343672 | ||
|
|
1a0987afeb | ||
|
|
30504c9135 | ||
|
|
cdf6f8f75f | ||
|
|
976b2b02df | ||
|
|
95e737873a | ||
|
|
48b5a82fda | ||
|
|
3b6b6d6b21 | ||
|
|
4691a18407 | ||
|
|
43523ec37d | ||
|
|
f4bd10fa46 | ||
|
|
df5d249246 | ||
|
|
9e3f365ee3 | ||
|
|
41f5b74b8f | ||
|
|
188d7f0e18 | ||
|
|
3052bf8315 | ||
|
|
c34ff82125 | ||
|
|
c483546709 | ||
|
|
ce93e787e6 | ||
|
|
c0e802d1f3 | ||
|
|
0b1d8f3b12 | ||
|
|
1bf7b59905 | ||
|
|
02b0e825f1 | ||
|
|
d569d15360 | ||
|
|
64044b2ce0 | ||
|
|
c0fad917f1 | ||
|
|
857919804d | ||
|
|
a12293e460 | ||
|
|
0ad11a2289 | ||
|
|
ea83f49a0f | ||
|
|
27f240f25c | ||
|
|
ed28ca6983 | ||
|
|
6b89b32e99 | ||
|
|
c7650d6379 | ||
|
|
8e090ca872 | ||
|
|
2e4c0702a6 | ||
|
|
53c5bd1275 | ||
|
|
675a984cc4 | ||
|
|
dc842b7c6b | ||
|
|
e507c31a3d | ||
|
|
a966e25832 | ||
|
|
9367256717 | ||
|
|
aa6b9c803b | ||
|
|
0fd50697f6 | ||
|
|
a8607f9c1a | ||
|
|
e97e0d3477 | ||
|
|
8326d02d3c | ||
|
|
b9911887c2 | ||
|
|
8a1c6323c0 | ||
|
|
bff78b12d6 | ||
|
|
ec749c81dd | ||
|
|
aa7ce23a85 | ||
|
|
0592e10a8c | ||
|
|
c24f56c7cb | ||
|
|
402f7ffce3 | ||
|
|
a169184fca | ||
|
|
23199fc896 | ||
|
|
7901485e01 | ||
|
|
b00983c580 | ||
|
|
0e63fcc8b0 | ||
|
|
6c80037fb5 | ||
|
|
fc6f5139c4 | ||
|
|
3f81847c94 | ||
|
|
1b2268fc6a | ||
|
|
a8274a8925 | ||
|
|
cefdd9aaea | ||
|
|
108e29e4a1 | ||
|
|
52bb3b8d6b | ||
|
|
24e9659c3d | ||
|
|
b676c0a743 | ||
|
|
764cfb6f1c |
@@ -40,6 +40,7 @@ defmodule Acl.UserGroups.Config do
|
||||
"http://lblod.data.gift/vocabularies/organisatie/BestuursorgaanClassificatieCode",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/MandatarisStatusCode",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/BestuurseenheidClassificatieCode",
|
||||
"http://mu.semte.ch/vocabularies/ext/GeregistreerdeOrganisatieClassificatieCode",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/TypeEredienst",
|
||||
"http://www.w3.org/2004/02/skos/core#ConceptScheme",
|
||||
"http://lblod.data.gift/vocabularies/organisatie/BedienaarFinancieringCode",
|
||||
@@ -76,7 +77,8 @@ defmodule Acl.UserGroups.Config do
|
||||
"http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat",
|
||||
"http://www.w3.org/ns/org#Post",
|
||||
"http://www.w3.org/ns/org#ChangeEvent",
|
||||
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie"
|
||||
"http://data.lblod.info/vocabularies/contacthub/AgentInPositie",
|
||||
"http://mu.semte.ch/vocabularies/ext/KboOrganisatie",
|
||||
]
|
||||
|
||||
@shared_protected_type [
|
||||
|
||||
30
config/clb-consumer/contact-data/config.js
Normal file
30
config/clb-consumer/contact-data/config.js
Normal file
@@ -0,0 +1,30 @@
|
||||
const BATCH_SIZE = parseInt(process.env.BATCH_SIZE) || 1000;
|
||||
const MU_CALL_SCOPE_ID_INITIAL_SYNC = process.env.MU_CALL_SCOPE_ID_INITIAL_SYNC || 'http://redpencil.data.gift/id/concept/muScope/deltas/consumer/initialSync';
|
||||
const BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES = process.env.BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES == 'true' ? true : false;
|
||||
const DIRECT_DATABASE_ENDPOINT = process.env.DIRECT_DATABASE_ENDPOINT || 'http://virtuoso:8890/sparql';
|
||||
const MAX_DB_RETRY_ATTEMPTS = parseInt(process.env.MAX_DB_RETRY_ATTEMPTS || 5);
|
||||
const MAX_REASONING_RETRY_ATTEMPTS = parseInt(process.env.MAX_REASONING_RETRY_ATTEMPTS || 5);
|
||||
const SLEEP_BETWEEN_BATCHES = parseInt(process.env.SLEEP_BETWEEN_BATCHES || 100);
|
||||
const SLEEP_TIME_AFTER_FAILED_REASONING_OPERATION = parseInt(process.env.SLEEP_TIME_AFTER_FAILED_REASONING_OPERATION || 10000);
|
||||
const SLEEP_TIME_AFTER_FAILED_DB_OPERATION = parseInt(process.env.SLEEP_TIME_AFTER_FAILED_DB_OPERATION || 60000);
|
||||
|
||||
// Graphs
|
||||
const LANDING_ZONE_GRAPH = process.env.DCR_LANDING_ZONE_GRAPH || `http://mu.semte.ch/graphs/landing-zone/clb-contact-data`;
|
||||
|
||||
// ENDPOINTS
|
||||
const LANDING_ZONE_DATABASE = process.env.DCR_LANDING_ZONE_DATABASE || 'database';
|
||||
const LANDING_ZONE_DATABASE_ENDPOINT = process.env.DCR_LANDING_ZONE_DATABASE_ENDPOINT || `http://${LANDING_ZONE_DATABASE}:8890/sparql`;
|
||||
|
||||
module.exports = {
|
||||
BATCH_SIZE,
|
||||
MU_CALL_SCOPE_ID_INITIAL_SYNC,
|
||||
BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES,
|
||||
DIRECT_DATABASE_ENDPOINT,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
MAX_REASONING_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
SLEEP_TIME_AFTER_FAILED_REASONING_OPERATION,
|
||||
LANDING_ZONE_GRAPH,
|
||||
LANDING_ZONE_DATABASE_ENDPOINT
|
||||
};
|
||||
268
config/clb-consumer/contact-data/delta-context-config.js
Normal file
268
config/clb-consumer/contact-data/delta-context-config.js
Normal file
@@ -0,0 +1,268 @@
|
||||
|
||||
const PREFIXES = `
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX lblodgeneriek: <https://data.lblod.info/vocabularies/generiek/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
PREFIX adms: <http://www.w3.org/ns/adms#>
|
||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
||||
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#>
|
||||
PREFIX prov: <http://www.w3.org/ns/prov#>
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>`
|
||||
|
||||
const contextConfig = {
|
||||
addTypes: {
|
||||
scope: 'all', // 'inserts, 'deletes', 'all' or none. To add rdf:type to subjects of inserts, deletes or both
|
||||
exhausitive: false, // true or false: find all types for a subject, even if one is already present in delta
|
||||
},
|
||||
contextQueries: [
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
subjectType: "org:Site"
|
||||
},
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
${subject} ext:goesInGraph ?graphOne.
|
||||
${subject} ext:goesInGraph ?graphTwo.
|
||||
${subject} ext:goesInGraph ?graphThree.
|
||||
${subject} ext:goesInGraph ?graphFour.
|
||||
} WHERE {
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnitOne org:hasPrimarySite ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnitTwo org:hasSite ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphTwo)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?adminUnitThree org:hasPrimarySite ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?graphThree)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?adminUnitFour org:hasSite ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?graphFour)
|
||||
}
|
||||
}`
|
||||
},
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
subjectType: "schema:ContactPoint"
|
||||
},
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
${subject} ext:goesInGraph ?graphOne.
|
||||
${subject} ext:goesInGraph ?graphTwo.
|
||||
} WHERE {
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?siteOne org:siteAddress ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?siteTwo org:siteAddress ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?graphTwo)
|
||||
}
|
||||
}`
|
||||
},
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
subjectType: "locn:Address"
|
||||
},
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
${subject} ext:goesInGraph ?graphOne.
|
||||
${subject} ext:goesInGraph ?graphTwo.
|
||||
} WHERE {
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?siteOne organisatie:bestaatUit ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?siteTwo organisatie:bestaatUit ${subject}.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?graphTwo)
|
||||
}
|
||||
}`
|
||||
},
|
||||
//Predicate triggers to solve out of order deltas
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
predicateValue: "org:hasSite"
|
||||
},
|
||||
//We assume that only administrative units are in the shared graph of OP due to the need of sharing the prefLabel with worships services
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
${subject} ext:goesInGraph ?graphOne.
|
||||
${subject} ext:goesInGraph ?graphTwo.
|
||||
?site ?pSite ?oSite.
|
||||
?contact ?pContact ?oContact.
|
||||
?address ?pAddress ?oAddress.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
} WHERE {
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
${subject} a ?type.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
${subject} a ?type.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
${subject} a ?type.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?graphTwo)
|
||||
}
|
||||
${subject} org:hasSite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}
|
||||
}`
|
||||
},
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
predicateValue: "org:hasPrimarySite"
|
||||
},
|
||||
//We assume that only administrative units are in the shared graph of OP due to the need of sharing the prefLabel with worships services
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
${subject} ext:goesInGraph ?graphOne.
|
||||
${subject} ext:goesInGraph ?graphTwo.
|
||||
?site ?pSite ?oSite.
|
||||
?contact ?pContact ?oContact.
|
||||
?address ?pAddress ?oAddress.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
} WHERE {
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
${subject} a ?type.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/shared> {
|
||||
${subject} a ?type.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/administrative-unit> AS ?graphOne)
|
||||
}
|
||||
OPTIONAL {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
${subject} a ?type.
|
||||
}
|
||||
BIND(<http://mu.semte.ch/graphs/worship-service> AS ?graphTwo)
|
||||
}
|
||||
${subject} org:hasPrimarySite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}
|
||||
}`
|
||||
},
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
predicateValue: "org:siteAddress"
|
||||
},
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
?contact ?pContact ?oContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
} WHERE {
|
||||
${subject} org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
OPTIONAL {
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
}`
|
||||
},
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
predicateValue: "locn:address"
|
||||
},
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
} WHERE {
|
||||
${subject} locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}`
|
||||
},
|
||||
{
|
||||
trigger: { // subjectType or predicateValue
|
||||
predicateValue: "organisatie:bestaatUit"
|
||||
},
|
||||
queryTemplate: (subject) => `
|
||||
${PREFIXES}
|
||||
CONSTRUCT {
|
||||
?address ?pAddress ?oAddress.
|
||||
} WHERE {
|
||||
${subject} organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}`
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
contextConfig,
|
||||
PREFIXES
|
||||
};
|
||||
104
config/clb-consumer/contact-data/delta-sync-dispatching.js
Normal file
104
config/clb-consumer/contact-data/delta-sync-dispatching.js
Normal file
@@ -0,0 +1,104 @@
|
||||
const {
|
||||
deleteFromPublicGraph,
|
||||
insertIntoPublicGraph,
|
||||
deleteFromSpecificGraphs,
|
||||
insertIntoSpecificGraphs
|
||||
} = require('./util');
|
||||
|
||||
const {
|
||||
LANDING_ZONE_GRAPH
|
||||
} = require('./config')
|
||||
|
||||
const publicTypes = [
|
||||
'<http://lblod.data.gift/vocabularies/organisatie/TypeVestiging>'
|
||||
]
|
||||
|
||||
/**
|
||||
* Dispatch the fetched information to a target graph.
|
||||
* Note: <share://file/data> will be ADDED to it's own graph.
|
||||
* We take only care of adding them, not updating triples, this is a TODO
|
||||
* @param { mu, muAuthSudo } lib - The provided libraries from the host service.
|
||||
* @param { termObjectChangeSets: { deletes, inserts } } data - The fetched changes sets, which objects of serialized Terms
|
||||
* [ {
|
||||
* graph: "<http://foo>",
|
||||
* subject: "<http://bar>",
|
||||
* predicate: "<http://baz>",
|
||||
* object: "<http://boom>^^<http://datatype>"
|
||||
* }
|
||||
* ]
|
||||
* @return {void} Nothing
|
||||
*/
|
||||
async function dispatch(lib, data) {
|
||||
let { termObjectChangeSets, termObjectChangeSetsWithContext } = data;
|
||||
|
||||
// Both arrays are the same length, so we can zip them together for easier processing
|
||||
zippedChangeSets = termObjectChangeSets.map((o, i) => ({
|
||||
original: o,
|
||||
withContext: termObjectChangeSetsWithContext && termObjectChangeSetsWithContext[i]
|
||||
}));
|
||||
|
||||
console.log(`Received ${zippedChangeSets.length} change sets`)
|
||||
|
||||
for (let { original, withContext } of zippedChangeSets) {
|
||||
|
||||
const {public: insertsOnPublic, target: insertsOnGraphs} = separateBetweenTargetAndPublic(original.inserts, withContext.inserts)
|
||||
const {public: deletesOnPublic, target: deletesOnGraphs} = separateBetweenTargetAndPublic(original.deletes, withContext.deletes)
|
||||
|
||||
await deleteFromPublicGraph(lib, deletesOnPublic);
|
||||
await deleteFromSpecificGraphs(lib, deletesOnGraphs);
|
||||
await insertIntoPublicGraph(lib, insertsOnPublic);
|
||||
await insertIntoSpecificGraphs(lib, insertsOnGraphs);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function separateBetweenTargetAndPublic(changes, context) {
|
||||
const changesOnPublic = new Set();
|
||||
const changesOnGraphs = {};
|
||||
for(let change of changes) {
|
||||
const subject = change.subject;
|
||||
const contextTriples = context.filter((context) => context.subject === subject);
|
||||
const graphTriple = contextTriples.find(
|
||||
(context) => context.predicate === '<http://mu.semte.ch/vocabularies/ext/goesInGraph>'
|
||||
&& context.object !== `<${LANDING_ZONE_GRAPH}>`
|
||||
)
|
||||
const otherContextTriples = context.filter(
|
||||
(context) => context.predicate !== '<http://mu.semte.ch/vocabularies/ext/goesInGraph>'
|
||||
&& context.predicate !== '<http://mu.semte.ch/vocabularies/ext/contextDataGoesInGraph>'
|
||||
&& !(context.subject === subject && context.predicate === '<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>')
|
||||
);
|
||||
if(graphTriple) {
|
||||
const graph = graphTriple.object.slice(1,-1); // We have to slice it to remove the "<" and ">"
|
||||
if(change.object !== '') {
|
||||
if(!changesOnGraphs[graph]) {
|
||||
changesOnGraphs[graph] = new Set();
|
||||
}
|
||||
changesOnGraphs[graph].add(`${change.subject} ${change.predicate} ${change.object}.`)
|
||||
}
|
||||
for(let triple of otherContextTriples) {
|
||||
if(triple.object === '') continue;
|
||||
if(!changesOnGraphs[graph]) {
|
||||
changesOnGraphs[graph] = new Set();
|
||||
}
|
||||
changesOnGraphs[graph].add(`${triple.subject} ${triple.predicate} ${triple.object}.`)
|
||||
}
|
||||
}
|
||||
const typeTriple = contextTriples.find(
|
||||
(context) => context.subject === subject
|
||||
&& context.predicate === '<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>'
|
||||
);
|
||||
if(!typeTriple) continue;
|
||||
const type = typeTriple.object;
|
||||
if(publicTypes.includes(type)) {
|
||||
changesOnPublic.add(`${change.subject} ${change.predicate} ${change.object}.`)
|
||||
for(let triple of otherContextTriples) {
|
||||
changesOnPublic.add(`${triple.subject} ${triple.predicate} ${triple.object}.`)
|
||||
}
|
||||
}
|
||||
}
|
||||
return {public: changesOnPublic, target: changesOnGraphs}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
dispatch
|
||||
};
|
||||
69
config/clb-consumer/contact-data/initial-sync-dispatching.js
Normal file
69
config/clb-consumer/contact-data/initial-sync-dispatching.js
Normal file
@@ -0,0 +1,69 @@
|
||||
const { batchedDbUpdate, moveDataAfterInitialSync } = require('./util');
|
||||
const {
|
||||
BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES,
|
||||
DIRECT_DATABASE_ENDPOINT,
|
||||
MU_CALL_SCOPE_ID_INITIAL_SYNC,
|
||||
BATCH_SIZE,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
LANDING_ZONE_GRAPH,
|
||||
} = require('./config');
|
||||
|
||||
const endpoint = BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES ? DIRECT_DATABASE_ENDPOINT : process.env.MU_SPARQL_ENDPOINT;
|
||||
|
||||
/**
|
||||
* Dispatch the fetched information to a target graph.
|
||||
* @param { mu, muAuthSudo } lib - The provided libraries from the host service.
|
||||
* @param { termObjects } data - The fetched quad information, which objects of serialized Terms
|
||||
* [ {
|
||||
* graph: "<http://foo>",
|
||||
* subject: "<http://bar>",
|
||||
* predicate: "<http://baz>",
|
||||
* object: "<http://boom>^^<http://datatype>"
|
||||
* }
|
||||
* ]
|
||||
* @return {void} Nothing
|
||||
*/
|
||||
async function dispatch(lib, data) {
|
||||
const { mu, muAuthSudo } = lib;
|
||||
const { termObjects } = data;
|
||||
|
||||
// Steps:
|
||||
// 1. Write the triples to the landing zone graph - without any mapping or filtering
|
||||
// 2. One-time reasoning run with the full landing zone graph and write the results to the target graph (on-finish)
|
||||
|
||||
if (BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES) {
|
||||
console.warn(`Service configured to skip MU_AUTH!`);
|
||||
}
|
||||
console.log(`Using ${endpoint} to insert triples`);
|
||||
|
||||
if (termObjects.length) {
|
||||
const originalInsertTriples = termObjects.map(o => `${o.subject} ${o.predicate} ${o.object}.`);
|
||||
|
||||
await batchedDbUpdate(
|
||||
muAuthSudo.updateSudo,
|
||||
LANDING_ZONE_GRAPH,
|
||||
originalInsertTriples,
|
||||
{ 'mu-call-scope-id': MU_CALL_SCOPE_ID_INITIAL_SYNC },
|
||||
endpoint,
|
||||
BATCH_SIZE,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
async function onFinishInitialIngest(lib,data) {
|
||||
const { muAuthSudo } = lib;
|
||||
|
||||
console.log(`!! On-finish triggered !!`);
|
||||
|
||||
await moveDataAfterInitialSync(muAuthSudo.updateSudo, endpoint)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
dispatch,
|
||||
onFinishInitialIngest
|
||||
};
|
||||
337
config/clb-consumer/contact-data/util.js
Normal file
337
config/clb-consumer/contact-data/util.js
Normal file
@@ -0,0 +1,337 @@
|
||||
const {
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
LANDING_ZONE_GRAPH,
|
||||
BATCH_SIZE,
|
||||
} = require('./config');
|
||||
|
||||
const prefixes = `
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX lblodgeneriek: <https://data.lblod.info/vocabularies/generiek/>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
PREFIX adms: <http://www.w3.org/ns/adms#>
|
||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
||||
PREFIX organisatie: <https://data.vlaanderen.be/ns/organisatie#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX euvoc: <http://publications.europa.eu/ontology/euvoc#>
|
||||
PREFIX prov: <http://www.w3.org/ns/prov#>
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX ext:<http://mu.semte.ch/vocabularies/ext/>
|
||||
`
|
||||
|
||||
async function batchedDbUpdate(
|
||||
muUpdate,
|
||||
graph,
|
||||
triples,
|
||||
extraHeaders,
|
||||
endpoint,
|
||||
batchSize,
|
||||
maxAttempts,
|
||||
sleepBetweenBatches = 1000,
|
||||
sleepTimeOnFail = 1000,
|
||||
operation = 'INSERT'
|
||||
) {
|
||||
for (let i = 0; i < triples.length; i += batchSize) {
|
||||
console.log(`Inserting triples in batch: ${i}-${i + batchSize}`);
|
||||
|
||||
const batch = triples.slice(i, i + batchSize).join('\n');
|
||||
|
||||
const insertCall = async () => {
|
||||
await muUpdate(`
|
||||
${operation} DATA {
|
||||
GRAPH <${graph}> {
|
||||
${batch}
|
||||
}
|
||||
}
|
||||
`, extraHeaders, endpoint);
|
||||
};
|
||||
|
||||
await operationWithRetry(insertCall, 0, maxAttempts, sleepTimeOnFail);
|
||||
|
||||
console.log(`Sleeping before next query execution: ${sleepBetweenBatches}`);
|
||||
await new Promise(r => setTimeout(r, sleepBetweenBatches));
|
||||
}
|
||||
}
|
||||
|
||||
async function operationWithRetry(callback,
|
||||
attempt,
|
||||
maxAttempts,
|
||||
sleepTimeOnFail) {
|
||||
try {
|
||||
if (typeof callback === "function")
|
||||
return await callback();
|
||||
else // Catch error from promise - not how I would do it normally, but allows re use of existing code.
|
||||
return await callback;
|
||||
}
|
||||
catch (e) {
|
||||
console.log(`Operation failed for ${callback.toString()}, attempt: ${attempt} of ${maxAttempts}`);
|
||||
console.log(`Error: ${e}`);
|
||||
console.log(`Sleeping ${sleepTimeOnFail} ms`);
|
||||
|
||||
if (attempt >= maxAttempts) {
|
||||
console.log(`Max attempts reached for ${callback.toString()}, giving up`);
|
||||
throw e;
|
||||
}
|
||||
|
||||
await new Promise(r => setTimeout(r, sleepTimeOnFail));
|
||||
return operationWithRetry(callback, ++attempt, maxAttempts, sleepTimeOnFail);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
async function insertIntoPublicGraph(lib, statements) {
|
||||
console.log(`Inserting ${statements.length} statements into public graph`);
|
||||
|
||||
await batchedDbUpdate(
|
||||
lib.muAuthSudo.updateSudo,
|
||||
'http://mu.semte.ch/graphs/public',
|
||||
Array.from(statements),
|
||||
{},
|
||||
process.env.MU_SPARQL_ENDPOINT,
|
||||
BATCH_SIZE,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
'INSERT');
|
||||
}
|
||||
|
||||
async function insertIntoSpecificGraphs(lib, statementsWithGraphs) {
|
||||
|
||||
for( let graph in statementsWithGraphs) {
|
||||
console.log(`Inserting ${statementsWithGraphs[graph].length} statements into ${graph} graph`);
|
||||
await batchedDbUpdate(
|
||||
lib.muAuthSudo.updateSudo,
|
||||
graph,
|
||||
Array.from(statementsWithGraphs[graph]),
|
||||
{},
|
||||
process.env.MU_SPARQL_ENDPOINT,
|
||||
BATCH_SIZE,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
'INSERT');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async function deleteFromPublicGraph(lib, statements) {
|
||||
console.log(`Deleting ${statements.length} statements from public graph`);
|
||||
|
||||
await batchedDbUpdate(
|
||||
lib.muAuthSudo.updateSudo,
|
||||
'http://mu.semte.ch/graphs/public',
|
||||
Array.from(statements),
|
||||
{},
|
||||
process.env.MU_SPARQL_ENDPOINT,
|
||||
BATCH_SIZE,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
'DELETE');
|
||||
}
|
||||
|
||||
async function deleteFromSpecificGraphs(lib, statementsWithGraphs) {
|
||||
|
||||
|
||||
for( let graph in statementsWithGraphs) {
|
||||
console.log(`Deleting ${statementsWithGraphs[graph].length} statements from ${graph} graph`);
|
||||
await batchedDbUpdate(
|
||||
lib.muAuthSudo.updateSudo,
|
||||
graph,
|
||||
Array.from(statementsWithGraphs[graph]),
|
||||
{},
|
||||
process.env.MU_SPARQL_ENDPOINT,
|
||||
BATCH_SIZE,
|
||||
MAX_DB_RETRY_ATTEMPTS,
|
||||
SLEEP_BETWEEN_BATCHES,
|
||||
SLEEP_TIME_AFTER_FAILED_DB_OPERATION,
|
||||
'DELETE');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
async function moveDataAfterInitialSync(muUpdate, endpoint) {
|
||||
// Move primary sites admin units
|
||||
await muUpdate(`
|
||||
${prefixes}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnit org:hasPrimarySite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
?contact ?pContact ?oContact.
|
||||
?address ?pAddress ?oAddress.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnit a ?type.
|
||||
}
|
||||
GRAPH <${LANDING_ZONE_GRAPH}> {
|
||||
?adminUnit org:hasPrimarySite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}
|
||||
}
|
||||
}
|
||||
`, undefined, endpoint)
|
||||
|
||||
// Move sites administrative units
|
||||
await muUpdate(`
|
||||
${prefixes}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnit org:hasSite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
?contact ?pContact ?oContact.
|
||||
?address ?pAddress ?oAddress.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnit a ?type.
|
||||
}
|
||||
GRAPH <${LANDING_ZONE_GRAPH}> {
|
||||
?adminUnit org:hasSite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}
|
||||
}
|
||||
}
|
||||
`, undefined, endpoint)
|
||||
|
||||
// Move primary sites worships
|
||||
await muUpdate(`
|
||||
${prefixes}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?adminUnit org:hasPrimarySite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
?contact ?pContact ?oContact.
|
||||
?address ?pAddress ?oAddress.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?adminUnit a ?type.
|
||||
}
|
||||
GRAPH <${LANDING_ZONE_GRAPH}> {
|
||||
?adminUnit org:hasPrimarySite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}
|
||||
}
|
||||
}
|
||||
`, undefined, endpoint)
|
||||
|
||||
// Move sites worships
|
||||
await muUpdate(`
|
||||
${prefixes}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?adminUnit org:hasSite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
?contact ?pContact ?oContact.
|
||||
?address ?pAddress ?oAddress.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
?adminUnit a ?type.
|
||||
}
|
||||
GRAPH <${LANDING_ZONE_GRAPH}> {
|
||||
?adminUnit org:hasSite ?site.
|
||||
?site ?pSite ?oSite.
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
?contact locn:address ?addressContact.
|
||||
?addressContact ?pAddressContact ?oAddressContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site org:siteAddress ?contact.
|
||||
?contact ?pContact ?oContact.
|
||||
}
|
||||
UNION
|
||||
{
|
||||
?site organisatie:bestaatUit ?address.
|
||||
?address ?pAddress ?oAddress.
|
||||
}
|
||||
}
|
||||
}
|
||||
`, undefined, endpoint)
|
||||
|
||||
// Move sites worships
|
||||
await muUpdate(`
|
||||
${prefixes}
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?type a <http://lblod.data.gift/vocabularies/organisatie/TypeVestiging>.
|
||||
?type ?a ?b.
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <${LANDING_ZONE_GRAPH}> {
|
||||
?type a <http://lblod.data.gift/vocabularies/organisatie/TypeVestiging>.
|
||||
?type ?a ?b.
|
||||
}
|
||||
}
|
||||
`, undefined, endpoint)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
batchedDbUpdate,
|
||||
moveDataAfterInitialSync,
|
||||
insertIntoPublicGraph,
|
||||
deleteFromPublicGraph,
|
||||
insertIntoSpecificGraphs,
|
||||
deleteFromSpecificGraphs,
|
||||
};
|
||||
12
config/delta-producer/background-job-initiator/config.json
Normal file
12
config/delta-producer/background-job-initiator/config.json
Normal file
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"name": "organizations",
|
||||
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
|
||||
"dumpFileCreationJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/deltaDumpFileCreation/organizations",
|
||||
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations",
|
||||
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations",
|
||||
"cronPatternDumpJob": "42 * * * *",
|
||||
"cronPatternHealingJob": "0 0 4 * * *",
|
||||
"startInitialSync": true
|
||||
}
|
||||
]
|
||||
@@ -3,7 +3,7 @@
|
||||
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/OrganizationsCacheGraphDump",
|
||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
||||
"fileBaseName": "dump-organizations",
|
||||
"publicationGraphEndpoint": "http://triplestore:8890/sparql",
|
||||
"publicationGraphEndpoint": "http://publication-triplestore:8890/sparql",
|
||||
"targetDcatGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"targetFilesGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"cleanupOldDumps": true
|
||||
@@ -12,7 +12,7 @@
|
||||
"dcatDataSetSubject": "http://data.lblod.info/datasets/delta-producer/dumps/OrganizationsCacheGraphDump",
|
||||
"targetGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
||||
"fileBaseName": "dump-organizations",
|
||||
"publicationGraphEndpoint": "http://triplestore:8890/sparql",
|
||||
"publicationGraphEndpoint": "http://publication-triplestore:8890/sparql",
|
||||
"targetDcatGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"targetFilesGraph": "http://redpencil.data.gift/id/deltas/producer/organizations-deltas",
|
||||
"cleanupOldDumps": true
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"conceptScheme": "http://lblod.data.gift/concept-schemes/0d101f02-609d-4cde-bb07-639d874470c4",
|
||||
"export": [
|
||||
|
||||
{
|
||||
"type": "http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
||||
"strictTypeExport": "true",
|
||||
@@ -13,6 +12,7 @@
|
||||
"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://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
@@ -40,6 +40,7 @@
|
||||
"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://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
@@ -72,6 +73,7 @@
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://www.w3.org/2002/07/owl#sameAs",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/org#changedBy",
|
||||
@@ -98,7 +100,39 @@
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://www.w3.org/ns/adms#identifier"
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"http://www.w3.org/ns/org#hasSite"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/regorg#RegisteredOrganization",
|
||||
"strictTypeExport": "true",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://www.w3.org/2002/07/owl#sameAs",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/org#changedBy",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/ns/org#hasPost",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://www.w3.org/ns/org#resultedFrom",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"https://data.lblod.info/vocabularies/generiek/geplandeEindDatum",
|
||||
"http://www.w3.org/ns/org#purpose"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -371,4 +405,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -65,6 +65,7 @@
|
||||
"http://schema.org/email",
|
||||
"http://schema.org/faxNumber",
|
||||
"http://schema.org/telephone",
|
||||
"http://xmlns.com/foaf/0.1/page",
|
||||
"http://www.w3.org/ns/locn#address"
|
||||
]
|
||||
},
|
||||
@@ -126,6 +127,7 @@
|
||||
],
|
||||
"properties": [
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
@@ -154,6 +156,7 @@
|
||||
],
|
||||
"properties": [
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
@@ -170,6 +173,41 @@
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||
"strictTypeExport": "true",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/worship-service",
|
||||
"http://mu.semte.ch/graphs/shared",
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://data.lblod.info/vocabularies/erediensten/betrokkenBestuur",
|
||||
"http://data.lblod.info/vocabularies/erediensten/denominatie",
|
||||
"http://data.lblod.info/vocabularies/erediensten/grensoverschrijdend",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/wordtBediendDoor",
|
||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://www.w3.org/2002/07/owl#sameAs",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/org#changedBy",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/ns/org#hasPost",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://www.w3.org/ns/org#resultedFrom",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"https://data.lblod.info/vocabularies/generiek/geplandeEindDatum",
|
||||
"http://www.w3.org/ns/org#purpose"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
||||
"strictTypeExport": "true",
|
||||
@@ -179,6 +217,7 @@
|
||||
],
|
||||
"properties": [
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
@@ -192,6 +231,34 @@
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/regorg#RegisteredOrganization",
|
||||
"strictTypeExport": "true",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://www.w3.org/2002/07/owl#sameAs",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/org#changedBy",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/ns/org#hasPost",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://www.w3.org/ns/org#resultedFrom",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"https://data.lblod.info/vocabularies/generiek/geplandeEindDatum",
|
||||
"http://www.w3.org/ns/org#purpose"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan",
|
||||
"strictTypeExport": "true",
|
||||
@@ -317,6 +384,18 @@
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/prov#Location",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/shared"
|
||||
],
|
||||
"properties": [
|
||||
"http://www.w3.org/2000/01/rdf-schema#label",
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://mu.semte.ch/vocabularies/ext/werkingsgebiedNiveau",
|
||||
"http://www.w3.org/2004/02/skos/core#exactMatch"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://lblod.data.gift/vocabularies/organisatie/OrganisatieStatusCode",
|
||||
"graphsFilter": [
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
@@ -46,6 +47,7 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
@@ -84,6 +86,7 @@
|
||||
"http://www.w3.org/2002/07/owl#sameAs",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/org#changedBy",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
@@ -96,6 +99,38 @@
|
||||
"http://www.w3.org/ns/regorg#orgStatus"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://www.w3.org/ns/regorg#RegisteredOrganization",
|
||||
"strictTypeExport": "true",
|
||||
"graphsFilter": [
|
||||
"http://mu.semte.ch/graphs/administrative-unit"
|
||||
],
|
||||
"pathToConceptScheme": [
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/2004/02/skos/core#inScheme"
|
||||
],
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://data.vlaanderen.be/ns/besluit#werkingsgebied",
|
||||
"http://www.opengis.net/ont/geosparql#sfWithin",
|
||||
"http://www.w3.org/2002/07/owl#sameAs",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/ns/adms#identifier",
|
||||
"http://www.w3.org/ns/org#changedBy",
|
||||
"http://www.w3.org/ns/org#classification",
|
||||
"http://www.w3.org/ns/org#hasPost",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
"http://www.w3.org/ns/org#hasSite",
|
||||
"http://www.w3.org/ns/org#hasSubOrganization",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://www.w3.org/ns/org#resultedFrom",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"https://data.lblod.info/vocabularies/generiek/geplandeEindDatum",
|
||||
"http://www.w3.org/ns/org#purpose"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
||||
"graphsFilter": [
|
||||
@@ -105,6 +140,8 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/org#linkedTo",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
"http://www.w3.org/ns/adms#identifier"
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"organizations": {
|
||||
"deltaInterval": 10000,
|
||||
"deltaPath": "/organizations/delta",
|
||||
"errorCreatorUri": "http://lblod.data.gift/services/delta-producer-publication-graph-maintainer-organizations",
|
||||
"exportConfigPath": "/config/organizations/export.json",
|
||||
"filesPath": "/organizations/files",
|
||||
"healingJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/healingOperation/organizations",
|
||||
"initialPublicationGraphSyncJobOperation": "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/initialPublicationGraphSyncing/organizations",
|
||||
"jobsGraph": "http://mu.semte.ch/graphs/jobs",
|
||||
"publicationGraph": "http://redpencil.data.gift/id/deltas/producer/organizations",
|
||||
"publisherUri": "http://data.lblod.info/services/delta-production-json-diff-file-manager/organizations",
|
||||
"queuePollInterval": 3000,
|
||||
"relativeFilePath": "/deltas/organizations",
|
||||
"serveDeltaFiles": true,
|
||||
"skipMuAuthInitialSync": true,
|
||||
"skipMuAuthHealing": true,
|
||||
"useFileDiff": true,
|
||||
"healingInitialBatchSizeInsert": 1000,
|
||||
"useVirtuosoForExpensiveSelects": true,
|
||||
"errorGraph": "http://mu.semte.ch/graphs/jobs",
|
||||
"loginPath": "/organizations/login",
|
||||
"logOutgoingDelta": true
|
||||
}
|
||||
}
|
||||
@@ -22,6 +22,7 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
@@ -42,6 +43,7 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
@@ -61,6 +63,7 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://data.lblod.info/vocabularies/erediensten/typeEredienst",
|
||||
@@ -121,6 +124,7 @@
|
||||
"properties": [
|
||||
"http://mu.semte.ch/vocabularies/core/uuid",
|
||||
"http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
"http://www.w3.org/ns/regorg#legalName",
|
||||
"http://www.w3.org/2004/02/skos/core#altLabel",
|
||||
"http://www.w3.org/ns/regorg#orgStatus",
|
||||
"http://www.w3.org/ns/org#hasPrimarySite",
|
||||
|
||||
@@ -92,7 +92,7 @@ export default [
|
||||
match: {
|
||||
},
|
||||
callback: {
|
||||
url: 'http://delta-producer-pub-graph-maintainer-organizations/delta',
|
||||
url: 'http://delta-producer-publication-graph-maintainer/organizations/delta',
|
||||
method: 'POST'
|
||||
},
|
||||
options: {
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?participant org:memberOf ?association .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?participant org:memberOf ?association .
|
||||
?association org:classification ?class
|
||||
}
|
||||
VALUES ?class {
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/e8294b73-87c9-4fa2-9441-1937350763c9> # Welzijnsvereniging
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/34b5af85-dc9f-468f-9e03-ef89b174c267> # Autonome verzorgingsinstelling
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,11 @@ defmodule Dispatcher do
|
||||
end
|
||||
|
||||
match "/organizations/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/organizations/"
|
||||
Proxy.forward conn, path, "http://resource/organizations/"
|
||||
end
|
||||
|
||||
match "/registered-organizations/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://resource/registered-organizations/"
|
||||
end
|
||||
|
||||
match "/administrative-units/*path", %{ accept: [:json], layer: :api} do
|
||||
@@ -88,6 +92,10 @@ defmodule Dispatcher do
|
||||
Proxy.forward conn, path, "http://cache/organization-classification-codes/"
|
||||
end
|
||||
|
||||
match "/registered-organization-classification-codes/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://cache/registered-organization-classification-codes/"
|
||||
end
|
||||
|
||||
match "/worship-administrative-units/*path", %{ accept: [:json], layer: :api} do
|
||||
Proxy.forward conn, path, "http://resource/worship-administrative-units/"
|
||||
end
|
||||
@@ -219,6 +227,10 @@ defmodule Dispatcher do
|
||||
Proxy.forward conn, path, "http://cache/decision-activities/"
|
||||
end
|
||||
|
||||
match "/kbo-organizations/*path", %{ accept: [:any], layer: :api} do
|
||||
Proxy.forward conn, path, "http://resource/kbo-organizations/"
|
||||
end
|
||||
|
||||
###############
|
||||
# LOGIN
|
||||
###############
|
||||
@@ -304,12 +316,12 @@ defmodule Dispatcher do
|
||||
forward conn, path, "http://uri-info/"
|
||||
end
|
||||
|
||||
post "/create-administrative-unit-relationships/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://construct-administrative-unit-relationships/create-relationships/"
|
||||
post "/construct-organization-relationships/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://construct-organization-relationships/create-relationships/"
|
||||
end
|
||||
|
||||
post "/sync-ovo-number/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://sync-ovo-numbers/sync-from-kbo/"
|
||||
post "/kbo-data-sync/*path", %{ layer: :api_services, accept: %{ json: true } } do
|
||||
forward conn, path, "http://kbo-data-sync/sync-kbo-data/"
|
||||
end
|
||||
|
||||
get "/ldes/*path", %{ layer: :api_services } do
|
||||
@@ -353,7 +365,7 @@ defmodule Dispatcher do
|
||||
#################################################################
|
||||
|
||||
get "/sync/organizations/files/*path" do
|
||||
Proxy.forward conn, path, "http://delta-producer-pub-graph-maintainer-organizations/files/"
|
||||
Proxy.forward conn, path, "http://delta-producer-publication-graph-maintainer/files/"
|
||||
end
|
||||
|
||||
#################################################################
|
||||
|
||||
@@ -2127,34 +2127,6 @@
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH ?g {
|
||||
?addressUri
|
||||
<https://data.vlaanderen.be/ns/adres#Adresvoorstelling.huisnummer> "15";
|
||||
|
||||
<http://www.w3.org/ns/locn#postCode> "8710";
|
||||
<http://www.w3.org/ns/locn#adminUnitL2> "Wielsbeke";
|
||||
<http://www.w3.org/ns/locn#thoroughfare> "Hernieuwenstraat";
|
||||
<https://data.vlaanderen.be/ns/adres#gemeentenaam> "Wielsbeke";
|
||||
<https://data.vlaanderen.be/ns/adres#land> "België";
|
||||
<http://www.w3.org/ns/locn#fullAddress> "Hernieuwenstraat 15, 8710 Wielsbeke, België".
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH ?g {
|
||||
?adminUnit <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?site .
|
||||
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "" .
|
||||
|
||||
?site <https://data.vlaanderen.be/ns/organisatie#bestaatUit> ?boundAddress .
|
||||
|
||||
BIND( ?boundAddress AS ?addressUri )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH ?g {
|
||||
?addressUri
|
||||
|
||||
@@ -1554,31 +1554,3 @@
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3256674504" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.wielsbeke.be/producten/woonzorgcentrum-ter-lembeek" .
|
||||
?contact <http://schema.org/email> "ouderenhuisvesting@wielsbeke.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?adminUnit <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?s ?p ?o .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
VALUES ?g {
|
||||
<http://mu.semte.ch/graphs/administrative-unit>
|
||||
<http://mu.semte.ch/graphs/worship-service>
|
||||
<http://mu.semte.ch/graphs/public>
|
||||
<http://mu.semte.ch/graphs/privacy-centric-graph>
|
||||
<http://mu.semte.ch/graphs/worship-privacy-centric-graph>
|
||||
}
|
||||
graph ?g {
|
||||
?s ?p ?o
|
||||
|
||||
FILTER (isLiteral(?o))
|
||||
FILTER regex(str(?o), "^\\s*$")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?s skos:altLabel ?alt .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?s a besluit:Bestuurseenheid ;
|
||||
skos:altLabel ?alt .
|
||||
FILTER (strLen(?alt) = 0)
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s a ext:RepresentatieveOrgaanClassificatieCode .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s a ext:RepresentatiefOrgaanClassificatieCode .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
?s a ext:RepresentatieveOrgaanClassificatieCode .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
# The producer organizations graph is now in the publication-triplestore
|
||||
# Lets remove it from the main triplestore
|
||||
CLEAR GRAPH <http://redpencil.data.gift/id/deltas/producer/organizations>
|
||||
@@ -0,0 +1,35 @@
|
||||
# The change events related to organisation <http://data.lblod.info/id/besturenVanDeEredienst/a8d9f1a45c11c6761306bdf680349593>
|
||||
# contains some data errors:
|
||||
# - There is a change event result without any corresponding change event. This
|
||||
# causes an error when visiting the change events page for this organisation.
|
||||
# - There are two identical change event results for the same change event. This
|
||||
# causes the change event to be shown twice in the table. (Only on PROD)
|
||||
#
|
||||
# Note: may require restarting the cache before the changes are noticeable.
|
||||
|
||||
PREFIX code: <http://lblod.data.gift/vocabularies/organisatie/>
|
||||
|
||||
# Remove the dangling change event result
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/6346C0C38DE5818A7C9F40D8> ?p ?o .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/6346C0C38DE5818A7C9F40D8> ?p ?o .
|
||||
}
|
||||
}
|
||||
|
||||
# Remove one of the duplicate change event results for the change event
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/63C512F34E1F899807CFFB75> code:veranderingsgebeurtenisResultaat <http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/63C512F74E1F899807CFFB77> .
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/63C512F74E1F899807CFFB77> ?p ?o .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/worship-service> {
|
||||
<http://data.lblod.info/id/veranderingsgebeurtenissen/63C512F34E1F899807CFFB75> code:veranderingsgebeurtenisResultaat <http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/63C512F74E1F899807CFFB77> .
|
||||
<http://lblod.data.info/id/veranderingsgebeurtenis-resultaten/63C512F74E1F899807CFFB77> ?p ?o .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
http://mu.semte.ch/graphs/administrative-unit
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,169 @@
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?orgaanInTime a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> ?uuidOrgaanInTime ;
|
||||
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan ;
|
||||
<http://data.vlaanderen.be/ns/mandaat#bindingStart> "2019-01-01T00:00:00"^^xsd:dateTime .
|
||||
|
||||
?orgaan a <http://data.vlaanderen.be/ns/besluit#Bestuursorgaan> ;
|
||||
<http://mu.semte.ch/vocabularies/core/uuid> ?uuidOrgaan ;
|
||||
<http://www.w3.org/2004/02/skos/core#prefLabel> ?orgaanLabel ;
|
||||
<http://www.w3.org/ns/org#classification> ?classificationOrgaan ;
|
||||
<http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuurseenheid .
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?classificationOrgaan {
|
||||
"http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/013cc838-173a-4657-b1ae-b00c048df943"
|
||||
"http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/b52094ff-21a2-4da8-8dbe-f513365d1528"
|
||||
"http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/41caf7e6-b040-4720-9cc2-a96cfffed5b4"
|
||||
}
|
||||
|
||||
VALUES ?bestuurseenheid {
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e3343492-9960-4dd3-b862-e440eefc305b>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ff0b817b-1155-4fbd-bdb9-9c9dd01657d3>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/81f1473f-9312-4c1d-8fa2-ca0fae3a3a63>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/b222a22b-e0df-465a-a4cc-9aa295ab16c0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/f91c2d02-1aee-4cc2-86bc-a259f2c5f538>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e522cf84-9c67-4355-9710-1f4e680670ca>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/95d99e57-2ee3-4bd6-acef-2dd7187f1fe7>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/a1b090ce-ad45-49cd-b6a6-5483af327e1a>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/9e9392bb-4d4b-4c4e-9465-9cf0c9b701d0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/8a623816-309b-4e61-8463-312b446e5196>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/1de2d733-ef26-44a7-a713-db50fc0b68a3>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/78e7874a-f147-4c99-b6b1-4fdbe076c7b4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/cdc17e8e-4fca-4472-8287-9e8fc2d16754>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/18221696-2f63-4cd1-ae22-e7f4cccbad02>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e9f33f85-f209-4eb8-85e0-498a0f6262a4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/230191b8-fc6d-44b5-8dd5-cc1559f3ef87>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d1b5029b-cc97-404b-9343-ce690ec61737>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/04138978-6255-4556-9ead-d780e13260f8>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/51d266bb-ed87-4ec3-b270-5e6324f5c7b8>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/2d2644c4-5364-4b91-bb02-400ff0a81b33>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d167f09f-5fa3-42a2-9f31-3e9805d3643e>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/a360d661-fa97-45f0-9177-1b787f949b40>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d3d396b1-eef5-43e0-bca4-1d050676b667>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/c87ebc39-e75e-4c51-b881-a10ae9b9283f>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/caa7deeb-4fc3-43dc-94c3-f9364d61d6b5>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/020b6324-1c66-4695-9824-3147f2155982>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/cb1c7564-b85c-48c3-947b-f3ad3acf11e1>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/7931cca5-cfe8-40a6-b8c7-b75f764b4ecd>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/94631cd3-2d39-4e59-a1bf-cdd3e1b5a65b>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/1a61595b-86f4-4273-8a98-7e83c6db6a3f>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/5556dd43-4bf1-4353-a9a2-fa80a5837167>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/2c3e39f6-d918-46d9-b5e9-54d5638b5c70>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/4f156fff-9336-4db9-9673-bb66754227a0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/48e726e6-2172-4039-9956-402993f4b0c3>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ad757c9c-c6a6-48dc-bbf4-1edb35747c90>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/5cc1a29b-0e5a-4697-8273-d57dd2affcb0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/638fb1dd-a775-4894-b5ac-ec2fb975842e>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/0f9a2ebb-ec76-4d33-90d3-e5d5ff943bb6>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ec01680c-f5b2-45f1-83a5-d69f2f9e99ba>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/2d27b3de-40ce-4916-bd25-fa55cac95e28>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/b5a89e11-62c9-4711-bf2f-72bb708e1ea0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/5690341e-4403-4147-93d5-404610a3b74b>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/8fe066bb-1fbe-411e-a0b9-c3c9310ef9b4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/76b9c075-bdad-4eba-9400-3c82f319afa2>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/5b07638d-c577-4594-be40-eea2c2d0e680>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/2cbea71f-c0f0-4e12-bc1b-ff92f1d0e9e5>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/af9b1777-e024-4073-a554-367c7a46b3c5>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/58b924aa-7a30-45c8-bd8d-969874fb7594>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/c7a77151-6ccd-44ae-94bc-f672afe6c955>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e9b7e65a-e8b7-4e0d-974d-d0ce6b3680e8>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/864cf263-bb92-46d7-8b2b-67915c7dbb15>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/90198cd7-efa7-44ac-86f9-2b76780104d4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/0f0cc871-995d-4bb8-9233-881306d16e39>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/b9836a4f-da03-4cd3-8357-beb96f4f914d>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/db78dac7-7f5e-4142-97ed-8b7a2551642c>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/4835fd43-8e5c-4d6f-aa15-19802a8a62f6>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/0345303a-d263-4968-ac0d-87afb25705f1>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/3a97d38a-caad-4103-a9b2-03c8b20a1a24>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d553356e-6fea-4cce-8672-8911ed6f3f69>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/7342b333-0b43-4b6e-8fa1-23dd621c12d2>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/f2e9e201-c56e-411a-8b0a-51559c4ae4ec>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/420403f8-ac95-4735-8ebc-f89d8f5aebad>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/55cbe84f-9b1a-4b38-ad6f-11f14308bf82>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ea0df93d-5c08-4632-a19c-7dd041c907b5>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e4a09b76-1240-46f8-b62b-f0749d4f9863>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/948effa4-02be-41a7-a03c-cebf2090dfef>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e75f70ef-59b0-4477-9214-6468bd55680a>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d406c84e-1e51-4c84-91ff-64b1ff5d033c>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ca4273ad-7c01-4f0a-868e-aa88b6100613>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/f51c6111-e595-43a7-9052-6cf9cebf8fa6>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/4af2a02c-a967-4f6a-b27e-de5ee1620855>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/1be7bd51-51cd-4bb3-87fb-751968f9f2d4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/811968a7-0934-4bbd-b6cb-59e344735d73>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/89436bea-d90a-4e2f-8559-b0a591858fcb>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/0f52cd08-faac-4e31-bd78-d1f961c35808>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/7a2ed4b5-e47f-4ee3-8c69-8a7219c6192a>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d7d3061a-35f3-43f7-83a6-42b98c16e676>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/4c07f1be-7e00-48ea-ac70-7d9186273fe3>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/c48ce652-7d32-4a24-b072-b0e15db57e78>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/cd5b169d-28bc-48cf-aeef-a5113692b2ae>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/52cda968-eba4-4ae7-b5d8-63099d9ae809>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/187b463a-1e2b-4df6-9475-9abd7b8e5483>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e9b771a5-4956-45e8-b151-762d56db70b4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/79df50cd-320a-434d-a1e2-a7386165f31b>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/8fd8c217-6484-48c0-a64d-916ba7eb0dbe>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/81377f0c-b234-47d8-ba00-7b04454559e4>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/8305b1d1-a3f5-40fc-948b-ab8414957033>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/9da77bee-26ab-40b7-a755-eb4b67d5ff88>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/cbdec98b-778d-42f3-adeb-d205a3ae95f7>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/dbb3145c-199f-4dd1-b246-1327b39dafc7>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/de5638d3-8b5c-4301-8ae1-0a2b60063681>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d24aefec-7341-4575-9f40-e90289065609>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/f833e6f0-b80c-4d5d-a16d-e915c7ac7c5f>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/f046264d-b893-47d2-9769-137567f417d1>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/e12812a2-7c7c-41b2-935b-477df9df404a>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/65c07cc9-8697-47b8-ac9c-981eeedcec09>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/a60e73d2-2b6e-4cf0-a0f6-1969cf6d2ff1>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/7f027136-6e25-4227-aaab-a6e26029aab0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/88e78916-959a-4f89-b899-2243b19afc87>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/74753c7c-e56a-4f86-bb1f-5c0c266743e2>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/78298b3b-1dea-4ff5-beb8-36a67cd2b796>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/2efb2fd5-7e41-4f61-a340-5960513333d9>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/4be9881b-95e0-403a-bb1f-407a5ebd301e>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/5f14a83e-2b98-44f0-8f40-8fc618cc98ab>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/d42c8aed-4561-49f3-8d35-dbe0fde2553c>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/26253779-837e-4d62-bb36-0632a8410b99>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/03baec8b-0a59-4777-9026-082d20e8afd1>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/272ab4f1-a97a-4de6-b9b5-01d4684c5dc5>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/58c2b34f-93b8-469f-8403-6d97d17c1fb6>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/8a298ce1-6d90-46e5-8f53-6a5dc7d07d5b>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/15220ec1-0b3c-4e03-adbc-24275b080090>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ef414b37-e738-4824-8148-36fa8026b884>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/62032c60-45a9-4cb9-b73c-57588a14504f>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/be94b266-7a49-4743-ac86-094ac480048b>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/a228b316-43a5-4f46-a329-b08c80872994>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/182e4511-617a-4538-af9f-b066d98031f6>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/3112f575-5f0d-4cee-86e7-ce389ce2d4d0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/23f5dbc2-c225-4022-9544-1cae61df43fe>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/b1d15b1f-2e0e-45ec-b593-4bd3f71ed322>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/fd2dbeb4-2f86-493f-97b8-b1915f5be0d1>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/511438e3-205d-477c-9591-1f5b9def2561>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/c76fa344-e6de-4eb9-be4d-c15f67d59d63>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/5cf725ad-e71d-4938-b220-935f8cc31b70>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/381835b5-34c9-4ea2-ae7b-ea1f27b57ed0>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/39748b34-378f-4af5-84eb-8056eac606ba>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/15bc6194-c9a7-473c-a416-586523c5e940>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/ccee18af-7d0f-448c-8895-c050df95257f>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/b37c7cc4-8517-4c72-a4c8-9844508bad09>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/79f9c3e3-bea6-40d1-b155-f3ccb04ec0f9>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/56e67791-e5e9-4bf2-97a6-651e3247c77a>
|
||||
<http://data.lblod.info/id/geregistreerdeOrganisaties/8b2e8749-98a9-450f-b2f1-7a93115ef513>
|
||||
}
|
||||
|
||||
?bestuurseenheid a <http://www.w3.org/ns/regorg#RegisteredOrganization> ;
|
||||
skos:prefLabel ?bestuurseenheidLabel .
|
||||
|
||||
?classificationOrgaan skos:prefLabel ?classificationOrgaanLabel .
|
||||
|
||||
BIND(CONCAT(?classificationOrgaanLabel, " ", ?bestuurseenheidLabel) as ?orgaanLabel)
|
||||
|
||||
BIND(MD5(CONCAT(?bestuurseenheid, ?classificationOrgaan, "orgaanInTime")) as ?uuidOrgaanInTime)
|
||||
BIND(MD5(CONCAT(?bestuurseenheid, ?classificationOrgaan, "orgaan")) as ?uuidOrgaan)
|
||||
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", ?uuidOrgaanInTime)) AS ?orgaanInTime)
|
||||
BIND(IRI(CONCAT("http://data.lblod.info/id/bestuursorganen/", ?uuidOrgaan)) AS ?orgaan)
|
||||
}
|
||||
;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,866 @@
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3214639730" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.wzga.be/" .
|
||||
?contact <http://schema.org/email> "info@wzga.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0696665975" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3232228400" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.amate.be/over-amate/woonzorg-wuustwezel" .
|
||||
?contact <http://schema.org/email> "info.amandina@amate.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0696899963" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3255237455" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://delinderonse.be/" .
|
||||
?contact <http://schema.org/email> "wzc@delinderonse.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0212165922" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3252251320" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.waasmunster.be/product/197/woonzorgcentrum-t-heuverveld" .
|
||||
?contact <http://schema.org/email> "info@samenouder.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0698838775" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3224472747" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "http://www.metsense.be/nl/onze-uitbatingen#buurtrestaurants" .
|
||||
?contact <http://schema.org/email> "buurtrestaurant@tvondel.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0712777279" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3251488172" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.dezonnewende.gvo.be/nl/home/" .
|
||||
?contact <http://schema.org/email> "dezonnewende@gvo.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0735627214" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3215321741" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.duffel.be/huishoudhulp" .
|
||||
?contact <http://schema.org/email> "dco.duffel@skynet.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0462239939" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3237606060" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://vitaz.be/" .
|
||||
?contact <http://schema.org/email> "info@vitaz.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0881291322" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3257208071" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://wieltjesgracht.be/" .
|
||||
?contact <http://schema.org/email> "info@wieltjesgracht.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0262925527" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3251237111" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azdelta.be/nl" .
|
||||
?contact <http://schema.org/email> "info@azdelta.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0505931808" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3232177111" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.zna.be/nl" .
|
||||
?contact <http://schema.org/email> "communicatie@zna.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0862382656" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3250277530" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://terluchte.be/" .
|
||||
?contact <http://schema.org/email> "info@terluchte.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0738896510" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3211335577" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.jessazh.be/" .
|
||||
?contact <http://schema.org/email> "info@jessazh.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0821142117" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3214406011" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azturnhout.be/" .
|
||||
?contact <http://schema.org/email> "info@azturnhout.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0897191602" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3214246111" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azherentals.be/" .
|
||||
?contact <http://schema.org/email> "directiesecretariaat@azherentals.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0821734213" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3255336111" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azoudenaarde.be/" .
|
||||
?contact <http://schema.org/email> "info@azoudenaarde.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0870757023" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.zmk.be/index.html" .
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0475777476" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3222546400" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azjanportaels.be/nl" .
|
||||
?contact <http://schema.org/email> "info@azjanportaels.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0267386438" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3256636363" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azgroeninge.be/start" .
|
||||
?contact <http://schema.org/email> "info@azgroeninge.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0472222625" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3214234085" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.het-pareltje.be/" .
|
||||
?contact <http://schema.org/email> "info@het-pareltje.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0883325451" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.svkbodukam.be/" .
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0865010069" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3215226855" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.svkonderdak.be/" .
|
||||
?contact <http://schema.org/email> "info@svkonderdak.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0473360790" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3214254580" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "http://www.terkempen.be/" .
|
||||
?contact <http://schema.org/email> "info@terkempen.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0871619135" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.wzcdebuurt.be/" .
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0870855409" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3232943734" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.sensespraktijkhuis.be/" .
|
||||
?contact <http://schema.org/email> "info@sensespraktijkhuis.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0632607670" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3228010180" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.ahasverus.be/" .
|
||||
?contact <http://schema.org/email> "directie@ahasverus.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0471364174" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3216885864" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://onshartkloptvooru.be/voorziening/deycken-brug/" .
|
||||
?contact <http://schema.org/email> "algemeen@deyckenbrug.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0861157387" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3237661340" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "http://www.drietakt.be/" .
|
||||
?contact <http://schema.org/email> "info@drietakt.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0476803795" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3216791000" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.korian.be/nl/woonzorgcentra/kor/131-woonzorgzone-de-kouter" .
|
||||
?contact <http://schema.org/email> "info@wzzdekouter.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0848738221" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3251655278" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.amphora.gvo.be/nl/home/" .
|
||||
?contact <http://schema.org/email> "amphora@gvo.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0833161902" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3256264434" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.vzwmentor.be/" .
|
||||
?contact <http://schema.org/email> "info@mentorvzw.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0472751175" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3250826636" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.zorg-en-welzijn-zedelgem.gvo.be/" .
|
||||
?contact <http://schema.org/email> "info@zwz.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0832024923" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3293113000" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.wzczilverbos.be/" .
|
||||
?contact <http://schema.org/email> "info@wzczilverbos.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0644984078" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3253667137" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.vanlierde-wzc.be/" .
|
||||
?contact <http://schema.org/email> "onthaal@wzcvanlierde.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0633854022" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3251567301" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "http://www.blijvelde.be/" .
|
||||
?contact <http://schema.org/email> "info@blijvelde.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0566983014" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3289206597" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://wil.be/nl" .
|
||||
?contact <http://schema.org/email> "info@svkhetscharnier.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0881602118" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3259416111" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.azoostende.be/" .
|
||||
?contact <http://schema.org/email> "info@azoostende.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0800023336" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3253724111" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.olvz.be/nl/praktisch" .
|
||||
?contact <http://schema.org/email> "webmaster@olvz-aalst.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "1005154085" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3289480100" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://gerkenberg.be/" .
|
||||
?contact <http://schema.org/email> "info@gerkenberg.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0867804659" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contact <http://schema.org/telephone> "tel:+3215237393" .
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.dekringwinkel.be/zuiderkempen" .
|
||||
?contact <http://schema.org/email> "info@dekringwinkelzuiderkempen.be" .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0459644990" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
|
||||
?contact <http://xmlns.com/foaf/0.1/page> "https://www.kaagent.be/nl" .
|
||||
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?id ;
|
||||
<http://www.w3.org/ns/org#hasPrimarySite> ?primarySite .
|
||||
?id <http://www.w3.org/2004/02/skos/core#notation> "KBO nummer" ;
|
||||
<https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> "0823319370" .
|
||||
|
||||
?primarySite <http://www.w3.org/ns/org#siteAddress> ?contact .
|
||||
|
||||
?contact <http://schema.org/contactType> "Primary" .
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,28 @@
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX generiek: <https://data.vlaanderen.be/ns/generiek#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX adms: <http://www.w3.org/ns/adms#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?participant org:memberOf ?association .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?participant adms:identifier ?idParticipant .
|
||||
FILTER NOT EXISTS { ?participant a ext:KboOrganisatie . }
|
||||
?idParticipant skos:notation ?kboLabel ;
|
||||
generiek:gestructureerdeIdentificator/generiek:lokaleIdentificator ?kboNumber .
|
||||
|
||||
?association mu:uuid "384b48dc-6860-49b4-a9ef-efa557299950" .
|
||||
|
||||
FILTER (?kboLabel IN ("KBO nummer"@nl, "KBO nummer"))
|
||||
|
||||
VALUES ?kboNumber {
|
||||
"0212183243"
|
||||
"0537951706"
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,17 @@
|
||||
INSERT DATA {
|
||||
GRAPH <http://mu.semte.ch/graphs/public> {
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/e8294b73-87c9-4fa2-9441-1937350763c9> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # Welzijnsvereniging
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/34b5af85-dc9f-468f-9e03-ef89b174c267> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # Autonome verzorgingsinstelling
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/82250452-83a0-48f4-89cc-b430320493ce> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # Ziekenhuisvereniging
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/35833ba2-7371-400b-8df2-2912f66fb153> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # Vereniging of vennootschap voor sociale dienstverlening
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/82fd21dc-e8bb-4d13-a010-f4a12358ef10> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # Woonzorgvereniging of woonzorgvennootschap
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/2ad46df5-5c79-4d67-84d5-604c1377231e> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # PEVA gemeente
|
||||
|
||||
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/088784b6-e188-48bf-b94f-94665f9e1f53> <http://www.w3.org/2004/02/skos/core#inScheme> <http://lblod.data.gift/concept-schemes/10caf4a4-1ff5-4c05-917e-56489910d68b> . # PEVA provincie
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
PREFIX adres: <https://data.vlaanderen.be/ns/adres#>
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
|
||||
# Remove incorrect address triples
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?address adres:Adresvoorstelling.huisnummer "15" ;
|
||||
locn:postCode "8710" ;
|
||||
locn:adminUnitL2 "West-Vlaanderen" ;
|
||||
locn:thoroughfare "Hernieuwenstraat" ;
|
||||
locn:fullAddress "Hernieuwenstraat 15, 8710 Wielsbeke, België" ;
|
||||
adres:gemeentenaam "Wielsbeke" .
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?address {
|
||||
<http://data.lblod.info/id/adressen/5ab4e6f7-d793-4262-81b6-b84f867c18ae> # AGB LEUVEN (Parkeerbedrijf)
|
||||
<http://data.lblod.info/id/adressen/76a69cd2-f447-4372-8dd5-79c917d0040d> # AGB MECHELEN (Exploitatie)
|
||||
<http://data.lblod.info/id/adressen/af5d342d-0b4c-46fb-bee3-ce46dee74d1f> # AGB MECHELEN (Patrimonium)
|
||||
<http://data.lblod.info/id/adressen/63c85a14-4ee4-4299-b0c1-b3a907ff1ebf> # AGB Renov'O
|
||||
<http://data.lblod.info/id/adressen/df102cb4-8abb-4588-a199-1ce22c211812> # AGB STEKENE
|
||||
<http://data.lblod.info/id/adressen/6cff33b8-6aff-436c-aa34-e9d32d446934> # Vrijetijdsbedrijf Knokke-Heist AG
|
||||
}
|
||||
}
|
||||
|
||||
# Insert the correct the provinces
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
<http://data.lblod.info/id/adressen/5ab4e6f7-d793-4262-81b6-b84f867c18ae> locn:adminUnitL2 "Vlaams-Brabant" . # AGB LEUVEN (Parkeerbedrijf)
|
||||
<http://data.lblod.info/id/adressen/76a69cd2-f447-4372-8dd5-79c917d0040d> locn:adminUnitL2 "Antwerpen" . # AGB MECHELEN (Exploitatie)
|
||||
<http://data.lblod.info/id/adressen/af5d342d-0b4c-46fb-bee3-ce46dee74d1f> locn:adminUnitL2 "Antwerpen" . # AGB MECHELEN (Patrimonium)
|
||||
<http://data.lblod.info/id/adressen/63c85a14-4ee4-4299-b0c1-b3a907ff1ebf> locn:adminUnitL2 "West-Vlaanderen" . # AGB Renov'O (located in Oostende)
|
||||
<http://data.lblod.info/id/adressen/df102cb4-8abb-4588-a199-1ce22c211812> locn:adminUnitL2 "Oost-Vlaanderen" . # AGB STEKENE
|
||||
<http://data.lblod.info/id/adressen/6cff33b8-6aff-436c-aa34-e9d32d446934> locn:adminUnitL2 "West-Vlaanderen" . # Vrijetijdsbedrijf Knokke-Heist AG
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
DELETE {
|
||||
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
|
||||
?contactPoint schema:telephone "tel:+3256674504" ;
|
||||
foaf:page "https://www.wielsbeke.be/producten/woonzorgcentrum-ter-lembeek" ;
|
||||
schema:email "ouderenhuisvesting@wielsbeke.be" .
|
||||
}
|
||||
} WHERE {
|
||||
VALUES ?contactPoint {
|
||||
<http://data.lblod.info/id/contact-punten/f5df2649-afba-4cbb-8e97-b3a46e0f5c88> # AGB LEUVEN (Parkeerbedrijf)
|
||||
<http://data.lblod.info/id/contact-punten/58aa2df7-2c48-4dc8-ba60-da72748bcff1> # AGB MECHELEN (Exploitatie)
|
||||
<http://data.lblod.info/id/contact-punten/0a3a1313-511d-41a9-a1f3-32f41f2e613c> # AGB MECHELEN (Patrimonium)
|
||||
<http://data.lblod.info/id/contact-punten/82e65e70-2c3b-4e3c-8f39-ce6f05ec42ea> # AGB Renov'O
|
||||
<http://data.lblod.info/id/contact-punten/364d8e1a-cb18-4970-aeaf-5f6f307370ad> # AGB STEKENE
|
||||
<http://data.lblod.info/id/contact-punten/0d680616-e2a3-41af-bfeb-c76992552c5c> # Vrijetijdsbedrijf Knokke-Heist AG
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?identifier .
|
||||
?identifier ?pi ?oi .
|
||||
?structured ?ps ?os .
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH ?g {
|
||||
{
|
||||
# Select one identifier by organization and local identifier
|
||||
SELECT ?org ?li (MAX(?i) AS ?keepIdentifier) WHERE {
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?i .
|
||||
?i <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator>/<https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> ?li .
|
||||
} GROUP BY ?org ?li
|
||||
}
|
||||
|
||||
?org <http://www.w3.org/ns/adms#identifier> ?identifier .
|
||||
?identifier <https://data.vlaanderen.be/ns/generiek#gestructureerdeIdentificator> ?structured .
|
||||
?structured <https://data.vlaanderen.be/ns/generiek#lokaleIdentificator> ?li .
|
||||
|
||||
FILTER(?identifier != ?keepIdentifier)
|
||||
|
||||
# All properties of the duplicate identifier and structured identifier
|
||||
?identifier ?pi ?oi .
|
||||
?structured ?ps ?os .
|
||||
}
|
||||
|
||||
VALUES ?g {
|
||||
<http://mu.semte.ch/graphs/worship-service>
|
||||
<http://mu.semte.ch/graphs/administrative-unit>
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,7 @@ PREFIX persoon_loket: <http://data.vlaanderen.be/ns/persoon#>
|
||||
PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX string: <http://www.w3.org/2000/10/swap/string#>
|
||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
||||
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
|
||||
|
||||
|
||||
# DL and OP both use persoon:gebruikteVoornaam but with different semantics (!)
|
||||
|
||||
@@ -391,6 +391,11 @@
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"classification": {
|
||||
"predicate": "org:classification",
|
||||
"target": "organization-classification-codes",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"identifiers": {
|
||||
"predicate": "adms:identifier",
|
||||
"target": "identifiers",
|
||||
@@ -487,6 +492,12 @@
|
||||
"target": "organizations",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
},
|
||||
"kbo-organization": {
|
||||
"predicate": "owl:sameAs",
|
||||
"target": "kbo-organizations",
|
||||
"cardinality": "one",
|
||||
"inverse": true
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/organisaties/"
|
||||
@@ -495,11 +506,6 @@
|
||||
"class": "besluit:Bestuurseenheid",
|
||||
"super": ["organizations"],
|
||||
"relationships": {
|
||||
"classification": {
|
||||
"predicate": "org:classification",
|
||||
"target": "administrative-unit-classification-codes",
|
||||
"cardinality": "one"
|
||||
},
|
||||
"governing-bodies": {
|
||||
"predicate": "besluit:bestuurt",
|
||||
"target": "governing-bodies",
|
||||
@@ -529,6 +535,11 @@
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/bestuurseenheden/"
|
||||
},
|
||||
"registered-organizations": {
|
||||
"class": "regorg:RegisteredOrganization",
|
||||
"super": ["organizations"],
|
||||
"new-resource-base": "http://data.lblod.info/id/geregistreerdeOrganisaties/"
|
||||
},
|
||||
"organization-classification-codes": {
|
||||
"class": "ext:OrganizationClassificationCode",
|
||||
"attributes": {
|
||||
@@ -544,6 +555,11 @@
|
||||
"super": ["organization-classification-codes"],
|
||||
"new-resource-base": "http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/"
|
||||
},
|
||||
"registered-organization-classification-codes": {
|
||||
"class": "ext:GeregistreerdeOrganisatieClassificatieCode",
|
||||
"super": ["organization-classification-codes"],
|
||||
"new-resource-base": "http://data.vlaanderen.be/id/concept/GeregistreerdeOrganisatieClassificatieCode/"
|
||||
},
|
||||
"worship-administrative-units": {
|
||||
"class": "ere:EredienstBestuurseenheid",
|
||||
"super": ["administrative-units"],
|
||||
@@ -597,6 +613,32 @@
|
||||
"super": ["worship-administrative-units"],
|
||||
"new-resource-base": "http://data.lblod.info/id/centraleBesturenVanDeEredienst/"
|
||||
},
|
||||
"kbo-organizations": {
|
||||
"class": "ext:KboOrganisatie",
|
||||
"super": ["organizations"],
|
||||
"attributes": {
|
||||
"rechtsvorm": {
|
||||
"type": "string",
|
||||
"predicate": "ext:rechtsvorm"
|
||||
},
|
||||
"start-date": {
|
||||
"type": "date",
|
||||
"predicate": "ext:startDate"
|
||||
},
|
||||
"modified": {
|
||||
"type": "date",
|
||||
"predicate": "dc_terms:modified"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"organization": {
|
||||
"predicate": "owl:sameAs",
|
||||
"target": "organizations",
|
||||
"cardinality": "one"
|
||||
}
|
||||
},
|
||||
"new-resource-base": "http://data.lblod.info/id/kboOrganisaties/"
|
||||
},
|
||||
"representative-bodies": {
|
||||
"class": "ere:RepresentatiefOrgaan",
|
||||
"super": ["organizations"],
|
||||
|
||||
@@ -754,14 +754,15 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "unit",
|
||||
"on_path": "units",
|
||||
"type": "organization",
|
||||
"on_path": "organizations",
|
||||
"rdf_type": [
|
||||
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||
"http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
|
||||
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan"
|
||||
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
||||
"http://www.w3.org/ns/regorg#RegisteredOrganization"
|
||||
],
|
||||
"properties": {
|
||||
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
|
||||
@@ -727,14 +727,15 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "unit",
|
||||
"on_path": "units",
|
||||
"type": "organization",
|
||||
"on_path": "organizations",
|
||||
"rdf_type": [
|
||||
"http://data.vlaanderen.be/ns/besluit#Bestuurseenheid",
|
||||
"http://data.lblod.info/vocabularies/erediensten/EredienstBestuurseenheid",
|
||||
"http://data.lblod.info/vocabularies/erediensten/CentraalBestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/BestuurVanDeEredienst",
|
||||
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan"
|
||||
"http://data.lblod.info/vocabularies/erediensten/RepresentatiefOrgaan",
|
||||
"http://www.w3.org/ns/regorg#RegisteredOrganization"
|
||||
],
|
||||
"properties": {
|
||||
"name": "http://www.w3.org/2004/02/skos/core#prefLabel",
|
||||
|
||||
@@ -51,9 +51,9 @@ services:
|
||||
restart: "no"
|
||||
uri-info:
|
||||
restart: "no"
|
||||
delta-producer-bg-jobs-initiator-organizations:
|
||||
delta-producer-background-jobs-initiator:
|
||||
restart: "no"
|
||||
delta-producer-pub-graph-maintainer-organizations:
|
||||
delta-producer-publication-graph-maintainer:
|
||||
restart: "no"
|
||||
search:
|
||||
restart: "no"
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
restart: "no"
|
||||
organizations-sync-with-sharepoint:
|
||||
restart: "no"
|
||||
construct-administrative-unit-relationships:
|
||||
construct-organization-relationships:
|
||||
restart: "no"
|
||||
delta-producer-bg-jobs-initiator-worship-posts:
|
||||
restart: "no"
|
||||
@@ -92,7 +92,7 @@ services:
|
||||
ldes-backend:
|
||||
environment:
|
||||
BASE_URL: "http://localhost/ldes/"
|
||||
sync-ovo-numbers:
|
||||
kbo-data-sync:
|
||||
restart: "no"
|
||||
# use this to test acmidm
|
||||
# tlsproxy:
|
||||
|
||||
@@ -175,13 +175,13 @@ services:
|
||||
links:
|
||||
- db:database
|
||||
adressenregister:
|
||||
image: lblod/adressenregister-fuzzy-search-service:0.7.0
|
||||
image: lblod/adressenregister-fuzzy-search-service:0.8.0
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-organization-portal:1.23.0
|
||||
image: lblod/frontend-organization-portal:1.25.0
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
@@ -206,10 +206,10 @@ services:
|
||||
image: semtech/mu-file-service:3.2.0
|
||||
volumes:
|
||||
- ./data/files:/share
|
||||
labels:
|
||||
- "logging=true"
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
jobs-controller:
|
||||
@@ -257,13 +257,15 @@ services:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
construct-administrative-unit-relationships:
|
||||
image: lblod/construct-administrative-unit-relationships-service:0.1.7
|
||||
construct-organization-relationships:
|
||||
image: lblod/construct-organization-relationships-service:1.0.0
|
||||
environment:
|
||||
START_DATE_WORSHIP_GOVERNING_BODY: "2023-04-01T00:00:00"
|
||||
END_DATE_WORSHIP_GOVERNING_BODY: "2026-03-31T00:00:00"
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
reasoner:
|
||||
@@ -298,8 +300,8 @@ services:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
sync-ovo-numbers:
|
||||
image: lblod/sync-ovo-numbers-service:0.1.0
|
||||
kbo-data-sync:
|
||||
image: lblod/sync-wegwijs-organization-service:2.0.2
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
@@ -318,6 +320,8 @@ services:
|
||||
volumes:
|
||||
- ./data/publication-triplestore:/data
|
||||
- ./config/publication-triplestore/virtuoso.ini:/data/virtuoso.ini
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
delta-producer-dump-file-publisher:
|
||||
@@ -327,57 +331,39 @@ services:
|
||||
- ./data/files:/share
|
||||
links:
|
||||
- db:database
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
|
||||
################################################################################
|
||||
# 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/jobs"
|
||||
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.15.4
|
||||
delta-producer-background-jobs-initiator:
|
||||
image: lblod/delta-producer-background-jobs-initiator:1.0.1
|
||||
volumes:
|
||||
- ./config/delta-producer/background-job-initiator:/config
|
||||
links:
|
||||
- db:database
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
delta-producer-publication-graph-maintainer:
|
||||
image: lblod/delta-producer-publication-graph-maintainer:1.1.1-rc.1
|
||||
environment:
|
||||
MAX_BODY_SIZE: "50mb"
|
||||
JOBS_GRAPH: "http://mu.semte.ch/graphs/jobs"
|
||||
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
|
||||
SERVE_DELTA_FILES: "true"
|
||||
PUBLISHER_URI: "http://data.lblod.info/services/delta-production-json-diff-file-manager/organizations"
|
||||
DELTA_INTERVAL_MS: 10000
|
||||
PRETTY_PRINT_DIFF_JSON: "true"
|
||||
ERROR_GRAPH: "http://mu.semte.ch/graphs/jobs"
|
||||
PUBLICATION_VIRTUOSO_ENDPOINT: "http://publication-triplestore:8890/sparql"
|
||||
PUBLICATION_MU_AUTH_ENDPOINT: "http://publication-triplestore:8890/sparql"
|
||||
SUDO_QUERY_RETRY_FOR_HTTP_STATUS_CODES: "404,500,503"
|
||||
CONFIG_SERVICES_JSON_PATH: '/config/publication-graph-maintainer/config.json'
|
||||
volumes:
|
||||
- ./config/delta-producer/organizations:/config
|
||||
- ./config/delta-producer:/config
|
||||
- ./data/files/:/share
|
||||
links:
|
||||
- db:database
|
||||
- triplestore:virtuoso
|
||||
labels:
|
||||
- "logging=true"
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
################################################################################
|
||||
# DELTA ORGANIZATIONS: END
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# DELTA ORGANIZATIONS PUBLIC INFO: START
|
||||
@@ -425,6 +411,8 @@ services:
|
||||
- db:database
|
||||
- triplestore:virtuoso
|
||||
restart: always
|
||||
labels:
|
||||
- "logging=true"
|
||||
logging: *default-logging
|
||||
################################################################################
|
||||
# DELTA ORGANIZATIONS PUBLIC INFO: END
|
||||
@@ -474,6 +462,8 @@ services:
|
||||
- db:database
|
||||
- triplestore:virtuoso
|
||||
restart: always
|
||||
labels:
|
||||
- "logging=true"
|
||||
logging: *default-logging
|
||||
################################################################################
|
||||
# DELTA PUBLIC INFORMATION: END
|
||||
@@ -523,6 +513,8 @@ services:
|
||||
- db:database
|
||||
- triplestore:virtuoso
|
||||
restart: always
|
||||
labels:
|
||||
- "logging=true"
|
||||
logging: *default-logging
|
||||
################################################################################
|
||||
# DELTA WORSHIP POSTS: END
|
||||
@@ -535,7 +527,7 @@ services:
|
||||
# LOKET MANDATARISSEN CONSUMERS
|
||||
################################################################################
|
||||
mandatarissen-consumer:
|
||||
image: lblod/delta-consumer:0.0.17-rc.7
|
||||
image: lblod/delta-consumer:0.0.24
|
||||
environment:
|
||||
DCR_SERVICE_NAME: "mandatarissen-consumer"
|
||||
DCR_SYNC_BASE_URL: "https://loket.lblod.info" # replace with link to Loket API
|
||||
@@ -566,7 +558,7 @@ services:
|
||||
# LOKET LEIDINGGEVENDEN CONSUMERS
|
||||
################################################################################
|
||||
leidinggevenden-consumer:
|
||||
image: lblod/delta-consumer:0.0.18
|
||||
image: lblod/delta-consumer:0.0.24
|
||||
environment:
|
||||
DCR_SERVICE_NAME: "leidinggevenden-consumer"
|
||||
DCR_SYNC_BASE_URL: "https://loket.lblod.info" # replace with link to Loket API
|
||||
@@ -597,7 +589,7 @@ services:
|
||||
# LOKET WORSHIP SENSITIVE CONSUMERS
|
||||
################################################################################
|
||||
worship-services-sensitive-consumer:
|
||||
image: lblod/delta-consumer:0.0.17-rc.7
|
||||
image: lblod/delta-consumer:0.0.24
|
||||
environment:
|
||||
DCR_SYNC_BASE_URL: "https://loket.lblod.info/"
|
||||
DCR_SERVICE_NAME: "worship-services-sensitive-consumer"
|
||||
@@ -608,7 +600,8 @@ services:
|
||||
DCR_DISABLE_INITIAL_SYNC: "true"
|
||||
BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES: "true"
|
||||
DCR_SYNC_FILES_PATH: "/sync/worship-services-sensitive/files"
|
||||
BATCH_SIZE: 1000
|
||||
BATCH_SIZE: 50
|
||||
SLEEP_BETWEEN_BATCHES: 10
|
||||
DCR_KEEP_DELTA_FILES: "true"
|
||||
DCR_ENABLE_DELTA_CONTEXT: "true"
|
||||
DCR_LANDING_ZONE_DATABASE: "triplestore"
|
||||
@@ -624,6 +617,37 @@ services:
|
||||
- triplestore:virtuoso
|
||||
logging: *default-logging
|
||||
|
||||
################################################################################
|
||||
# CLB CONSUMERS
|
||||
################################################################################
|
||||
clb-contact-data-consumer:
|
||||
image: lblod/delta-consumer:0.0.18
|
||||
environment:
|
||||
DCR_SYNC_BASE_URL: "https://dev.contactgegevens-loket.lblod.info/"
|
||||
DCR_SERVICE_NAME: "clb-contact-data-consumer"
|
||||
DCR_SYNC_DATASET_SUBJECT: "http://data.lblod.info/datasets/delta-producer/dumps/ContactGegevensCacheGraphDump"
|
||||
DCR_INITIAL_SYNC_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/consumer/contactData"
|
||||
DCR_DELTA_SYNC_JOB_OPERATION: "http://redpencil.data.gift/id/jobs/concept/JobOperation/deltas/consumer/contactDataDeltaFileSyncing"
|
||||
DCR_JOB_CREATOR_URI: "http://data.lblod.info/services/id/clb-contact-data-consumer"
|
||||
DCR_DISABLE_INITIAL_SYNC: "false"
|
||||
BYPASS_MU_AUTH_FOR_EXPENSIVE_QUERIES: "true"
|
||||
DCR_SYNC_FILES_PATH: "/sync/contact-data/files"
|
||||
BATCH_SIZE: 1000
|
||||
DCR_KEEP_DELTA_FILES: "true"
|
||||
DCR_ENABLE_DELTA_CONTEXT: "true"
|
||||
DCR_LANDING_ZONE_DATABASE: "triplestore"
|
||||
DCR_LANDING_ZONE_GRAPH: "http://mu.semte.ch/graphs/landing-zone/clb-contact-data"
|
||||
volumes:
|
||||
- ./config/clb-consumer/contact-data:/config/triples-dispatching/custom-dispatching
|
||||
- ./data/files/consumer-files/clb-contact-data:/consumer-files/
|
||||
restart: always
|
||||
labels:
|
||||
- "logging=true"
|
||||
links:
|
||||
- db:database
|
||||
- triplestore:virtuoso
|
||||
logging: *default-logging
|
||||
|
||||
################################################################################
|
||||
# DELTA CONSUMERS: END
|
||||
################################################################################
|
||||
@@ -662,7 +686,7 @@ services:
|
||||
# MU SEARCH
|
||||
################################################################################
|
||||
search:
|
||||
image: semtech/mu-search:0.9.1
|
||||
image: semtech/mu-search:0.10.0-beta.5
|
||||
links:
|
||||
- db:database
|
||||
restart: always
|
||||
|
||||
0
scripts/reset-elastic.sh
Normal file → Executable file
0
scripts/reset-elastic.sh
Normal file → Executable file
Reference in New Issue
Block a user