Skip to content

Commit

Permalink
Add TODO about not adding datafields to the store
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed May 16, 2024
1 parent d50d967 commit 284527b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dev/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down Expand Up @@ -153,10 +153,10 @@ async function devValidateSingleDatafieldValue() {

// devRunSparqlSelectQueryOnRdfString()
// devRunSparqlConstructQueryOnRdfString()
// devValidateAll()
devValidateAll()
// devValidateOne()
// devValidateOneStrings()
// devValidateUserProfile()
// devExtractMedatada()
// devConvertUserProfileToTurtle()
devValidateSingleDatafieldValue()
// devValidateSingleDatafieldValue()
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 284527b

Please sign in to comment.