Skip to content
15 changes: 8 additions & 7 deletions docs/howto/index/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,26 @@ with recursive child (depth, id, parent,index_name) as (
child.depth + 1,
index.id,
index.parent,
index.index_name
index.index_name,
is_deleted
from index, child
where index.parent = child.id)
select depth, id,index_name from child order by depth;
```

```
depth | id | index_name
-------+---------------+------------
0 | 1733503900136 | LV1
1 | 1733503930431 | LV2
2 | 1733503950790 | LV3
depth | id | index_name | is_deleted
-------+---------------+------------+------------
0 | 1733503900136 | LV1 | f
1 | 1733503930431 | LV2 | f
2 | 1733503950790 | LV3 | f
(3 rows)
```

1733503900136 とその子インデックスを削除する。

```
DELETE FROM index WHERE id IN (
UPDATE index SET is_deleted = 't' WHERE id IN (
with recursive child (depth, id, parent,index_name) as (
select 0, index.id, index.parent,index.index_name from index where index.id = '1733503900136'
union all
Expand Down
28 changes: 28 additions & 0 deletions docs/howto/postgresql/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@


# ERROR: database "wekotest" is being accessed by other users

```
invenio=# drop database wekotest;
ERROR: database "wekotest" is being accessed by other users
DETAIL: There are 10 other sessions using the database.
```

```
invenio=# SELECT
pg_terminate_backend(pg_stat_activity.pid)
FROM
pg_stat_activity
WHERE
pg_stat_activity.datname = 'wekotest'
AND pid <> pg_backend_pid();
pg_terminate_backend
----------------------
(0 rows)
```

```
invenio=# drop database wekotest;
DROP DATABASE
invenio=#
```
257 changes: 257 additions & 0 deletions docs/howto/rocrate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
#

## install

```
git clone https://github.com/crs4/rocrate-validator.git
cd rocrate-validator
poetry install
```

## validate

```
{
"@context": [
"https://w3id.org/ro/crate/1.1/context",
{
"name_en": "http://schema.org/name"
},
{
"name_ja": "http://schema.org/name"
}
],
"@graph": [
{
"@type": "CreativeWork",
"@id": "ro-crate-metadata.json",
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.1"
},
"about": {
"@id": "./"
}
},
{
"@id": "./",
"identifier": "https://doi.org/10.4225/59/59672c09f4a4b",
"@type": "Dataset",
"datePublished": "2017",
"name": "Data files associated with the manuscript:Effects of facilitated family case conferencing for ...",
"description": "Palliative care planning for nursing home residents with advanced dementia ...",
"license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/"
}
},
{
"@id": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/",
"@type": "CreativeWork",
"description": "This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/au/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.",
"identifier": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/",
"name": "Attribution-NonCommercial-ShareAlike 3.0 Australia (CC BY-NC-SA 3.0 AU)"
}
]
}
```

```
$ poetry run rocrate-validator validate -p ro-crate-1.1 -v --no-paging -f json ../rocrate/example3
```

```
$ poetry run rocrate-validator validate -p ro-crate-1.1 -v --no-paging -f json ../rocrate/example3
{
"meta": {
"version": "0.1"
},
"validation_settings": {
"profile_identifier": "ro-crate-1.1",
"enable_profile_inheritance": true,
"abort_on_first": false,
"requirement_severity": "REQUIRED",
"rocrate_validator_version": "0.5.0_fa8c6c7+401-dirty"
},
"passed": true,
"issues": []
}
```

##

```
{
"@context": [
"https://w3id.org/ro/crate/1.1/context",
{
"name": {"@id": "name","@container": "@language"}
}
],
"@graph": [
{
"@type": "CreativeWork",
"@id": "ro-crate-metadata.json",
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.1"
},
"about": {
"@id": "./"
}
},
{
"@id": "./",
"identifier": "https://doi.org/10.4225/59/59672c09f4a4b",
"@type": "Dataset",
"datePublished": "2017",
"name": {
"ja":"名前",
"en":"Name"
},
"description": "Palliative care planning for nursing home residents with advanced dementia ...",
"license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/"
}
},
{
"@id": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/",
"@type": "CreativeWork",
"description": "This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/au/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.",
"identifier": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/",
"name": "Attribution-NonCommercial-ShareAlike 3.0 Australia (CC BY-NC-SA 3.0 AU)"
}
]
}
```

```
$ poetry run rocrate-validator validate -p ro-crate-1.1 -v --no-paging -f json ../rocrate/example3
{
"meta": {
"version": "0.1"
},
"validation_settings": {
"profile_identifier": "ro-crate-1.1",
"enable_profile_inheritance": true,
"abort_on_first": false,
"requirement_severity": "REQUIRED",
"rocrate_validator_version": "0.5.0_fa8c6c7+401-dirty"
},
"passed": false,
"issues": [
{
"severity": "REQUIRED",
"message": "RO-Crate file descriptor \"ro-crate-metadata.json\" is not fully flattened at entity \"./\"",
"violatingEntity": null,
"violatingProperty": null,
"violatingPropertyValue": null,
"check": {
"identifier": "ro-crate-1.1_2.2",
"label": "REQUIRED 2.2",
"order": 2,
"name": "File Descriptor JSON-LD must be flattened",
"description": "Check if the file descriptor is flattened",
"severity": "REQUIRED",
"requirement": {
"identifier": "ro-crate-1.1_2",
"name": "File Descriptor JSON-LD format",
"description": "The file descriptor MUST be a valid JSON-LD file",
"order": 2,
"profile": {
"identifier": "ro-crate-1.1",
"uri": "https://w3id.org/ro/crate/1.1",
"name": "RO-Crate Metadata Specification 1.1",
"description": "RO-Crate Metadata Specification."
}
}
}
},
{
"severity": "REQUIRED",
"message": "The Root Data Entity MUST have a `name` property (as specified by schema.org)",
"violatingEntity": "./",
"violatingProperty": "http://schema.org/name",
"violatingPropertyValue": null,
"check": {
"identifier": "ro-crate-1.1_8.1",
"label": "MUST 8.1",
"order": 1,
"name": "Root Data Entity: `name` property",
"description": "Check if the Root Data Entity includes a `name` (as specified by schema.org) \n to clearly identify the dataset and distinguish it from other datasets.",
"severity": "REQUIRED",
"requirement": {
"identifier": "ro-crate-1.1_8",
"name": "RO-Crate Root Data Entity REQUIRED properties",
"description": "The Root Data Entity MUST have a `name`, `description`, `license` and `datePublished`",
"order": 8,
"profile": {
"identifier": "ro-crate-1.1",
"uri": "https://w3id.org/ro/crate/1.1",
"name": "RO-Crate Metadata Specification 1.1",
"description": "RO-Crate Metadata Specification."
}
}
}
}
]
}
```

##

```
{
"@context": [
"https://w3id.org/ro/crate/1.1/context",
{"name_ja":{"@id": "name","@language":"ja"}},
{"name_en":{"@id": "name","@language":"en"}}
],
"@graph": [
{
"@type": "CreativeWork",
"@id": "ro-crate-metadata.json",
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.1"
},
"about": {
"@id": "./"
}
},
{
"@id": "./",
"identifier": "https://doi.org/10.4225/59/59672c09f4a4b",
"@type": "Dataset",
"datePublished": "2017",
"name_ja":"名前",
"name_en":"Name",
"description": "Palliative care planning for nursing home residents with advanced dementia ...",
"license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/"
}
},
{
"@id": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/",
"@type": "CreativeWork",
"description": "This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Australia License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/au/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.",
"identifier": "https://creativecommons.org/licenses/by-nc-sa/3.0/au/",
"name": "Attribution-NonCommercial-ShareAlike 3.0 Australia (CC BY-NC-SA 3.0 AU)"
}
]
}
```

```
$ poetry run rocrate-validator validate -p ro-crate-1.1 -v --no-paging -f json ../rocrate/example3
{
"meta": {
"version": "0.1"
},
"validation_settings": {
"profile_identifier": "ro-crate-1.1",
"enable_profile_inheritance": true,
"abort_on_first": false,
"requirement_severity": "REQUIRED",
"rocrate_validator_version": "0.5.0_fa8c6c7+401-dirty"
},
"passed": true,
"issues": []
}
```
14 changes: 13 additions & 1 deletion docs/manuals/ADMIN/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(コミュニティ管理者、リポジトリ管理者、およびシステム管理者)

v1.0.7b
v1.0.10


## はじめに
Expand Down Expand Up @@ -6462,6 +6462,10 @@ TSV形式でダウンロードすることができる定型レポートを次

フローへのアクションの追加、アクションの順序を変更する方法を説明します。

【注意事項】

フローへのアクションの追加・削除、アクションの順序変更などは対象フローを使用しているアクティビティにも影響があるため、変更の際は気をつけてください。

1. フロー名をクリックします。

フローの編集画面が表示されます。
Expand Down Expand Up @@ -6633,6 +6637,14 @@ zu1101090.tif![コンピューターのスクリーンショット 自動的に

![グラフィカル ユーザー インターフェイス, テキスト, アプリケーション, メール 自動的に生成された説明](media/media/image259.png)

【注意事項】

1. フローの変更が可能ですが、

1.1. 個別登録履歴があるアイテム(中止ではない):アイテム個別編集の際に登録時点でのフローで開くこと

1.2. 個別登録履歴がないアイテム(一括登録など):アイテム個別編集の際に変更後のフローで開くこと

149. [保存]をクリックします。

ワークフローが保存されます。正常に保存できた場合、メッセージ「Workflow created successfully.」が表示されます。
Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/USER/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

一般閲覧者・登録ユーザ・管理者

v1.0.7b
v1.0.10

## はじめに

Expand Down
12 changes: 12 additions & 0 deletions docs/manuals_en/ADMIN/admin_manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -11224,6 +11224,10 @@ You can then add actions to the flow. See "ANCHORID=editflow【参照元】Secti

This section explains how to add actions to the flow and change the order of actions.

Notes:

Adding or removing actions to the flow, changing the order of actions, etc., will also affect the activities using the target flow, so please be careful when making changes.

1. Click the flow name you want to edit.

A screen appears where you can edit the flow.
Expand Down Expand Up @@ -11330,6 +11334,14 @@ zu1101400.tif![](media/media/image255.png)

![](media/media/image256.png)

Notes:

1. Changes to the flow are possible, but

1.1. For items with individual registration history (not canceled): open with the flow at the time of registration when editing the item individually.

1.2. For items without individual registration history (bulk registration, etc.): open with the modified flow when editing the item individually.

3. Click "Save".

The workflow is saved. If it is saved successfully, the message "Workflow created successfully" appears.
Expand Down
Loading