āØData Quality Management report requirements (Central) Worship Services
Requirements for reports to check the data quality on the production environment.
SPARQL queries available on Gitbook: https://github.com/bdevloed/op-data-quality
Legend
ā 20 results = Manual check and data manipulation of 20 records in Excel
ā no result = OK = No manual check needed. The results table is empty.
ā ERROR = Couldn't create a result via the sparql query, an error message was shown
Missing data available in Excel tables in SharePoint folder 05b_Data_Quality_WorshipServices_SPARQLqueries
Errors to be checked.
1. Administrative Units
1.1. Core data of a (central) worship service
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
āāš“ A clear issue
Completeness
1.1.1. A count and list of an active (central) worship service without a KBO number ā 18 results
1.1.2. A count and list of an active (central) worship service without a - complete - address for their Primary Site (Province, Gemeente, Postal code, Street and Street number) ā 1 result
1.1.3. A count and list of (central) worship service without a type of worship service ā no result = OK
1.1.4. A count and list of (central) worship service without a status ā no result = OK
Uniqueness
1.1.5. A count and list of all types of administrative units with a non unique KBO number ā 12 results
1.1.6.A count and list of all types of administrative unitswith a non uniqueSharePoint identificator ā4 resultsOK - Because it cannot be changed on SharePoint
š A potential issue
Completeness
1.1.7. A count and list of an active (central) worship service without a primary or secondary telephone number for the related Primary Site ā 1.927 results OK - Low priority
1.1.8. A count and list of active (central) worship services without a SharePoint identificator ā 1 result OK - Low priority
1.1.9. A count and list of active (central) worship services without a Representative body (Representatief Orgaan) ā no result = OK
Uniqueness
1.1.10. šØāšA count and list of all types of all administrative units with a non unique name ā ERROR - Yassin 12/8/'22 - indeed, still not working
Yassin 30/8/'22 - now I get this error: - Error (#502)
Extra queries
1.1.11. A count and list of (central) worship services that have no primary site selected Nordine TO DO: created on 24/08/2022
1.2. Local Municipal Involvement
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
š“ A clear issue
Completeness
1.2.1 šØāšA count and list of - active - worship services that don't have the local involvement of the type of 'toezichthoudend' with a percentage higher than 0%.
ā Yassin 12/8/'22 - CB's need to be excluded!
Yassin 30/8/'22 - Only needs to contain active or in oprichting organizations not inactive organizations
Uniqueness
1.2.2 A count and list of worship services that have the local involvement of the type of 'toezichthoudend en financierend' more than once.
ā no result = OK
Why? Only one gemeente or province can have the 'toezichthoudend en financierend' relationship with a (central) worship service
1.2.3 A count and list of worship services that have more than one local involvement relationship with the same administrative unit.
ā 1 result = OK - case where Brussels needs to be added, and we added Vilvoorde twice instead
Why? It is not possible for a gemeente or province to have more than one type of local involvement (type betrokkenheid) with the same worship service.
Accuracy
1.2.4 A count and list of worship services with "Grensoverschrijdend=No" of the type Roman-Catholic, Protestant, Anglican or Israeli that have more than one local involvement relationship ā 1 result
Should be limited to the type "Anglican" or "Roman-catholic" or "Protestant" or "Israeli"
1.2.5 A count and list of worship services with "Grensoverschrijdend=Yes" that has only one local involvement relationship ā no result = OK
1.2.6 A count and list of worship services that has the local involvement of the type of 'toezichthoudend en financierend' with a percentage higher than 100% combined. ā no result = OK
1.2.7 : A count and list of worship services that has the local involvement of the type of 'toezichthoudend en financierend' of the type "Orthodox" or "Islamic" that is related to a "Gemeente" ā no result = OK
1.2.8 : A count and list of worship services that has the local involvement of the type of 'toezichthoudend en financierend' of the type "Anglican" or "Roman-catholic" or "Protestant" or "Israeli" that is related to a "Province" ā no result = OK - got back results of cathedrals - experts are informed of this
1.2.9 : A count and list of worship services that has the local involvement of the type of 'adviserend' of the type "Anglican" or "Roman-catholic" or "Protestant" or "Israeli" ā no result = OK
1.2.10: A count and list of active (central) worship services that have a local involvement with an organisation that is not active. Why do we need this? ā 2 results (14/03/2023: informed the business to change this in OP)
There might be non-active municipalities due to mergers. The new municipality should be linked to the (central) worship service.
This has an impact on the business rules used in Loket. In WOP the non active worship services are not shown.
1.3. Bestuursorganen
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
š“ A clear issue
Completeness
1.3.1 A count and list of an active (central) worship services with no active governing body (bestuursorgaan)
ā no result = OK
1.3.2 A count and list of an active (central) worship services with more than 1 active governing body (bestuursorgaan)
ā no result = OK
1.3.3 A count and list of active bestuursorganen of an inactive (central) worship service ā 47 results OK, best to be solved with an automatic script if (central) worship service is put to inactive
1.3.4 A count and list of active bestuursorganen of an active (central) worship service without an end date ā no result = OK
1.3.5 A count and list of - active - bestuursorganen of an active (central) worship service without a start and an end date ā no result = OK
Yassin Boullauazan: 1.3.4 has the same results as 1.3.5 (to double check by Boris?)
Claire, 26/08/22: I double checked, the query seems correct and gives different results on dev (800 without end date, 798 without start AND end date)
š A potential issue
1.3.6 A count and list of active bestuursorganen of an active (central) worship service without a start date ā 2.301 results
ā Yassin 30/8/'22 - I expect only "active" bestuursorganen to be included in the results
1.3.7 šØāšA count and list of bestuursorganen of an active (central) worship service where the difference between start and end date is lower than 2 years ā 42 results OK - this is possible due to corona election delay
1.3.8 šØāšA count and list of bestuursorganen of a (central) worship service with more than
76 active members (Question: Is this the same in every type of religion? Maybe we can specify this) ā no result = OK??????
Claire, 26/08/22: Indeed, not OK, the query was wrong because if was considering only positions with an end date and it was counting the persons and not the mandatarissen. I prepared a fix.
Sofie - 13/07/22: Can you ask Boris for extra queries?
Yassin 30/8/'22 - Sofie M - regarding?
In order to refine the number of check on - active - members. We need to discuss this with Peggy. This is dependent on the type of worship service.
YB - 10/5/'22 update:
Artikel 5. - De kerkraad bestaat uit vijf leden en de door het erkend representatief orgaan aangestelde verantwoordelijke van de parochie of zijn vervanger, die er van rechtswege deel van uitmaakt.
Artikel 82. - De bestuursraad bestaat uit vijf verkozen leden en de predikant of zijn vervanger, die in de kerkgemeente zijn ambt uitoefent, die er van rechtswege deel van uitmaakt.
Artikel 190. - De kerkfabriekraad bestaat uit vijf verkozen leden en de kerkbedienaar of zijn vervanger, die in de parochie zijn ambt uitoefent, die er van rechtswege deel van uitmaakt.
Artikel 233 - Het comitƩ bestaat uit vijf verkozen leden en de eerste imam of zijn vervanger, die in de islamitische gemeenschap zijn ambt uitoefent, die er van rechtswege deel van uitmaakt.
Why?
Loket (and OP) uses a codelist viewing the "bestuursorganen in a bestuursperiode" in a codelist. The start- and end-date is also important to know, to be able to add a position to the correct bestuursorgaan.
1.4. Mandates & their ContactInfo
Peggy: ISD is responsible for this part for the worship service (for the data correction). Managing the mandates is a high-effort task. Key positions are probably in SP. Updates happen based on 'notulen', but not for missing, this is caused by data correction.
Sofie M - this is a seperate ticket for me to investigate (Yassin)
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
the governing body to which a mandate is being related to
if possible the name of the position
Sofie 15/07/22: Reminder ... the contact details of the 'bestuursleden' need to be added by the business via the copy mechanism. I've created a new ticket for this https://binnenland.atlassian.net/browse/OP-1603
Only worship services have a penningmeester. Central worship services don't have that position in the governing body.
š“ A clear issue
Completeness
1.4.2 A count and list (for each type of position) of - active - governing bodies with an active 'voorzitter', 'secretaris' and/or 'penningmeester' without a primary or secondary phone number
Validity
1.4.4šØāšA count and list of active bestuursorgaan where the difference between the start and planned or effective end date for a mandate is bigger than 3 years1.4.4.A = ā 285 results (difference between start and planned end date)
1.4.4.B = ā 1 result (difference between start and effective end date)
Sofie 15/7/22: Query 1.4.4 doesn't exist anymore, it has been split into A and B
1.4.5 A count and list of active bestuursorgaan where the end date of the bestuursorganen is earlier than the effective/planned end date of a position, that is part of that bestuursorgaan. ā 472 results
1.4.6 šØāšA count and list of active bestuursorgaan where the start date of the bestuursorganen is later than the start date of a position, that is part of that bestuursorgaan. ā 285 results
1.4.7 A count and list of active mandates where the planned end date (geplande einddatum) is earlier than the start date (start mandaat). We should make a validation rule for this ā 54 results
1.4.8 A count and list of active mandates where the effective end date (effectieve einddatum) is earlier than the start date (start mandaat). We should make a validation rule for this ā 53 results
š A potential issue
1.4.9šØāšA count and list of active mandates (part of active bestuursorganen) where the difference between the start and planned or effective end date is lower than 2 years (Validity)1.4.9.A = (difference between start and effective end date) ā 66 results
1.4.9.B = (difference between start and planned end date) ā 65 results
Sofie 15/7/22: Query 1.4.9 doesn't exist anymore, it has been split into A and B
Sofie 15/07/2022 update: The full address problem has been solved via:
Why?
ISD and LOW need to be able to contact a president or secretary in case of urgent issues. For LF the penningmeester is an ideal contact point. The old decree stipulates that LF in case of financial audit the penningmeester needs to receive a letter regarding their book keeping.
š©1.5. š½ Ministers & their ContactInfo
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
š“ A clear issue
Completeness
1.5.1 šØāšA count and list (for each type of position) of active worship services without at least one active minister ā 1604 results
1.5.2 šØāšA count and list (for each type of position) of active worship services with active ministers without a start date (startdatum) ā 1604 results
1.5.3 šØāšA count and list of active ministers where the end date (
geplandeeinddatum) is earlier than the start date (start mandaat). We should make a validation rule for this. ā no results
š A potential issue
1.5.4 šØāšA count and list (for each type of position) of active worship services with a minister without a primary/secondary phone number ā 114 results
25/08/2022: query fix requested in https://binnenland.atlassian.net/browse/OP-1694
1.5.5 šØāšA count and list (for each type of position) of active worship services with a minister without an address ā 126 results
25/08/2022: query fix requested in https://binnenland.atlassian.net/browse/OP-1694
1.5.6 šØāšA count and list (for each type of position) of active worship services with a minister without an email address ā 126 results
25/08/2022: query fix requested in https://binnenland.atlassian.net/browse/OP-1694
1.5.7. A count and list of positions 'Imam in rang' in a worship service that has the status 'in oprichting'
Why do we need this? All worship services that have the status āin oprichtingā can only have the position āWaarnemend Imamā and not an āImam in rang'. āWaarnemend Imam' is a recently added position. So previously the end-users couldnāt select this option. Instead, they choose one of the available options: āEerste Imam in rangā, āTweede Imam in rangā or āDerde Imam in rangā.
Why?
ISD would like to have an overview of active ministers. This data however is currently not at hand.
Sofie 15/07/22: I added a flag to make it clear that the ministers quality check is currently blocked and no Excel overviews have been made. Can we use an other source to add this data?
Yassin 12/08/22: Is it possible to explain why it is blocked? After running the scripts it seems that ISD needs to do some data management hence there are wrongly registered position types used
1.5. Related organisations
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
š“ A clear issue
Accuracy
1.5.1: A count and list of (central) worship services that have related organisations that are not active. Why do we need this?
There might be non-active municipalities due to mergers. The new municipality should be linked to the (central) worship service. This has to be done manually and might be forgotten.
2. Persons
If a list is provided for the following items, we would like the list to also contain the following data:
uri of the (central) worship service
label of the (central) worship service
the type of worship service
the province of the primary site
š“ A clear issue
Completeness
2.1 A count and list of persons that don't have a position related to them (šØāšfixed) ā 116 results
2.2 šØāšA count and list (for each type of position) of - active - governing bodies
with personswithout positions (bestuursfunctie) ā 36 resultsWhy? This issue (compared to the first point) is more acute for end-users
ā ERROR - Yassin 30/8/'22 - It contains inactive organizations
š A potential issue
Uniqueness
2.3 šØāšA count and list of persons that have a matching first and last name
Ideally, a fuzzy matching, so that capital letters, accents on characters are also deemed as a match
Note in query: # the query is heavy and seems to go through when we run it via virtuoso but not via the SPARQL endpoint Claire - 26/08/2022: The query is already as light as it can
2.4 šØāšA count and list of persons that are related to positions that are all inactive (thus all have an end date in the past) ā 4.037 results
2.5 A count and list of
personspositions of persons without municipality in the address ā 9.106 results Sofie 15/07/22: I think we should only search for active positions. Change query?2.6 A count and list of
personspositions of persons without province in the address ā 14.239 results Sofie 15/07/22: I think we should only search for active positions. Change query? Can this be solved automatically? We we add an address now via CRAB, the province appears automatically.
Why?
We want to avoid having duplicate persons. Additionally, we want to check if there are persons that have no active positions, that can be considered for archiving.
Last updated