From eadeebc894290d96208582e64233248d1869ec92 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 11 Feb 2024 11:49:35 -0500 Subject: [PATCH 1/7] Add github action to codespell master on push and PRs --- .github/workflows/codespell.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..eeacead --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +# Codespell configuration is within .codespellrc +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2 From c5ee2f411271db30325daaf077b1a401fa8da9f8 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 11 Feb 2024 11:49:35 -0500 Subject: [PATCH 2/7] Add rudimentary codespell config --- .codespellrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..b9cfd75 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,6 @@ +[codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = .git,*.svg,*.css,*.min.*,.codespellrc +check-hidden = true +# ignore-regex = +# ignore-words-list = From 831e8b1422909c283c6a2579c03aadbe0793761f Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 11 Feb 2024 11:57:40 -0500 Subject: [PATCH 3/7] Custom skips -- primarily due to comments in German --- .codespellrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.codespellrc b/.codespellrc index b9cfd75..fd6f876 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,6 +1,8 @@ [codespell] # Ref: https://github.com/codespell-project/codespell#using-a-config-file -skip = .git,*.svg,*.css,*.min.*,.codespellrc +# Some files are with comments in German, so decided to skip entire databus-collection-manager.js +skip = .git,*.svg,*.css,*.min.*,.codespellrc,*.css.map,dist,databus-collection-manager.js check-hidden = true -# ignore-regex = +# lines with umlauts or ist -- German +ignore-regex = .*([üä]|\b[Ii]st\b|finde lokale|Streitbeilegungsverfahren).* # ignore-words-list = From 93f36820a792e44970fcebb67e572e990f187da4 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 11 Feb 2024 11:59:56 -0500 Subject: [PATCH 4/7] modulus typo --- server/app/common/utils/server-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app/common/utils/server-utils.js b/server/app/common/utils/server-utils.js index c8f3d0d..035cf7c 100644 --- a/server/app/common/utils/server-utils.js +++ b/server/app/common/utils/server-utils.js @@ -19,7 +19,7 @@ class ServerUtils { var exponentHex = exponentRaw.stream.hexDump(exponentStart, exponentEnd); var exponent = Hex.decode(exponentHex); - return { success: true, msg: { moduls: modulus, exponent: exponent } }; + return { success: true, msg: { modulus: modulus, exponent: exponent } }; } catch (err) { console.log(err) From c168b17e39bb0eecb80f63adb93b50979723bc76 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 11 Feb 2024 12:00:20 -0500 Subject: [PATCH 5/7] [DATALAD RUNCMD] 'occur only once' typo === Do not change lines below === { "chain": [], "cmd": "git-sedi 'occure only once' 'occur only once'", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- docs/artifact.md | 6 +++--- docs/collection.md | 2 +- docs/group.md | 2 +- docs/version.md | 2 +- model/artifact.php | 6 +++--- model/collection.php | 2 +- model/generated/shacl/artifact.shacl | 6 +++--- model/generated/shacl/collection.shacl | 2 +- model/generated/shacl/group.shacl | 2 +- model/generated/shacl/version.shacl | 2 +- model/group.php | 2 +- model/version.php | 2 +- server/app/common/res/shacl/artifact.shacl | 6 +++--- server/app/common/res/shacl/collection.shacl | 2 +- server/app/common/res/shacl/group.shacl | 2 +- server/app/common/res/shacl/version.shacl | 2 +- 16 files changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/artifact.md b/docs/artifact.md index 97286b4..b31a306 100644 --- a/docs/artifact.md +++ b/docs/artifact.md @@ -79,7 +79,7 @@ dct:title sh:path dct:title ; sh:severity sh:Violation ; sh:maxLength 100 ; - sh:message "dct:title must have less than 100 characters and each language must occure only once."@en ; + sh:message "dct:title must have less than 100 characters and each language must occur only once."@en ; sh:uniqueLang true ; ] . ``` @@ -117,7 +117,7 @@ dct:abstract sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once."@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once."@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . @@ -156,7 +156,7 @@ dct:description sh:property [ sh:path dct:description ; sh:severity sh:Violation ; - sh:message "Each language of dct:description must occure only once."@en ; + sh:message "Each language of dct:description must occur only once."@en ; sh:uniqueLang true ; ] . ``` diff --git a/docs/collection.md b/docs/collection.md index b9cd8d4..bc02efc 100644 --- a/docs/collection.md +++ b/docs/collection.md @@ -109,7 +109,7 @@ dct:abstract sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/docs/group.md b/docs/group.md index 38828c4..6719269 100644 --- a/docs/group.md +++ b/docs/group.md @@ -118,7 +118,7 @@ dct:abstract sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/docs/version.md b/docs/version.md index 74b1339..4e9f094 100644 --- a/docs/version.md +++ b/docs/version.md @@ -130,7 +130,7 @@ dct:abstract sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/model/artifact.php b/model/artifact.php index ce0f1df..d93f572 100644 --- a/model/artifact.php +++ b/model/artifact.php @@ -71,7 +71,7 @@ sh:path dct:title ; sh:severity sh:Violation ; sh:maxLength 100 ; - sh:message "dct:title must have less than 100 characters and each language must occure only once."@en ; + sh:message "dct:title must have less than 100 characters and each language must occur only once."@en ; sh:uniqueLang true ; ] . '; @@ -105,7 +105,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once."@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once."@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . '; @@ -140,7 +140,7 @@ sh:property [ sh:path dct:description ; sh:severity sh:Violation ; - sh:message "Each language of dct:description must occure only once."@en ; + sh:message "Each language of dct:description must occur only once."@en ; sh:uniqueLang true ; ] . '; diff --git a/model/collection.php b/model/collection.php index dbf260c..4683558 100644 --- a/model/collection.php +++ b/model/collection.php @@ -102,7 +102,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . '; diff --git a/model/generated/shacl/artifact.shacl b/model/generated/shacl/artifact.shacl index 0ec70ca..e5653f9 100644 --- a/model/generated/shacl/artifact.shacl +++ b/model/generated/shacl/artifact.shacl @@ -42,7 +42,7 @@ sh:path dct:title ; sh:severity sh:Violation ; sh:maxLength 100 ; - sh:message "dct:title must have less than 100 characters and each language must occure only once."@en ; + sh:message "dct:title must have less than 100 characters and each language must occur only once."@en ; sh:uniqueLang true ; ] . @@ -59,7 +59,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once."@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once."@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . @@ -77,7 +77,7 @@ sh:property [ sh:path dct:description ; sh:severity sh:Violation ; - sh:message "Each language of dct:description must occure only once."@en ; + sh:message "Each language of dct:description must occur only once."@en ; sh:uniqueLang true ; ] . diff --git a/model/generated/shacl/collection.shacl b/model/generated/shacl/collection.shacl index 51e0775..37a767e 100644 --- a/model/generated/shacl/collection.shacl +++ b/model/generated/shacl/collection.shacl @@ -58,7 +58,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/model/generated/shacl/group.shacl b/model/generated/shacl/group.shacl index f8ad949..648102f 100644 --- a/model/generated/shacl/group.shacl +++ b/model/generated/shacl/group.shacl @@ -58,7 +58,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/model/generated/shacl/version.shacl b/model/generated/shacl/version.shacl index 0360b6b..d937e88 100644 --- a/model/generated/shacl/version.shacl +++ b/model/generated/shacl/version.shacl @@ -60,7 +60,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/model/group.php b/model/group.php index aaeaf28..c05ddd5 100644 --- a/model/group.php +++ b/model/group.php @@ -106,7 +106,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . '; diff --git a/model/version.php b/model/version.php index e987300..ba4dd75 100644 --- a/model/version.php +++ b/model/version.php @@ -120,7 +120,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . '; diff --git a/server/app/common/res/shacl/artifact.shacl b/server/app/common/res/shacl/artifact.shacl index 0ec70ca..e5653f9 100644 --- a/server/app/common/res/shacl/artifact.shacl +++ b/server/app/common/res/shacl/artifact.shacl @@ -42,7 +42,7 @@ sh:path dct:title ; sh:severity sh:Violation ; sh:maxLength 100 ; - sh:message "dct:title must have less than 100 characters and each language must occure only once."@en ; + sh:message "dct:title must have less than 100 characters and each language must occur only once."@en ; sh:uniqueLang true ; ] . @@ -59,7 +59,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once."@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once."@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . @@ -77,7 +77,7 @@ sh:property [ sh:path dct:description ; sh:severity sh:Violation ; - sh:message "Each language of dct:description must occure only once."@en ; + sh:message "Each language of dct:description must occur only once."@en ; sh:uniqueLang true ; ] . diff --git a/server/app/common/res/shacl/collection.shacl b/server/app/common/res/shacl/collection.shacl index 51e0775..37a767e 100644 --- a/server/app/common/res/shacl/collection.shacl +++ b/server/app/common/res/shacl/collection.shacl @@ -58,7 +58,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/server/app/common/res/shacl/group.shacl b/server/app/common/res/shacl/group.shacl index f8ad949..648102f 100644 --- a/server/app/common/res/shacl/group.shacl +++ b/server/app/common/res/shacl/group.shacl @@ -58,7 +58,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . diff --git a/server/app/common/res/shacl/version.shacl b/server/app/common/res/shacl/version.shacl index 0360b6b..d937e88 100644 --- a/server/app/common/res/shacl/version.shacl +++ b/server/app/common/res/shacl/version.shacl @@ -60,7 +60,7 @@ sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occure only once. "@en ; + sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . From f0e34e09dea8f29d306f5ff8040f69a5d698722b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 11 Feb 2024 12:01:24 -0500 Subject: [PATCH 6/7] [DATALAD RUNCMD] run codespell throughout fixing typo automagically but ignore fail === Do not change lines below === { "chain": [], "cmd": "codespell -w | :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- .env | 4 ++-- README.md | 2 +- docs/api.md | 6 +++--- docs/auto-completion.md | 2 +- docs/content-variants.md | 2 +- docs/distribution.md | 4 ++-- docs/guides/data-download-guide.md | 2 +- docs/guides/publish-guide.md | 2 +- docs/model/how-to.md | 2 +- docs/mods.md | 2 +- docs/quickstart-examples.md | 2 +- docs/roadmap.md | 2 +- docs/uniquesellingpoints.md | 6 +++--- docs/uridesign.md | 2 +- docs/usage/quickstart-examples.md | 2 +- docs/usage/web-interface/collections.md | 2 +- docs/version.md | 6 +++--- docs/versioning.md | 2 +- model/distribution.php | 4 ++-- model/generated/shacl/version.shacl | 8 ++++---- model/version.php | 6 +++--- public/js/components/facets-view/facets-view.js | 2 +- public/js/components/file-browser/file-browser.html | 6 +++--- public/js/query-builder/query-builder.js | 10 +++++----- public/js/query-builder/query-node.js | 4 ++-- public/templates/collection.ejs | 4 ++-- public/templates/profile.ejs | 2 +- public/templates/publish-wizard.ejs | 4 ++-- server/app/api/lib/publish-version.js | 2 +- server/app/api/routes/version.js | 2 +- server/app/common/execute-query.js | 2 +- server/app/common/queries/query-modules/pages.js | 2 +- server/app/common/res/shacl/version.shacl | 8 ++++---- server/app/common/utils/server-utils.js | 2 +- server/app/pages/modules/resource-pages.js | 2 +- server/app/pages/publish-wizard-texts.json | 2 +- server/app/test/methods/api/account-tests.js | 4 ++-- server/app/test/methods/api/general-tests.js | 8 ++++---- server/init.js | 2 +- 39 files changed, 69 insertions(+), 69 deletions(-) diff --git a/.env b/.env index 807dcca..8463405 100644 --- a/.env +++ b/.env @@ -1,7 +1,7 @@ ####### DATABUS SETTINGS ####### # RESOURCE BASE URL - This should match the DNS entry pointing to your server DATABUS_RESOURCE_BASE_URL=http://localhost:3000 -# do not use qoutation marks for the value here and no trailing space +# do not use quotation marks for the value here and no trailing space DATABUS_NAME=My Local Databus DATABUS_ORG_ICON= DATABUS_BANNER_COLOR= # Default is #81b8b2 @@ -31,5 +31,5 @@ DATABUS_PROXY_SERVER_OWN_CERT_KEY="key.pem" # It is necessary to know this, in order to set up ACME etc. # Note: the host name should be identical to DATABUS_RESOURCE_BASE_URL, # but without specifying a port, protocol i.e. HTTP(S) etc. -# do not use qoutation marks for the value here and no trailing space +# do not use quotation marks for the value here and no trailing space DATABUS_PROXY_SERVER_HOSTNAME=my-databus.org diff --git a/README.md b/README.md index e28c19f..6f2044e 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Databus is designed as a lightweight and agile solution and fits seamlessly into ## Deployment Levels We identified these deployment levels with our partners: 1. **Open community**: Set up a data space in the Databus Network and jointly curate it with community contributions spanning across several organisations (see DBpedia and Open Energy) -2. **Organisation**: Implement your enterprise’s data strategy and optimise efficiency, integration of external data and re-use; manage research data university-wide for scientific sustainability and FAIR. Databus hooks into single sign-on authentication like Siemens ID or DLR ID +2. **Organisation**: Implement your enterprise’s data strategy and optimise efficiency, integration of external data and reuse; manage research data university-wide for scientific sustainability and FAIR. Databus hooks into single sign-on authentication like Siemens ID or DLR ID 3. **Department, group or team**: Systematise data workflows internally; transparently record scientific results from beginning to end. 4. **Collaborative projects**: Efficiently coordinate data with partners in large projects or in multi-project environments. 5. **Application, Product or Pipeline**: Streamline and automate data flow and data dependencies within a target application, product or pipeline. It's an essential tool for agile and data-driven decision making and shines in managing input/output for data-intensive applications such as: Search, AI, Deep Learning, Natural Language Processing (NLP), Knowledge Graph Construction and Evolution, Databases, Continuous Integration and Microservice Orchestration. diff --git a/docs/api.md b/docs/api.md index 273e4a3..b2b6f1b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -145,7 +145,7 @@ PUT /$username/$group/$artifact/$version | 200 | `OK` | Artifact version updated | | 201 | `CREATED` | Artifact version created | | 400 | `BAD REQUEST` | Request or request data was formatted incorrectly | -| 403 | `FORBIDDEN` | Invalid API Token or request targetting the namespace of another user | +| 403 | `FORBIDDEN` | Invalid API Token or request targeting the namespace of another user | | 500 | `INTERNAL SERVER ERROR` | Internal server error | ### Remove Version @@ -161,7 +161,7 @@ DELETE /$username/$group/$artifact/$version | Status Codes | Status | Description | | :--- | :--- | :--- | | 204 | `NO CONTENT` | Artifact version deleted successfully | -| 403 | `FORBIDDEN` | Invalid API Token or request targetting the namespace of another user | +| 403 | `FORBIDDEN` | Invalid API Token or request targeting the namespace of another user | | 500 | `INTERNAL SERVER ERROR` | Internal server error | ## Generic @@ -193,5 +193,5 @@ PUT /system/publish | :--- | :--- | :--- | | 200 | `OK` | Content created or updated | | 400 | `BAD REQUEST` | Request or request data was formatted incorrectly | -| 403 | `FORBIDDEN` | Invalid API Token or request targetting the namespace of another user | +| 403 | `FORBIDDEN` | Invalid API Token or request targeting the namespace of another user | | 500 | `INTERNAL SERVER ERROR` | Internal server error | diff --git a/docs/auto-completion.md b/docs/auto-completion.md index bd5e445..402bc7a 100644 --- a/docs/auto-completion.md +++ b/docs/auto-completion.md @@ -5,7 +5,7 @@ When trying to publish data on the Databus, the HTTP API accepts not only fully ## Properties -The following table shows a list of inferrable properties that can optionally be omitted in the input. +The following table shows a list of inferable properties that can optionally be omitted in the input. ### Version | Property | Value inferred from | diff --git a/docs/content-variants.md b/docs/content-variants.md index 5bc9580..42752d3 100644 --- a/docs/content-variants.md +++ b/docs/content-variants.md @@ -9,7 +9,7 @@ The main rule for content variant setup is the following: This ensures that each file in the databus:Version can be selected individually by querying for its unique tuple of *format*, *compression type* and *content variants*. -A content variant is a key-value pair with the key being a sub-property of `databus:contentVariant` and the value being a (preferrably short) string that can be chosen freely. Content variants could describe either a property of the file or its content. +A content variant is a key-value pair with the key being a sub-property of `databus:contentVariant` and the value being a (preferably short) string that can be chosen freely. Content variants could describe either a property of the file or its content. **Examples:** diff --git a/docs/distribution.md b/docs/distribution.md index 335caac..a3e1655 100644 --- a/docs/distribution.md +++ b/docs/distribution.md @@ -160,7 +160,7 @@ missing a sh:PropertyShape ; sh:targetClass databus:Part ; sh:severity sh:Violation ; - sh:message """Required property databus:compression MUST occur exactly once AND have xsd:string as value AND should not inlcude a '.' in front """@en ; + sh:message """Required property databus:compression MUST occur exactly once AND have xsd:string as value AND should not include a '.' in front """@en ; sh:pattern "^[a-z0-9]{1,8}$" ; sh:path databus:compression; sh:minCount 1 ; @@ -344,7 +344,7 @@ TODO ?? ## Content variants TODO ?? -The shape `<#parts-are-distinguishable-by-cv>` relies on a ordering of results in the *GROUP BY* and consequentially *GROUP_CONCAT* instruction that is agnostic of the ordering of properties in the data. This seems to work for Apache JENA and Virtuoso but has not been tested with other SPARQL engines. +The shape `<#parts-are-distinguishable-by-cv>` relies on a ordering of results in the *GROUP BY* and consequently *GROUP_CONCAT* instruction that is agnostic of the ordering of properties in the data. This seems to work for Apache JENA and Virtuoso but has not been tested with other SPARQL engines. Example (JSON-LD): diff --git a/docs/guides/data-download-guide.md b/docs/guides/data-download-guide.md index f522c02..1ed15da 100644 --- a/docs/guides/data-download-guide.md +++ b/docs/guides/data-download-guide.md @@ -166,7 +166,7 @@ SELECT ?file WHERE ### Download and convert selected data -In order to download the data we need to pass the query as the _`-s`_ argument. Additionaly we need to specify where the query needs to be asked to. This is done using the `-e` argument. Furthermore if we want to convert the files to _.nt_ we need to specify if in the _`-f`_ parameter and finally we need to tell the client the desired compression. +In order to download the data we need to pass the query as the _`-s`_ argument. Additionally we need to specify where the query needs to be asked to. This is done using the `-e` argument. Furthermore if we want to convert the files to _.nt_ we need to specify if in the _`-f`_ parameter and finally we need to tell the client the desired compression. ``` java -jar target/databus-client-v2.1-beta.jar \ diff --git a/docs/guides/publish-guide.md b/docs/guides/publish-guide.md index d20b686..d67e2a4 100644 --- a/docs/guides/publish-guide.md +++ b/docs/guides/publish-guide.md @@ -41,7 +41,7 @@ and then copy raw links to file data: For example a link to our readme as of July 2023 will be: [https://raw.githubusercontent.com/dbpedia/databus/68f976e29e2db15472f1b664a6fd5807b88d1370/README.md](https://raw.githubusercontent.com/dbpedia/databus/68f976e29e2db15472f1b664a6fd5807b88d1370/README.md) -**!NOTE! If you use links referring not to commit, but to branch, the files there may be changing over time, which will break corrspondence with the file hashes stored in Databus** +**!NOTE! If you use links referring not to commit, but to branch, the files there may be changing over time, which will break correspondence with the file hashes stored in Databus** #### Google Drive diff --git a/docs/model/how-to.md b/docs/model/how-to.md index d63e203..95fdcdd 100644 --- a/docs/model/how-to.md +++ b/docs/model/how-to.md @@ -63,7 +63,7 @@ The metadata publisher has complete control over the names of the Databus identi 1. **The account name** -* The account name is chosen on account creation, i.e. when registering at the particular Datbaus instane. It is advised to use your personal username or the name of your institution/company. In other words, the account name is the identifier of the data owner/publisher. E.g. DBpedia publishes the regular releases under the account name _dbpedia_. +* The account name is chosen on account creation, i.e. when registering at the particular Datbaus instance. It is advised to use your personal username or the name of your institution/company. In other words, the account name is the identifier of the data owner/publisher. E.g. DBpedia publishes the regular releases under the account name _dbpedia_. 2. **The group name** diff --git a/docs/mods.md b/docs/mods.md index f7e9783..a7948db 100644 --- a/docs/mods.md +++ b/docs/mods.md @@ -54,7 +54,7 @@ While the [Databus Model](model.md) is quite minimal and supports only necessary There are currently some basic examples for Databus Mods, applicable to various file types, showcasing for what Databus Mods can be used: -1. Mimetype Mod: On the publishing of any file, this mod finds the correspnding mimetype and saves it +1. Mimetype Mod: On the publishing of any file, this mod finds the corresponding mimetype and saves it 2. VOID Mod: Collects [VOID](https://www.w3.org/TR/void/) metadata for RDF files and saves them in an SPARQL endpoint. 3. Filemetrics Mod: Collects some addidional metrics not captured by the minimal model for any file, e.g. checking if it is sorted, the uncompressed size and some more diff --git a/docs/quickstart-examples.md b/docs/quickstart-examples.md index ddb3c17..c6f5471 100644 --- a/docs/quickstart-examples.md +++ b/docs/quickstart-examples.md @@ -37,7 +37,7 @@ This site describes the minimal required metadata for publishing a dataset (meta } ``` -If the Databus should NOT infer a certain metadatum (for example not auto-generating the `abtract` from the `description` field), it can be set explicitly and the Databus will accept it (if it fits its criteria). For a full list of inferrable properties check out the [autocompletion page](/docs/auto-completion.md) +If the Databus should NOT infer a certain metadatum (for example not auto-generating the `abstract` from the `description` field), it can be set explicitly and the Databus will accept it (if it fits its criteria). For a full list of inferable properties check out the [autocompletion page](/docs/auto-completion.md) #### Property Description diff --git a/docs/roadmap.md b/docs/roadmap.md index 497e1bf..f824c81 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -6,7 +6,7 @@ license can be any URI at the moment, however, these URIs are not validated and ### Mappings -We implemted a prototypical CSV to RDF conversion with TARQL in the Databus Download Client. We to integrate a full RML engine. At the moment, "[FunMap: Efficient Execution of Functional Mappings for Knowledge Graph Creation](https://arxiv.org/abs/2008.13482)" by DBpedia Member TIB seems the best candidate. +We implemented a prototypical CSV to RDF conversion with TARQL in the Databus Download Client. We to integrate a full RML engine. At the moment, "[FunMap: Efficient Execution of Functional Mappings for Knowledge Graph Creation](https://arxiv.org/abs/2008.13482)" by DBpedia Member TIB seems the best candidate. ### More Download As Options diff --git a/docs/uniquesellingpoints.md b/docs/uniquesellingpoints.md index 337b19d..af30048 100644 --- a/docs/uniquesellingpoints.md +++ b/docs/uniquesellingpoints.md @@ -6,7 +6,7 @@ description: >- # 🚀 Unique Features (Draft) -## High-degree of Automation and Re-use +## High-degree of Automation and Reuse Over three years, we implemented and designed the Databus to build a solid foundation for automating many tedious processes in Knowledge Engineering including upload, download, low-level conversions, quality tests, generating statistics and tracking provenance (includes private key signature for authenticity). We fireproofed it using the DBpedia Snapshot release process. The result is that we **saved 92% cost in work hours while being 10 times more productive** (increase in release frequency). In particular: @@ -16,7 +16,7 @@ Over three years, we implemented and designed the Databus to build a solid found * concepts were inspired by solid frameworks such as Maven, Git/Github, Linked Data, Steam * License URLs are mapped to [Dalicc](https://dalicc.net) to make them machine-understandable (see [Roadmap](roadmap.md)) * Mappings are collected centrally to transform data and can be re-used (see [Roadmap](roadmap.md)) -* Additional metadata is computed by re-usable apps called Mods, which detect compression and format (TrueType Mod), count triples and statistics (VOID Mod), online checks (OnlineCheck Mod), syntax and encoding analysis. +* Additional metadata is computed by reusable apps called Mods, which detect compression and format (TrueType Mod), count triples and statistics (VOID Mod), online checks (OnlineCheck Mod), syntax and encoding analysis. * We envision a lot more smart Mods that provide a new class of applications built on Databus metadata, such as data search, classifying data with ontologies and contextualization, automatic patching/repair and automatic selection of data to train AI. ## Low-code Application Deployment @@ -69,7 +69,7 @@ Analogous to [Feature Creep](https://en.wikipedia.org/wiki/Feature\_creep) in so ## Interoperability -The DataID model is a stable vocabulary bult on DCAT (a W3C vocabulary to describe datasets), DCMI (Dublin Core Metadata Initiative vocabulary to describe resources) and Prov-O (W3C provenance vocabulary) and forms the core of the Databus. DataID and Databus patches several shortcomings of DCAT and DCMI: +The DataID model is a stable vocabulary built on DCAT (a W3C vocabulary to describe datasets), DCMI (Dublin Core Metadata Initiative vocabulary to describe resources) and Prov-O (W3C provenance vocabulary) and forms the core of the Databus. DataID and Databus patches several shortcomings of DCAT and DCMI: * DataID/Databus contains the "right" kind of information to re-publish to other repositories automatically, including platforms such as Kaggle, CKAN, Zenodo as well as the automated generation of Data Management Plan (DMP) deliverables for e.g. Horizon Europe research projects (these were implemented by third-parties and not included with the Databus software). * Databus distinguishes between version of a dataset and the dataset artifact, an important individuation that allows to discover updates, i.e. new versions of the same dataset (artifact). Databus also distinguishes between compression (\~ dozen of [lossless compression formats](https://commons.apache.org/proper/commons-compress/)) and [IANA Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml) or mimetypes (over 1400 formats) and other formats that describe the actual format of files. diff --git a/docs/uridesign.md b/docs/uridesign.md index a1064b3..6a3330a 100644 --- a/docs/uridesign.md +++ b/docs/uridesign.md @@ -25,7 +25,7 @@ The URIs in your input have to follow a specific pattern in order to be accepted ### Artifact URI Rules *(databus:Artifact)* * An artifact URI has exactly three path segments. -* The first path segment identifiees the publisher, the second segment the group, while the third segment the published artifact. +* The first path segment identifies the publisher, the second segment the group, while the third segment the published artifact. * An example of a valid artifact URI:* https://databus.example.org/john/animals/cats diff --git a/docs/usage/quickstart-examples.md b/docs/usage/quickstart-examples.md index eb885e6..09bc6ed 100644 --- a/docs/usage/quickstart-examples.md +++ b/docs/usage/quickstart-examples.md @@ -73,7 +73,7 @@ curl -X 'POST' \ }' ``` -If the Databus should NOT infer a certain metadatum (for example not auto-generating the `abtract` from the `description` field), it can be set explicitly and the Databus will accept it (if it fits its criteria). For a full list of inferrable properties check out the [autocompletion page](../auto-completion.md) +If the Databus should NOT infer a certain metadatum (for example not auto-generating the `abstract` from the `description` field), it can be set explicitly and the Databus will accept it (if it fits its criteria). For a full list of inferable properties check out the [autocompletion page](../auto-completion.md) #### Property Description diff --git a/docs/usage/web-interface/collections.md b/docs/usage/web-interface/collections.md index d175191..1dc065e 100644 --- a/docs/usage/web-interface/collections.md +++ b/docs/usage/web-interface/collections.md @@ -11,7 +11,7 @@ In the following section, we will cover the user interface of the collection edi The DBpedia Databus Collections are useful in many ways. * You can share a specific dataset with your community or colleagues. -* You can re-use dataset others created +* You can reuse dataset others created * You can plug collections into Databus-ready applications and avoid spending time on the download and setup process * You can point to a specific piece of data (e.g. for testing) with a single URI in your publications * You can help others to create data queries more easily diff --git a/docs/version.md b/docs/version.md index 4e9f094..a8cf9da 100644 --- a/docs/version.md +++ b/docs/version.md @@ -88,7 +88,7 @@ dct:title sh:property [ sh:path dct:title ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:title without language tag, dct:title can be used with language tag, but each language only once."@en ; + sh:message "Besides the required occurrence of dct:title without language tag, dct:title can be used with language tag, but each language only once."@en ; sh:uniqueLang true ; ] . ``` @@ -130,7 +130,7 @@ dct:abstract sh:property [ sh:path dct:abstract ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:abstract without language tag, each occurance of dct:abstract must have less than 300 characters and each language must occur only once. "@en ; + sh:message "Besides the required occurrence of dct:abstract without language tag, each occurrence of dct:abstract must have less than 300 characters and each language must occur only once. "@en ; sh:uniqueLang true; sh:maxLength 300 ; ] . @@ -173,7 +173,7 @@ dct:description sh:property [ sh:path dct:description ; sh:severity sh:Violation ; - sh:message "Besides the required occurance of dct:description without language tag, dct:title can be used with language tag, but each language only once."@en ; + sh:message "Besides the required occurrence of dct:description without language tag, dct:title can be used with language tag, but each language only once."@en ; sh:uniqueLang true ; ] . ``` diff --git a/docs/versioning.md b/docs/versioning.md index 39ed7bf..05e535c 100644 --- a/docs/versioning.md +++ b/docs/versioning.md @@ -2,7 +2,7 @@ The Version ID must adhere to URI, maven and filename standards, so the characters `\/:"<>|?*` are forbidden. Furthermore it needs to be at least three characters long. -Apart from this rule the VersionIDs can contain any alphanumeric character (regardless of the case) and any of these seperator chars: `-._`. +Apart from this rule the VersionIDs can contain any alphanumeric character (regardless of the case) and any of these separator chars: `-._`. ### Sortable Timestamps diff --git a/model/distribution.php b/model/distribution.php index df707d7..54659d3 100644 --- a/model/distribution.php +++ b/model/distribution.php @@ -135,7 +135,7 @@ a sh:PropertyShape ; sh:targetClass databus:Part ; sh:severity sh:Violation ; - sh:message """Required property databus:compression MUST occur exactly once AND have xsd:string as value AND should not inlcude a \'.\' in front """@en ; + sh:message """Required property databus:compression MUST occur exactly once AND have xsd:string as value AND should not include a \'.\' in front """@en ; sh:pattern "^[a-z0-9]{1,8}$" ; sh:path databus:compression; sh:minCount 1 ; @@ -299,7 +299,7 @@ ## Content variants TODO ?? -The shape `<#parts-are-distinguishable-by-cv>` relies on a ordering of results in the *GROUP BY* and consequentially *GROUP_CONCAT* instruction that is agnostic of the ordering of properties in the data. This seems to work for Apache JENA and Virtuoso but has not been tested with other SPARQL engines. +The shape `<#parts-are-distinguishable-by-cv>` relies on a ordering of results in the *GROUP BY* and consequently *GROUP_CONCAT* instruction that is agnostic of the ordering of properties in the data. This seems to work for Apache JENA and Virtuoso but has not been tested with other SPARQL engines. + ng-click="binding.expanded = !binding.expanded">
{{ + ng-class="{ right : !binding.expanded, down : binding.expanded }" class="arrow">{{ $ctrl.getCellValues(binding, column); }} @@ -65,7 +65,7 @@ - +
{{ binding.preview.value }}
diff --git a/public/js/query-builder/query-builder.js b/public/js/query-builder/query-builder.js index 01dd33b..d013f0c 100644 --- a/public/js/query-builder/query-builder.js +++ b/public/js/query-builder/query-builder.js @@ -228,7 +228,7 @@ class QueryBuilder { var facetUri = facetUris[i]; - // We only add facets to the node if the facet is not overriden by any child nodes + // We only add facets to the node if the facet is not overridden by any child nodes if (!this.hasFacetOverride(node, facetUri)) { // We create the subquery while merging the facet settings from this node to the root of the query tree @@ -246,7 +246,7 @@ class QueryBuilder { } // ======= SPECIAL TREATMENT OF VERSION/LATEST ======= - // Treat as if overriden (leaf nodes already excluded) + // Treat as if overridden (leaf nodes already excluded) // =================================================== if (facetUri == 'http://purl.org/dc/terms/hasVersion') { for (var i in node.facetSettings[facetUri]) { @@ -366,7 +366,7 @@ class QueryBuilder { } /** - * Create a list of all the node facets and all overriden ancestor facets that might not be explicitly + * Create a list of all the node facets and all overridden ancestor facets that might not be explicitly * included in the node facet list * @param {*} node */ @@ -442,7 +442,7 @@ class QueryBuilder { } /** - * Appens a line to the global result prepending a specified number of tab characters + * Appends a line to the global result prepending a specified number of tab characters * @param {*} line * @param {*} indent */ @@ -453,7 +453,7 @@ class QueryBuilder { } /** - * Appens a line to the global result prepending a specified number of tab characters + * Appends a line to the global result prepending a specified number of tab characters * @param {*} line * @param {*} indent */ diff --git a/public/js/query-builder/query-node.js b/public/js/query-builder/query-node.js index ab0bcc7..a9ecfa5 100644 --- a/public/js/query-builder/query-node.js +++ b/public/js/query-builder/query-node.js @@ -1,7 +1,7 @@ /** * A query node is a node in a query tree. A query tree can be built for any hierarchical selection * on the databus, such as publishers, groups, artifacts and collections. - * Each node may declare a range of restrictions. Restrictions can then be overriden again by + * Each node may declare a range of restrictions. Restrictions can then be overridden again by * any child node in the hierarchy. * * EXAMPLE: Group node says: Select everything in English. One specific artifact child node of the @@ -135,7 +135,7 @@ class QueryNode { } /** - * Create a settings object with all the facet settings active for this node (inluding inherited settings) + * Create a settings object with all the facet settings active for this node (including inherited settings) * @param {*} node */ createFullFacetSettings() { diff --git a/public/templates/collection.ejs b/public/templates/collection.ejs index 5a25559..d70f967 100644 --- a/public/templates/collection.ejs +++ b/public/templates/collection.ejs @@ -138,7 +138,7 @@
- +