Skip to content

Commit 2a47ed8

Browse files
author
cmaumet
committed
Update example and spec
1 parent b33ebc2 commit 2a47ed8

4 files changed

Lines changed: 104 additions & 0 deletions

File tree

doc/content/specs/nidm-results_dev.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,12 @@ <h1 label="nidm:MaskMap">nidm:MaskMap</h1>
884884
<ul>
885885
<li><span class="attribute" id="nidm:MaskMap.label">rdfs:label</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> human readable description of the nidm:MaskMap.</li>
886886

887+
<li><span class="attribute" id="nidm:MaskMap.nidm:hasMapHeader">
888+
<a>nidm:hasMapHeader</a>
889+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> . (range <a>nidm:MapHeader</a>)</li>
890+
<li><span class="attribute" id="nidm:MaskMap.nidm:inCoordinateSpace">
891+
<a>nidm:inCoordinateSpace</a>
892+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> property of a DataArray to associate a CoordinateSpace with a physical file. (range <a>nidm:CoordinateSpace</a>)</li>
887893
<li><span class="attribute" id="nidm:MaskMap.nidm:isUserDefined">
888894
<dfn>nidm:isUserDefined</dfn>
889895
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> a binary flag defining whether the mask was specified by the user (true) or automatically generated during the analysis (false). (range <a title="xsd:boolean" href="http://www.w3.org/2001/XMLSchema#boolean">xsd:boolean</a>)</li>
@@ -1447,6 +1453,12 @@ <h1 label="nidm:DisplayMaskMap">nidm:DisplayMaskMap</h1>
14471453
<ul>
14481454
<li><span class="attribute" id="nidm:DisplayMaskMap.label">rdfs:label</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> human readable description of the nidm:DisplayMaskMap.</li>
14491455

1456+
<li><span class="attribute" id="nidm:DisplayMaskMap.nidm:hasMapHeader">
1457+
<a>nidm:hasMapHeader</a>
1458+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> . (range <a>nidm:MapHeader</a>)</li>
1459+
<li><span class="attribute" id="nidm:DisplayMaskMap.nidm:inCoordinateSpace">
1460+
<a>nidm:inCoordinateSpace</a>
1461+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> property of a DataArray to associate a CoordinateSpace with a physical file. (range <a>nidm:CoordinateSpace</a>)</li>
14501462
<li><span class="attribute" id="nidm:DisplayMaskMap.nidm:isUserDefined">
14511463
<a>nidm:isUserDefined</a>
14521464
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> a binary flag defining whether the mask was specified by the user (true) or automatically generated during the analysis (false). (range <a title="xsd:boolean" href="http://www.w3.org/2001/XMLSchema#boolean">xsd:boolean</a>)</li>
@@ -1642,6 +1654,15 @@ <h1 label="nidm:SearchSpaceMaskMap">nidm:SearchSpaceMaskMap</h1>
16421654
<ul>
16431655
<li><span class="attribute" id="nidm:SearchSpaceMaskMap.label">rdfs:label</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> human readable description of the nidm:SearchSpaceMaskMap.</li>
16441656

1657+
<li><span class="attribute" id="nidm:SearchSpaceMaskMap.nidm:hasMapHeader">
1658+
<a>nidm:hasMapHeader</a>
1659+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> . (range <a>nidm:MapHeader</a>)</li>
1660+
<li><span class="attribute" id="nidm:SearchSpaceMaskMap.nidm:inCoordinateSpace">
1661+
<a>nidm:inCoordinateSpace</a>
1662+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> property of a DataArray to associate a CoordinateSpace with a physical file. (range <a>nidm:CoordinateSpace</a>)</li>
1663+
<li><span class="attribute" id="nidm:SearchSpaceMaskMap.nidm:isUserDefined">
1664+
<a>nidm:isUserDefined</a>
1665+
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> a binary flag defining whether the mask was specified by the user (true) or automatically generated during the analysis (false). (range <a title="xsd:boolean" href="http://www.w3.org/2001/XMLSchema#boolean">xsd:boolean</a>)</li>
16451666
<li><span class="attribute" id="nidm:SearchSpaceMaskMap.nidm:randomFieldStationarity">
16461667
<dfn>nidm:randomFieldStationarity</dfn>
16471668
</span>: an <em class="rfc2119" title="OPTIONAL">OPTIONAL</em> is the random field assumed to be stationary across the entire search volume?. (range <a title="xsd:boolean" href="http://www.w3.org/2001/XMLSchema#boolean">xsd:boolean</a>)</li>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
Prov store: https://provenance.ecs.soton.ac.uk/store/documents/76838/
3+
4+
Alternative serialisations: [json](https://provenance.ecs.soton.ac.uk/store/documents/76838.json), [turtle](https://provenance.ecs.soton.ac.uk/store/documents/76838.ttl),
5+
Graph: [svg](https://provenance.ecs.soton.ac.uk/store/documents/76838.svg), [PDF](https://provenance.ecs.soton.ac.uk/store/documents/76838.pdf), [png](https://provenance.ecs.soton.ac.uk/store/documents/76838.png)
6+
7+
![Prov Graph](https://provenance.ecs.soton.ac.uk/store/documents/76838.png)
8+
9+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
document
2+
prefix crypto <http://id.loc.gov/vocabulary/preservation/cryptographicHashFunctions#>
3+
prefix neurolex <http://neurolex.org/wiki/>
4+
prefix obo <http://purl.obolibrary.org/obo/>
5+
prefix dct <http://purl.org/dc/terms/>
6+
prefix spm <http://www.incf.org/ns/nidash/spm#>
7+
prefix pre_0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
8+
prefix fsl <http://www.incf.org/ns/nidash/fsl#>
9+
prefix rdfs <http://www.w3.org/2000/01/rdf-schema#>
10+
prefix nfo <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#>
11+
prefix nidm <http://www.incf.org/ns/nidash/nidm#>
12+
prefix niiri <http://iri.nidash.org/>
13+
prefix xsd <http://www.w3.org/2001/XMLSchema>
14+
prefix bnode <http://openprovenance.org/provtoolbox/bnode/>
15+
prefix dctype <http://purl.org/dc/dcmitype/>
16+
prefix dc <http://purl.org/dc/elements/1.1/>
17+
activity(niiri:inference_id_1,-,-,[prov:type = 'nidm:Inference', prov:label = "Inference", nidm:isParametricTest = "false" %% xsd:boolean, nidm:hasAlternativeHypothesis = 'nidm:OneTailedTest'])
18+
entity(niiri:non_parametric_null_dististribution_id,[prov:type = 'nidm:NonParametricNullDistribution', prov:label = "Non-Parametric Null Distribution", nidm:numberOfPermutations = "5000" %% xsd:int, nidm:exchangeabilityBlockSize = "4" %% xsd:int])
19+
entity(niiri:statistic_map_id,[prov:type = 'nidm:StatisticMap', prov:label = "Smoothed Variance T-Statistic Map: passive listening > rest", prov:location = "file://./SmoothedVarianceTStatistic.nii.gz" %% xsd:anyURI, nidm:statisticType = 'nidm:SmoothedVarianceTStatistic', nfo:fileName = "SmoothedVarianceTStatistic.nii.gz" %% xsd:string, dct:format = "image/nifti" %% xsd:string, nidm:contrastName = "passive listening > rest" %% xsd:string, nidm:effectDegreesOfFreedom = "1" %% xsd:float, nidm:inCoordinateSpace = 'niiri:coordinate_space_id_1', crypto:sha512 = "799e9bbf8c15b35c0098bca4" %% xsd:string, nidm:varianceSmoothingFWHM = "[6 6 6]" %% xsd:string])
20+
entity(niiri:coordinate_space_id_1,[prov:type = 'nidm:CoordinateSpace', prov:label = "Coordinate space 1", nidm:voxelToWorldMapping = "[[-3, 0, 0, 78],[0, 3, 0, -112],[0, 0, 3, -70],[0, 0, 0, 1]]" %% xsd:string, nidm:voxelUnits = "['mm', 'mm', 'mm']" %% xsd:string, nidm:voxelSize = "[3, 3, 3]" %% xsd:string, nidm:inWorldCoordinateSystem = 'nidm:MNICoordinateSystem', nidm:numberOfDimensions = "3" %% xsd:int, nidm:dimensionsInVoxels = "[53,63,52]" %% xsd:string])
21+
used(niiri:inference_id_1,niiri:non_parametric_null_dististribution_id,-)
22+
used(niiri:inference_id_1,niiri:statistic_map_id,-)
23+
wasGeneratedBy(niiri:statistic_map_id,niiri:contrast_estimation_id,-)
24+
endDocument
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
@prefix prov: <http://www.w3.org/ns/prov#> .
2+
@prefix crypto: <http://id.loc.gov/vocabulary/preservation/cryptographicHashFunctions#> .
3+
@prefix neurolex: <http://neurolex.org/wiki/> .
4+
@prefix dc: <http://purl.org/dc/elements/1.1/> .
5+
@prefix dct: <http://purl.org/dc/terms/> .
6+
@prefix dctype: <http://purl.org/dc/dcmitype/> .
7+
@prefix spm: <http://www.incf.org/ns/nidash/spm#> .
8+
@prefix fsl: <http://www.incf.org/ns/nidash/fsl#> .
9+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10+
@prefix nidm: <http://www.incf.org/ns/nidash/nidm#> .
11+
@prefix niiri: <http://iri.nidash.org/> .
12+
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
13+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14+
@prefix obo: <http://purl.obolibrary.org/obo/> .
15+
16+
17+
18+
niiri:coordinate_space_id_1 a prov:Entity , nidm:CoordinateSpace ;
19+
rdfs:label "Coordinate space 1" ;
20+
nidm:voxelToWorldMapping "[[-3, 0, 0, 78],[0, 3, 0, -112],[0, 0, 3, -70],[0, 0, 0, 1]]"^^xsd:string ;
21+
nidm:voxelUnits "['mm', 'mm', 'mm']"^^xsd:string ;
22+
nidm:voxelSize "[3, 3, 3]"^^xsd:string ;
23+
nidm:inWorldCoordinateSystem nidm:MNICoordinateSystem ;
24+
nidm:numberOfDimensions "3"^^xsd:int ;
25+
nidm:dimensionsInVoxels "[53,63,52]"^^xsd:string .
26+
27+
niiri:inference_id_1 a prov:Activity , nidm:Inference ;
28+
rdfs:label "Inference" ;
29+
nidm:isParametricTest "false"^^xsd:boolean ;
30+
nidm:hasAlternativeHypothesis nidm:OneTailedTest ;
31+
prov:used niiri:non_parametric_null_dististribution_id, niiri:statistic_map_id .
32+
33+
niiri:non_parametric_null_dististribution_id a prov:Entity , nidm:NonParametricNullDistribution;
34+
rdfs:label "Non-Parametric Null Distribution" ;
35+
nidm:numberOfPermutations "5000"^^xsd:int ;
36+
nidm:exchangeabilityBlockSize "4"^^xsd:int .
37+
38+
niiri:statistic_map_id a prov:Entity , nidm:StatisticMap ;
39+
rdfs:label "Smoothed Variance T-Statistic Map: passive listening > rest" ;
40+
prov:atLocation "file://./SmoothedVarianceTStatistic.nii.gz"^^xsd:anyURI ;
41+
nidm:statisticType nidm:SmoothedVarianceTStatistic ; #
42+
nfo:fileName "SmoothedVarianceTStatistic.nii.gz"^^xsd:string ;
43+
dct:format "image/nifti"^^xsd:string ;
44+
nidm:contrastName "passive listening > rest"^^xsd:string ;
45+
nidm:effectDegreesOfFreedom "1"^^xsd:float ;
46+
nidm:inCoordinateSpace niiri:coordinate_space_id_1 ;
47+
crypto:sha512 "799e9bbf8c15b35c0098bca4"^^xsd:string ;
48+
prov:wasGeneratedBy niiri:contrast_estimation_id;
49+
nidm:varianceSmoothingFWHM "[6 6 6]"^^xsd:string .
50+

0 commit comments

Comments
 (0)