diff --git a/dev/dev.js b/dev/dev.js index c6c44d3..d4671e0 100644 --- a/dev/dev.js +++ b/dev/dev.js @@ -13,7 +13,7 @@ import { const DB_DIR = path.join(path.dirname(fileURLToPath(import.meta.url)), "requirement-profiles") const SHACL_DIR = `${DB_DIR}/shacl` -const USER_PROFILE = `${DB_DIR}/user-profile-examples/empty-user-profile.ttl` +const USER_PROFILE = `${DB_DIR}/user-profile-examples/kinderzuschlag-user-profile.ttl` const DATAFIELDS = `${DB_DIR}/datafields.ttl` const MATERIALIZATION = `${DB_DIR}/materialization.ttl` @@ -153,10 +153,10 @@ async function devValidateSingleDatafieldValue() { // devRunSparqlSelectQueryOnRdfString() // devRunSparqlConstructQueryOnRdfString() -// devValidateAll() +devValidateAll() // devValidateOne() // devValidateOneStrings() // devValidateUserProfile() // devExtractMedatada() // devConvertUserProfileToTurtle() -devValidateSingleDatafieldValue() +// devValidateSingleDatafieldValue() diff --git a/src/index.js b/src/index.js index 776c9f2..a141dbb 100644 --- a/src/index.js +++ b/src/index.js @@ -82,7 +82,7 @@ export async function validateOne(userProfile, requirementProfile, datafieldsStr await addRdfStringToStore(userProfile, store) await addRdfStringToStore(requirementProfile, store) await addRdfStringToStore(materializationStr, store) - await addRdfStringToStore(datafieldsStr, store) + await addRdfStringToStore(datafieldsStr, store) // TODO this is not needed anymore? // ----- first validation to identify missing data points ----- let firstReport = await runValidationOnStore(store)