Skip to content

Commit 8051399

Browse files
committed
reasons for local context
1 parent c6865fd commit 8051399

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

examples/dcm2niix/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,15 @@ python code/plot_graph.py -i prov/experiment_1/merged_provenance_2.ttl -o prov/e
6666

6767
![](/examples/dcm2niix/prov/experiment_1/merged_provenance_2.png)
6868

69-
### Limitation #2: `bids` namespace for files
69+
### Limitation #2: the `@graph` term
70+
71+
In the original BIDSProv context, we define the term `Records` that refers to `@graph` while setting up type indexing.
72+
73+
Probably due to the fact that rdflib 7.1.3 does not conform with JSON-LD 1.1, parsing several JSON-LD files each one containing a `Records` would fail: it sets `Records` with the last parsed content, not a union of all containers as it should be.
74+
75+
Therefore, we sticked to using the `@graph` term, in a local context `prov/bidsprov_context.json`.
76+
77+
### Limitation #3: `bids` namespace for files
7078

7179
Defining the `@base` term in the context (see `sub_02/ses_20140425155335/func/sub-02_ses-20140425155335_task-oneback_run-1_bold.prov.json` line 5) allows give a default base IRI to relative IRIs.
7280

0 commit comments

Comments
 (0)