Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
c95f81d
Adding a new table for datasets related to provenance
bclenet May 23, 2025
594e557
BEP028 - provenance dataset for dcm2niix
bclenet May 23, 2025
5323a04
BEP028 - Provenance for heudiconv example
bclenet May 23, 2025
76d9686
First files for the NIDM results examples SPM default batch
bclenet May 23, 2025
1507582
First files for the NIDM results examples SPM default batch
bclenet May 23, 2025
c95c120
Adding provenance records for the example
bclenet May 28, 2025
e4c41c7
Directory tree
bclenet May 28, 2025
5d65f71
Adding dataset in the listing
bclenet May 28, 2025
03975fb
Merge branch 'master' into BEP028_dcm2niix
effigies Jun 3, 2025
cc03977
Realignment output
bclenet Jun 4, 2025
9efb7a8
GeneratedBy in sidecar JSONs
bclenet Jun 4, 2025
d24493a
Issue with Normalize id
bclenet Jun 4, 2025
0f780a5
Merge branch 'master' into BEP028_spm
bclenet Jun 4, 2025
a145486
Codespell
bclenet Jun 4, 2025
f538e28
Modified batch to avoid keeping .nii.gz files + Complete .mat files t…
bclenet Jun 10, 2025
a31360f
Update command lines for activities
bclenet Jun 10, 2025
1709078
Digest and Type allowed in the sidecar JSON
bclenet Jun 10, 2025
10d79c3
Adding more authors
bclenet Jun 13, 2025
38655bf
Participant id mismatch
bclenet Jun 13, 2025
93568b1
Codespell in dataset listing
bclenet Jun 13, 2025
78dcc26
Merge branch 'master' into BEP028_heudiconv
bclenet Jun 13, 2025
29323f8
Add DatasetLinks to resolve BIDS URIs
bclenet Jun 13, 2025
0190aea
Removing entities describing changes in .mat files
bclenet Jun 19, 2025
02cf366
First version of minimal fMRIprep example
bclenet Jun 20, 2025
6918e4d
First version of minimal fMRIprep example
bclenet Jun 20, 2025
e2b9880
Update README with the example
bclenet Jun 20, 2025
4582cf1
removing / after bids::prov
bclenet Jul 11, 2025
dcf1651
removing / after bids::prov
bclenet Jul 11, 2025
4d57171
removing / after bids::prov
bclenet Jul 11, 2025
93f31fe
removing merge code
bclenet Jul 11, 2025
1e20f4d
removing attributedto link
bclenet Jul 11, 2025
f33aa60
removing / after bids::prov
bclenet Jul 11, 2025
53e9c4f
removing fmriprep-docker
bclenet Jul 11, 2025
5064009
Adding AltIdentifier for dcm2niix
bclenet Jul 22, 2025
c254719
New way of describing provenance for a dataset ("GeneratedBy":"Id")
bclenet Sep 24, 2025
c4207c0
Environment in the jsonld
bclenet Sep 30, 2025
3738b43
Update directory tree
bclenet Oct 1, 2025
a05463b
Merge branch 'master' into BEP028_dcm2niix
bclenet Oct 3, 2025
f6d1013
Merge branch 'master' into BEP028_heudiconv
bclenet Oct 3, 2025
27abc71
Merge branch 'master' into BEP028_fmriprep
bclenet Oct 3, 2025
1373b53
Merge branch 'master' into BEP028_spm
bclenet Oct 3, 2025
0e6c92b
chore: Ignore provenance on old validators, use spec#2099 schema
effigies Oct 3, 2025
4e1a074
Moving RDF graphs into docs/
bclenet Oct 16, 2025
f96c370
Moving RDF graphs into docs/
bclenet Oct 16, 2025
702dad3
Moving RDF graphs into docs/
bclenet Oct 16, 2025
8a91848
Entities becomes ProvEntities
bclenet Oct 16, 2025
5a52547
Example to be validated by BEP028 version of the schema
bclenet Oct 16, 2025
42e5639
Example to be validated by BEP028 version of the schema
bclenet Oct 16, 2025
bc1c4f2
Example to be validated by BEP028 version of the schema
bclenet Oct 16, 2025
3488421
Codespell
bclenet Oct 16, 2025
1edacad
Codespell
bclenet Oct 16, 2025
8159538
Codespell
bclenet Oct 16, 2025
5ebe180
Codespell
bclenet Oct 16, 2025
4f32a1f
Readme update
bclenet Oct 16, 2025
889c259
Readme update
bclenet Oct 16, 2025
ce1b09c
Readme update
bclenet Oct 16, 2025
a21d594
Readme update
bclenet Oct 16, 2025
e9fa1a4
[provenance_fmriprep] Into a raw dataset + derivatives
bclenet Oct 16, 2025
da19414
Back to derivative dataset
bclenet Oct 17, 2025
7c5a540
bidsignore
bclenet Oct 17, 2025
83e15e1
Adomnitions in readme
bclenet Oct 17, 2025
eb0f115
bidsignore
bclenet Oct 17, 2025
253019d
RDF graphs
bclenet Oct 17, 2025
8af855d
Adding provenance RDF graphs
bclenet Oct 17, 2025
7e517fb
Adding provenance RDF graphs
bclenet Oct 17, 2025
ce66b95
Codespell
bclenet Oct 17, 2025
a12ef4d
Codespell
bclenet Oct 17, 2025
72043ff
BIDS URI for dataset
bclenet Nov 4, 2025
e6a1ad7
First version of study dataset
bclenet Nov 4, 2025
3333e57
Manual segmentations
bclenet Nov 4, 2025
34c95f0
Add segmentations for 3 experts
bclenet Nov 5, 2025
fb1c8f9
Dataset description
bclenet Nov 5, 2025
f6a4c80
Dataset description
bclenet Nov 5, 2025
8d1b188
Two experts
bclenet Nov 6, 2025
3174a8b
Doc + entity for raw data
bclenet Nov 6, 2025
526f0b3
Doc & aggregation
bclenet Nov 6, 2025
b721b41
Typo
bclenet Nov 6, 2025
e009280
Typos
bclenet Nov 7, 2025
6a6f400
Removing software provenance objects
bclenet Nov 14, 2025
f770a04
Removing ProvEntities
bclenet Dec 2, 2025
5fb8c19
provenance context from 2099
bclenet Dec 2, 2025
4f61fbb
Provenance information in raw dataset
bclenet Dec 3, 2025
496f9e4
Provenance information in raw dataset
bclenet Dec 3, 2025
bb8f545
chore(ci): Install BEP028 validator branch
effigies Dec 4, 2025
b8863cc
prov-<label> subdir
bclenet Dec 16, 2025
a48c039
Merge branch 'master' into BEP028_fmriprep
bclenet Dec 16, 2025
9ae5d08
chore(deps): Bump actions/setup-node in the actions-infrastructure group
dependabot[bot] Oct 20, 2025
458a0d4
chore(ci): Add manual dispatch trigger to dataset validation
effigies Nov 4, 2025
747290a
chore(deps): Bump actions/checkout in the actions-infrastructure grou…
dependabot[bot] Dec 5, 2025
54b09e9
chore(deps): Bump actions/cache in the actions-infrastructure group (…
dependabot[bot] Dec 15, 2025
f830ca0
SHA-256
bclenet Dec 16, 2025
d6256c9
Merge branch 'master' into BEP028_spm
bclenet Dec 16, 2025
bea553d
Merge branch 'master' into BEP028_dcm2niix
bclenet Dec 16, 2025
7adb4d1
Merge branch 'master' into BEP028_heudiconv
bclenet Dec 16, 2025
534a499
Files inside _ent
bclenet Dec 16, 2025
669146c
Files in _ent
bclenet Dec 16, 2025
ca2c49f
Old fashioned description
bclenet Dec 16, 2025
b845162
Old fashioned description
bclenet Dec 16, 2025
e763ae4
First version of nilearn example
bclenet Dec 19, 2025
40ca0be
Readme & description
bclenet Dec 19, 2025
f8973fc
Name of the dataset
bclenet Dec 19, 2025
83b845d
Provenance for dataset
bclenet Dec 19, 2025
e2cd708
dataset listing
bclenet Dec 19, 2025
2a9546e
JSON an image graphs
bclenet Jan 6, 2026
f7a90d3
Merge branch 'master' into BEP028_nilearn
bclenet Jan 6, 2026
e70d8a7
Empty data files
bclenet Jan 7, 2026
be75ff8
Validation workflow
bclenet Jan 7, 2026
8cce414
removing ProvEntities
bclenet Jan 7, 2026
da2b308
removing ProvEntities
bclenet Jan 7, 2026
77801e4
removing ProvEntities
bclenet Jan 7, 2026
b2fbce2
removing ProvEntities
bclenet Jan 7, 2026
0ebb66e
Use BIDS uris with fragments
bclenet Jan 7, 2026
108edd9
prov:Entities->prov:Entity
bclenet Jan 9, 2026
c56dd12
Wrong usage for type ?
bclenet Jan 9, 2026
3525787
Renaming docs files
bclenet Jan 9, 2026
f3ff48e
Removing use of records
bclenet Jan 9, 2026
bd69062
Removing use of records
bclenet Jan 9, 2026
bea9028
Removing use of records
bclenet Jan 9, 2026
d78476b
Remove GeneratedBy workaroun
bclenet Jan 9, 2026
cccc27f
Readme + codeurl
bclenet Jan 13, 2026
30b2539
New graph generation
bclenet Jan 14, 2026
8e50394
Nifti > NIfTI
bclenet Jan 14, 2026
35069d0
Nifti > NIfTI
bclenet Jan 14, 2026
7457fec
Adding nilearn as software
bclenet Jan 14, 2026
4ecc3b9
CodeURL as AltId | Description of an activity
bclenet Jan 14, 2026
6bf58cd
GeneratedBy to BIDSProv
bclenet Jan 14, 2026
faae982
GeneratedBy to BIDSProv
bclenet Jan 14, 2026
94459c8
docker URL as Env Id
bclenet Jan 14, 2026
00e5ab8
Removing BIDSProv-version
bclenet Jan 15, 2026
cd4231f
Removing BIDSProv-version
bclenet Jan 15, 2026
9a34566
Removing BIDSProv-version
bclenet Jan 15, 2026
feee941
Removing BIDSProv-version
bclenet Jan 15, 2026
1e22b9d
Removing BIDSProv-version
bclenet Jan 15, 2026
085dfc0
Rework graph
bclenet Jan 15, 2026
c9749ec
AltIdentifier is a list
bclenet Jan 16, 2026
6255ab3
Example name
bclenet Jan 20, 2026
3833ed6
alternativeidentifier
bclenet Feb 3, 2026
6eee1c6
Lists + non contracted forms
bclenet Feb 3, 2026
4eca423
Lists + non contracted forms
bclenet Feb 3, 2026
5bf0285
Lists + non contracted forms
bclenet Feb 3, 2026
1779ded
Lists + non contracted forms
bclenet Feb 3, 2026
dcf9d2e
Merge branch 'master' into BEP028_fmriprep
bclenet Feb 3, 2026
bedda43
Merge branch 'master' into BEP028_spm
bclenet Feb 3, 2026
d32de41
Merge branch 'master' into BEP028_heudiconv
bclenet Feb 3, 2026
b45eff3
Merge branch 'master' into BEP028_dcm2niix
bclenet Feb 3, 2026
25a58b4
Merge branch 'master' into BEP028_nilearn
bclenet Feb 3, 2026
611064e
GeneratedBy are lists
bclenet Feb 3, 2026
f74b894
GeneratedBy are lists
bclenet Feb 3, 2026
ef1d477
AlternativeIdentifier for Environments
bclenet Feb 5, 2026
ec3edf3
Merge remote-tracking branch 'bclenet/BEP028_dcm2niix' into BEP028_om…
rwblair Mar 18, 2026
6786546
Merge remote-tracking branch 'bclenet/BEP028_heudiconv' into BEP028_o…
rwblair Mar 18, 2026
5e7ce40
Merge remote-tracking branch 'bclenet/BEP028_manual_entities' into BE…
rwblair Mar 18, 2026
d9a29dd
Merge remote-tracking branch 'bclenet/BEP028_spm' into BEP028_omnibus
rwblair Mar 18, 2026
7e8f80e
Merge remote-tracking branch 'bclenet/BEP028_fmriprep' into BEP028_om…
rwblair Mar 18, 2026
526b834
Merge remote-tracking branch 'bclenet/BEP028_nilearn' into BEP028_omn…
rwblair Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/validate_datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
run: |
git clone -b dev https://github.com/bids-standard/bids-validator/ ../bids-validator
cd ../bids-validator
git checkout bep028
deno compile -A -o $HOME/.deno/bin/bids-validator src/bids-validator.ts

- name: Install BIDS validator (dev-prs with VAL_PR)
Expand Down Expand Up @@ -139,6 +140,10 @@ jobs:
exit 1;
fi

- name: Skip legacy validation for post-legacy datasets
run: for DS in mrs_* dwi_deriv pet006 pheno004 volume_timing provenance_*; do touch $DS/.SKIP_VALIDATION; done
if: matrix.bids-validator == 'legacy'

- name: Skip stable validation for datasets with unreleased validator features
# Replace ${EMPTY} with dataset patterns, when this is needed
# Reset to "for DS in ${EMPTY}; ..." after a validator release
Expand All @@ -148,7 +153,7 @@ jobs:
- name: Skip main validation for datasets with unreleased spec features
# Replace ${EMPTY} with dataset patterns, when this is needed
# Reset to "for DS in ${EMPTY}; ..." after a spec release
run: for DS in ${EMPTY}; do touch $DS/.SKIP_VALIDATION; done
run: for DS in dwi_deriv pheno004 provenance_* eyetracking_* atlas-* emg_*; do touch $DS/.SKIP_VALIDATION; done
if: matrix.bids-validator != 'dev'

- name: Set BIDS_SCHEMA variable for dev version
Expand All @@ -157,7 +162,7 @@ jobs:
# Update this URL to the schema.json from PRs to the spec, when needed.
# If this variable is unset, dev will generally track the latest development
# release of https://jsr.io/@bids/schema
run: echo BIDS_SCHEMA=https://bids-specification.readthedocs.io/en/latest/schema.json >> $GITHUB_ENV
run: echo BIDS_SCHEMA=https://bids-specification--2099.org.readthedocs.build/en/2099/schema.json >> $GITHUB_ENV

- name: Set BIDS_SCHEMA variable for dev-prs version
if: matrix.bids-validator == 'dev-prs' && env.SPEC_PR != ''
Expand Down
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,3 +418,38 @@ DO NOT EDIT DIRECTLY.
| [qmri_sa2rage](https://github.com/bids-standard/bids-examples/tree/master/qmri_sa2rage) | Fast B1+ mapping using SA2RAGE | fmap | TB1SRGE | `not publicly available` | [@agahkarakuzu](https://github.com/agahkarakuzu) |
| [qmri_tb1tfl](https://github.com/bids-standard/bids-examples/tree/master/qmri_tb1tfl) | B1+ mapping with TurboFLASH readout. | fmap | TB1TFL | `not publicly available` | [@agahkarakuzu](https://github.com/agahkarakuzu) |
| [qmri_vfa](https://github.com/bids-standard/bids-examples/tree/master/qmri_vfa) | Variable Flip Angle T1 mapping. Includes an Actual Flip Angle (AFI) B1+ mapping example. | anat, fmap | TB1AFI, VFA | [link](https://osf.io/k4bs5/) | [@agahkarakuzu](https://github.com/agahkarakuzu) |
=======

### Phenotype

<!--
TABLE BELOW IS GENERATED AUTOMATICALLY.
DO NOT EDIT DIRECTLY.
-->

| name | description | datatypes | suffixes | link to full data | maintained by |
|:--------------------------------------------------------------------------------|:-----------------------------------------------------------------|:----------------|:-----------|:--------------------|:-----------------------------------------|
| [pheno004](https://github.com/bids-standard/bids-examples/tree/master/pheno004) | Minimal dataset with subjects with imaging and/or phenotype data | phenotype, anat | T1w | n/a | [@ericearl](https://github.com/ericearl) |

### Provenance

<!--
TABLE BELOW IS GENERATED AUTOMATICALLY.
DO NOT EDIT DIRECTLY.
-->

| name | description | datatypes | suffixes | link to full data | maintained by |
|:------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------|:------------|:-------------------------|:-------------------------------------------------------------------------------------------------|:---------------------------------------|
| [provenance_dcm2niix](https://github.com/bids-standard/bids-examples/tree/master/provenance_dcm2niix) | Shows minimal example of provenance metadata for a DICOM to Nifti conversion with [`dcm2niix`](https://github.com/rordenlab/dcm2niix) | anat | T1w, act, ent, env, soft | This example is based upon [hirni-demo](https://github.com/psychoinformatics-de/hirni-demo) data | [@bclenet](https://github.com/bclenet) |
=======
| name | description | datatypes | suffixes | link to full data | maintained by |
|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:------------|:-----------|:--------------------|:----------------|
| [provenance_heudiconv Shows minimal example of provenance metadata for a DICOM to Nifti conversion with [`heudiconv`](https://heudiconv.readthedocs.io/en/latest/) This example is based upon [hirni-demo](https://github.com/psychoinformatics-de/hirni-demo) data [@bclenet](https://github.com/bclenet) anat T1w, act, ent, env, soft](https://github.com/bids-standard/bids-examples/tree/master/provenance_heudiconv Shows minimal example of provenance metadata for a DICOM to Nifti conversion with [`heudiconv`](https://heudiconv.readthedocs.io/en/latest/) This example is based upon [hirni-demo](https://github.com/psychoinformatics-de/hirni-demo) data [@bclenet](https://github.com/bclenet) anat T1w, act, ent, env, soft) | n/a | n/a | n/a | n/a | n/a |
=======
| name | description | datatypes | suffixes | link to full data | maintained by |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------|:------------|:-----------|:--------------------|:----------------|
| [provenance_spm_default Provenance metadata for a derivative dataset after functional MRI preprocessing performed with [`SPM`](https://www.fil.ion.ucl.ac.uk/spm/). This example is based upon [ds000011](cf. https://openfmri.org/dataset/ds000011/) data. [@bclenet](https://github.com/bclenet) anat, func T1w, bold, seg8, act, ent, soft](https://github.com/bids-standard/bids-examples/tree/master/provenance_spm_default Provenance metadata for a derivative dataset after functional MRI preprocessing performed with [`SPM`](https://www.fil.ion.ucl.ac.uk/spm/). This example is based upon [ds000011](cf. https://openfmri.org/dataset/ds000011/) data. [@bclenet](https://github.com/bclenet) anat, func T1w, bold, seg8, act, ent, soft) | n/a | n/a | n/a | n/a | n/a |
=======
| name | description | datatypes | suffixes | link to full data | maintained by |
|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------|:------------|:-----------|:--------------------|:----------------|
| [provenance_fmriprep Provenance metadata for a derivative dataset after functional MRI preprocessing performed with [`fMRIPrep`](https://fmriprep.org/en/23.1.3/index.html). This example is based upon [ds001734](https://openneuro.org/datasets/ds001734/versions/1.0.5) data. [@bclenet](https://github.com/bclenet) anat, func, prov](https://github.com/bids-standard/bids-examples/tree/master/provenance_fmriprep Provenance metadata for a derivative dataset after functional MRI preprocessing performed with [`fMRIPrep`](https://fmriprep.org/en/23.1.3/index.html). This example is based upon [ds001734](https://openneuro.org/datasets/ds001734/versions/1.0.5) data. [@bclenet](https://github.com/bclenet) anat, func, prov) | T1w, bold, act, ent, soft, env | n/a | n/a | n/a | n/a |
5 changes: 5 additions & 0 deletions dataset_listing.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,8 @@ atlas-DiFuMo n/a n/a
eyetracking_fmri anat, fmap, func T1w, T2w, bold, epi, events, fieldmap, magnitude, physio
atlas-suit n/a T1w
atlas-Juelich n/a n/a
provenance_dcm2niix Shows minimal example of provenance metadata for a DICOM to Nifti conversion with [`dcm2niix`](https://github.com/rordenlab/dcm2niix) This example is based upon [hirni-demo](https://github.com/psychoinformatics-de/hirni-demo) data [@bclenet](https://github.com/bclenet) anat T1w, act, ent, env, soft
provenance_heudiconv Shows minimal example of provenance metadata for a DICOM to Nifti conversion with [`heudiconv`](https://heudiconv.readthedocs.io/en/latest/) This example is based upon [hirni-demo](https://github.com/psychoinformatics-de/hirni-demo) data [@bclenet](https://github.com/bclenet) anat T1w, act, ent, env, soft
provenance_spm_default Provenance metadata for a derivative dataset after functional MRI preprocessing performed with [`SPM`](https://www.fil.ion.ucl.ac.uk/spm/). This example is based upon [ds000011](cf. https://openfmri.org/dataset/ds000011/) data. [@bclenet](https://github.com/bclenet) anat, func T1w, bold, seg8, act, ent, soft
provenance_fmriprep Provenance metadata for a derivative dataset after functional MRI preprocessing performed with [`fMRIPrep`](https://fmriprep.org/en/23.1.3/index.html). This example is based upon [ds001734](https://openneuro.org/datasets/ds001734/versions/1.0.5) data. [@bclenet](https://github.com/bclenet) anat, func, prov T1w, bold, act, ent, soft, env
provenance_nilearn Provenance metadata for the GLM Analysis of an fMRI dataset with Nilearn. [@bclenet](https://github.com/bclenet) act, ent, env, soft
45 changes: 45 additions & 0 deletions provenance_dcm2niix/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Provenance of DICOM to NIfTI conversion with `dcm2niix`

## Goal

This example aims at showing provenance metadata for a DICOM to NIfTI conversion with [`dcm2niix`](https://github.com/rordenlab/dcm2niix
). Provenance metadata was created manually ; its acts as a guideline for further machine-generated provenance by `dcm2niix`.

## Source data

That the `sourcedata/` directory contains the source dataset (DICOM files) known as [hirni-demo](https://github.com/psychoinformatics-de/hirni-demo).

## Directory tree

After conversion, and adding provenance traces, the directory tree is as follows.

Legend:
* files with a ⭐ were generated by `dcm2niix`;
* files marked with a ✍️ were generated manually;
* files marked with a 🤖 were computed from the manually generated provenance metadata;
* the ⭐✍️ marked `sub-02/anat/sub-02_T1w.json` file was generated by `dcm2niix`, then the `GeneratedBy` and `SidecarGeneratedBy` provenance-related fields were added manually.

> [!NOTE]
> Note that the `docs/` directory contains explanatory data (see [Provenance as a RDF graph](#provenance-as-a-rdf-graph)) that is not required to encode provenance.

```
✍️ docs/
├── 🤖 prov-dcm2niix.jsonld
└── 🤖 prov-dcm2niix.png
✍️ prov/
├── ✍️ prov-dcm2niix_act.json
├── ✍️ prov-dcm2niix_ent.json
├── ✍️ prov-dcm2niix_env.json
└── ✍️ prov-dcm2niix_soft.json
sourcedata/
⭐ sub-02/
└── ⭐ anat
├── ⭐✍️ sub-02_T1w.json
└── ⭐ sub-02_T1w.nii
```

## Provenance as a RDF graph

Provenance metadata can be aggregated as a JSON-LD RDF graph, which is available in [`docs/prov-dcm2niix.jsonld`](docs/prov-dcm2niix.jsonld). This is a rendered version of the graph, also available in [`docs/prov-dcm2niix.png`](docs/prov-dcm2niix.png).

![Rendered version of the RDF graph](docs/prov-dcm2niix.png)
14 changes: 14 additions & 0 deletions provenance_dcm2niix/dataset_description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"Name": "Provenance metadata for DICOM to NIfTI conversion with dcm2niix",
"BIDSVersion": "1.10.0",
"DatasetType": "raw",
"License": "CC0",
"Authors": [
"Boris Clénet"
],
"SourceDatasets": [
{
"URL": "https://github.com/psychoinformatics-de/hirni-demo"
}
]
}
60 changes: 60 additions & 0 deletions provenance_dcm2niix/docs/prov-dcm2niix.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"@context": "https://bids-specification--2099.org.readthedocs.build/en/2099/provenance-context.json",
"Records": {
"Software": [
{
"Id": "bids::prov#dcm2niix-khhkm7u1",
"Label": "dcm2niix",
"AlternativeIdentifier": [
"RRID:SCR_023517"
],
"Version": "v1.0.20220720"
}
],
"Activities": [
{
"Id": "bids::prov#conversion-00f3a18f",
"Label": "Conversion",
"Command": "dcm2niix -o . -f sub-%i/anat/sub-%i_T1w sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms",
"AssociatedWith": [
"bids::prov#dcm2niix-khhkm7u1"
],
"Used": [
"bids::prov#fedora-uldfv058",
"bids::sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms"
]
}
],
"Files": [
{
"Id": "bids::sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms",
"Label": "dicoms"
},
{
"Id": "bids::sub-02/anat/sub-02_T1w.nii",
"Label": "sub-02_T1w.nii",
"AtLocation": "sub-02/anat/sub-02_T1w.nii",
"GeneratedBy": [
"bids::prov#conversion-00f3a18f"
]
},
{
"Id": "bids::sub-02/anat/sub-02_T1w.json",
"Label": "sub-02_T1w.json",
"AtLocation": "sub-02/anat/sub-02_T1w.json",
"GeneratedBy": [
"bids::prov#conversion-00f3a18f"
]
}
],
"Datasets": [],
"prov:Entity": [],
"Environments": [
{
"Id": "bids::prov#fedora-uldfv058",
"Label": "Fedora release 36 (Thirty Six)",
"OperatingSystem": "GNU/Linux 6.2.15-100.fc36.x86_64"
}
]
}
}
Binary file added provenance_dcm2niix/docs/prov-dcm2niix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions provenance_dcm2niix/prov/prov-dcm2niix_act.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"Activities": [
{
"Id": "bids::prov#conversion-00f3a18f",
"Label": "Conversion",
"Command": "dcm2niix -o . -f sub-%i/anat/sub-%i_T1w sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms",
"AssociatedWith": [
"bids::prov#dcm2niix-khhkm7u1"
],
"Used": [
"bids::prov#fedora-uldfv058",
"bids::sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms"
]
}
]
}
8 changes: 8 additions & 0 deletions provenance_dcm2niix/prov/prov-dcm2niix_ent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Files": [
{
"Id": "bids::sourcedata/hirni-demo/acq1/dicoms/example-dicom-structural-master/dicoms",
"Label": "dicoms"
}
]
}
9 changes: 9 additions & 0 deletions provenance_dcm2niix/prov/prov-dcm2niix_env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Environments": [
{
"Id": "bids::prov#fedora-uldfv058",
"Label": "Fedora release 36 (Thirty Six)",
"OperatingSystem": "GNU/Linux 6.2.15-100.fc36.x86_64"
}
]
}
12 changes: 12 additions & 0 deletions provenance_dcm2niix/prov/prov-dcm2niix_soft.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"Software": [
{
"Id": "bids::prov#dcm2niix-khhkm7u1",
"Label": "dcm2niix",
"AlternativeIdentifier": [
"RRID:SCR_023517"
],
"Version": "v1.0.20220720"
}
]
}
Loading
Loading