From a79d080eb4de7cc9b94c1f462cc61a1fabe70582 Mon Sep 17 00:00:00 2001 From: Damon Date: Mon, 4 May 2026 13:43:54 +0200 Subject: [PATCH] OP-3774: fix to query --- .../organizations-in-frontend-report.js | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/reports/organizations-in-frontend-report.js b/config/reports/organizations-in-frontend-report.js index 543aea3..1a76c9b 100644 --- a/config/reports/organizations-in-frontend-report.js +++ b/config/reports/organizations-in-frontend-report.js @@ -8,7 +8,7 @@ export default { const reportData = { title: "organisations in frontend", description: "List of the Organisations shown in the frontend", - filePrefix: "exports/organizations InFrontend", + filePrefix: "exports/organizationsInFrontend", }; console.log("Generating organizations in frontend report"); @@ -33,13 +33,13 @@ export default { OPTIONAL { ?bestuur ?site. ?site ?address. - ?address ?provincie + ?address ?provincie. } OPTIONAL {?bestuur ?typeEredienst.} OPTIONAL {?bestuur skos:prefLabel ?label} OPTIONAL { ?bestuur ?org_classification . - ?org_classification skos:prefLabel ?classification + ?org_classification skos:prefLabel ?classification. } OPTIONAL { ?bestuur ?org_status. @@ -48,7 +48,7 @@ export default { FILTER( NOT EXISTS { - ?bestuur org:classification + ?bestuur org:classification . } || EXISTS { @@ -59,7 +59,7 @@ export default { FILTER( NOT EXISTS { - ?bestuur org:classification + ?bestuur org:classification . } ) @@ -69,12 +69,12 @@ export default { const queryResponse = await batchedQuery(queryString); const data = queryResponse.results.bindings.map((row) => ({ - "bestuur": getSafeValue(row, "bestuur"), - "label": getSafeValue(row, "label"), - "classification": getSafeValue(row, "classification"), - "typeEredienst": getSafeValue(row, "typeEredienst"), - "provincie": getSafeValue(row, "provincie"), - "status": getSafeValue(row, "status"), + bestuur: getSafeValue(row, "bestuur"), + label: getSafeValue(row, "label"), + classification: getSafeValue(row, "classification"), + typeEredienst: getSafeValue(row, "typeEredienst"), + provincie: getSafeValue(row, "provincie"), + status: getSafeValue(row, "status"), })); await generateReportFromData(