Merge pull request #313 from lblod/feature/onboarding-igs

Onboarding igs
This commit is contained in:
Claire Lovisa
2023-08-01 14:47:59 +02:00
committed by GitHub
8 changed files with 6245 additions and 4 deletions

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/public

View File

@@ -0,0 +1,14 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix mu: <http://mu.semte.ch/vocabularies/core/> .
@prefix ns2: <http://mu.semte.ch/vocabularies/core/> .
@prefix ns3: <http://data.vlaanderen.be/id/conceptscheme/> .
@prefix ns4: <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/> .
@prefix ns5: <http://lblod.data.gift/vocabularies/organisatie/> .
ns4:4b8450cf-a326-4c66-9e63-b4ec10acc7f6
mu:uuid "4b8450cf-a326-4c66-9e63-b4ec10acc7f6";
rdf:type ns5:BestuurseenheidClassificatieCode ;
skos:prefLabel "Opdrachthoudende vereniging met private deelname" ;
skos:topConceptOf ns3:BestuurseenheidClassificatieCode ;
skos:inScheme ns3:BestuurseenheidClassificatieCode .

View File

@@ -0,0 +1 @@
http://mu.semte.ch/graphs/administrative-unit

View File

@@ -0,0 +1,12 @@
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/public> {
<http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/41caf7e6-b040-4720-9cc2-a96cfffed5b4>
ext:appliesWithin
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/b156b67f-c5f4-4584-9b30-4c090be02fdc> ,
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/d01bb1f6-2439-4e33-9c25-1fc295de2e71> ,
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/cd93f147-3ece-4308-acab-5c5ada3ec63d> ,
<http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/4b8450cf-a326-4c66-9e63-b4ec10acc7f6> .
}
}

View File

@@ -26,7 +26,7 @@
?p ?o .
}.
# Functionarissen should be linked to a agb, apb, gemeente, district, provincie or ocmw only (FOR NOW)
# Functionarissen should be linked to an igs, agb, apb, gemeente, district, provincie or ocmw only (FOR NOW)
{
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
@@ -111,6 +111,61 @@
?p ?o .
}.
{
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
<http://www.w3.org/ns/org#holds> ?bestuursfunctie ;
?p ?o .
?orgaanInTime <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?bestuursfunctie ;
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
?bestuur <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/b156b67f-c5f4-4584-9b30-4c090be02fdc> .
} => {
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
?p ?o .
}.
{
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
<http://www.w3.org/ns/org#holds> ?bestuursfunctie ;
?p ?o .
?orgaanInTime <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?bestuursfunctie ;
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
?bestuur <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/d01bb1f6-2439-4e33-9c25-1fc295de2e71> .
} => {
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
?p ?o .
}.
{
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
<http://www.w3.org/ns/org#holds> ?bestuursfunctie ;
?p ?o .
?orgaanInTime <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?bestuursfunctie ;
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
?bestuur <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/cd93f147-3ece-4308-acab-5c5ada3ec63d> .
} => {
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
?p ?o .
}.
{
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
<http://www.w3.org/ns/org#holds> ?bestuursfunctie ;
?p ?o .
?orgaanInTime <http://data.lblod.info/vocabularies/leidinggevenden/heeftBestuursfunctie> ?bestuursfunctie ;
<https://data.vlaanderen.be/ns/generiek#isTijdspecialisatieVan> ?orgaan .
?orgaan <http://data.vlaanderen.be/ns/besluit#bestuurt> ?bestuur .
?bestuur <http://www.w3.org/ns/org#classification> <http://data.vlaanderen.be/id/concept/BestuurseenheidClassificatieCode/4b8450cf-a326-4c66-9e63-b4ec10acc7f6> .
} => {
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris> ;
?p ?o .
}.
# Mandatarissen should be linked to a gemeente, district, provincie or ocmw only (FOR NOW)

View File

@@ -18,6 +18,8 @@
"mandaat": "http://data.vlaanderen.be/ns/mandaat#",
"besluit": "http://data.vlaanderen.be/ns/besluit#",
"lblodlg": "http://data.lblod.info/vocabularies/leidinggevenden/",
"lblodorg": "https://data.lblod.info/vocabularies/organisatie/",
"lblodgeneriek": "https://data.lblod.info/vocabularies/generiek/",
"dc_terms": "http://purl.org/dc/terms/",
"foaf": "http://xmlns.com/foaf/0.1/",
"skos": "http://www.w3.org/2004/02/skos/core#",
@@ -26,7 +28,8 @@
"ch": "http://data.lblod.info/vocabularies/contacthub/",
"code": "http://lblod.data.gift/vocabularies/organisatie/",
"ext": "http://mu.semte.ch/vocabularies/ext/",
"geo": "http://www.opengis.net/ont/geosparql#"
"geo": "http://www.opengis.net/ont/geosparql#",
"nacebel": "http://data.gift/vocabularies/nace-bel/"
},
"resources": {
"people": {
@@ -374,6 +377,14 @@
"alternative-name": {
"type": "string",
"predicate": "skos:altLabel"
},
"expected-end-date": {
"type": "date",
"predicate": "lblodgeneriek:geplandeEindDatum"
},
"purpose": {
"type": "string",
"predicate": "org:purpose"
}
},
"relationships": {
@@ -452,6 +463,27 @@
"target": "organizations",
"cardinality": "one",
"inverse": true
},
"sector": {
"predicate": "dc_terms:isPartOf",
"target": "sectors",
"cardinality": "many"
},
"activities": {
"predicate": "regorg:orgActivity",
"target": "nace-bel-codes",
"cardinality": "many"
},
"participates-in": {
"predicate": "org:memberOf",
"target": "organizations",
"cardinality": "many"
},
"has-participants": {
"predicate": "org:memberOf",
"target": "organizations",
"cardinality": "many",
"inverse": true
}
},
"new-resource-base": "http://data.lblod.info/id/organisaties/"
@@ -1003,6 +1035,30 @@
}
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"sectors": {
"class": "code:Sector",
"attributes": {
"label": {
"type": "string",
"predicate": "skos:prefLabel"
}
},
"new-resource-base": "http://lblod.data.gift/concepts/"
},
"nace-bel-codes": {
"class": "nacebel:NaceBelCode",
"attributes": {
"label": {
"type": "string",
"predicate": "skos:prefLabel"
},
"code": {
"type": "string",
"predicate": "skos:notation"
}
},
"new-resource-base": "http://data.relance.lblod.info/id/nace-bel/"
}
}
}
}

View File

@@ -219,7 +219,7 @@ services:
volumes:
- ./config/jobs-controller/:/config/
construct-administrative-unit-relationships:
image: lblod/construct-administrative-unit-relationships-service:0.1.3
image: lblod/construct-administrative-unit-relationships-service:0.1.4
environment:
START_DATE_WORSHIP_GOVERNING_BODY: "2023-04-01T00:00:00"
END_DATE_WORSHIP_GOVERNING_BODY: "2026-03-31T00:00:00"