-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathro-crate-preview.html
More file actions
354 lines (301 loc) · 15.1 KB
/
ro-crate-preview.html
File metadata and controls
354 lines (301 loc) · 15.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<html>
<head>
<script type="application/ld+json">
{
"@context": [
"https://w3id.org/ro/crate/1.2/context"
],
"@graph": [
{
"@id": "ro-crate-metadata.json",
"@type": "CreativeWork",
"conformsTo": {
"@id": "https://w3id.org/ro/crate/1.2"
},
"about": {
"@id": "./"
}
},
{
"@id": "./",
"@type": "Dataset",
"conformsTo": {
"@id": "https://w3id.org/ro/wfrun/process/0.6-DRAFT"
},
"hasPart": [
{
"@id": "pics/2017-06-11%2012.56.14.jpg"
},
{
"@id": "pics/sepia_fence.jpg"
}
],
"isBasedOn": {
"@id": "https://doi.org/10.5281/zenodo.1009240"
},
"license": {
"@id": "http://spdx.org/licenses/CC0-1.0"
},
"mentions": {
"@id": "#SepiaConversion_1"
},
"name": "My Pictures"
},
{
"@id": "https://w3id.org/ro/wfrun/process/0.6-DRAFT",
"@type": "CreativeWork",
"name": "Process Run Crate",
"version": "0.6-DRAFT"
},
{
"@id": "pics/2017-06-11%2012.56.14.jpg",
"@type": "File",
"description": "Original image",
"encodingFormat": "image/jpeg",
"name": "2017-06-11 12.56.14.jpg (input)",
"author": {
"@id": "https://orcid.org/0000-0002-3545-944X"
}
},
{
"@id": "pics/sepia_fence.jpg",
"@type": "File",
"description": "The converted picture, now sepia-colored",
"encodingFormat": "image/jpeg",
"name": "sepia_fence (output)"
},
{
"@id": "#SepiaConversion_1",
"@type": "CreateAction",
"name": "Convert dog image to sepia",
"description": "convert -sepia-tone 80% pics/2017-06-11\\ 12.56.14.jpg pics/sepia_fence.jpg",
"endTime": "2024-05-17T01:04:52+01:00",
"instrument": {
"@id": "https://www.imagemagick.org/"
},
"object": {
"@id": "pics/2017-06-11%2012.56.14.jpg"
},
"result": {
"@id": "pics/sepia_fence.jpg"
},
"agent": {
"@id": "https://orcid.org/0000-0001-9842-9718"
}
},
{
"@id": "https://www.imagemagick.org/",
"@type": "SoftwareApplication",
"url": "https://www.imagemagick.org/",
"name": "ImageMagick",
"softwareVersion": "6.9.7-4"
},
{
"@id": "https://orcid.org/0000-0001-9842-9718",
"@type": "Person",
"name": "Stian Soiland-Reyes"
},
{
"@id": "https://orcid.org/0000-0002-3545-944X",
"@type": "Person",
"name": "Peter Sefton"
}
]
}
</script>
<!-- script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script -->
<script src="https://unpkg.com/ro-crate-html@0.1/dist/ro-crate-dynamic.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta charset='utf-8'/>
<style>
table.table {
padding-bottom: 300px;
}
</style>
</head>
<body>
<nav class="navbar">
<ul class="nav navbar-nav" >
<li ><a href="#"><span class="glyphicon glyphicon-home dataset_name"> My Pictures</span></a></li>
</ul>
</nav>
<div class="container">
<div class="jumbotron">
<h4 class="citation"></h4>
<h3 class="item_name">My Pictures</h3>
<a href="./ro-crate-metadata.json">⬇️🏷️ Download all the metadata for <span class='name'>My Pictures</span> in JSON-LD format</a>
<div id="check"></div>
</div>
<div id="summary">
<div class='all-meta'>
<div>
<h3> My Pictures</h3>
<div id="./">
<table class="table metadata table-striped" >
<tbody><tr>
<th style="text-align:left;" class="prop">@id</th>
<td style='text-align:left'><span>./</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">name<span> </span><a href="http://schema.org/name">[?]</a></th>
<td style='text-align:left'><span>My Pictures</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">@type</th>
<td style='text-align:left'><span>Dataset</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">conformsTo<span> </span><a href="http://purl.org/dc/terms/conformsTo">[?]</a></th>
<td style='text-align:left'><a href="#https%3A//w3id.org/ro/wfrun/process/0.6-DRAFT">Process Run Crate</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">hasPart<span> </span><a href="http://schema.org/hasPart">[?]</a></th>
<td style='text-align:left'><ul>
<li><a href="#pics/2017-06-11%252012.56.14.jpg">2017-06-11 12.56.14.jpg (input)</a></li>
<li><a href="#pics/sepia_fence.jpg">sepia_fence (output)</a></li>
</ul></td>
</tr><tr>
<th style="text-align:left;" class="prop">isBasedOn<span> </span><a href="http://schema.org/isBasedOn">[?]</a></th>
<td style='text-align:left'><a href="https://doi.org/10.5281/zenodo.1009240">https://doi.org/10.5281/zenodo.1009240</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">license<span> </span><a href="http://schema.org/license">[?]</a></th>
<td style='text-align:left'><a href="http://spdx.org/licenses/CC0-1.0">http://spdx.org/licenses/CC0-1.0</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">mentions<span> </span><a href="http://schema.org/mentions">[?]</a></th>
<td style='text-align:left'><a href="#%23SepiaConversion_1">Convert dog image to sepia</a></td>
</tr><tr><th colspan="2" style="text-align:center">Items that reference this one</th><tr><tr>
<th style="text-align:left;" class="prop">about<span> </span><a href="http://schema.org/about">[?]</a></th>
<td style='text-align:left'><a href="#ro-crate-metadata.json">ro-crate-metadata.json</a></td>
</tr></tbody>
</table>
</div>
</div>
<hr/><br/><br/>
<div>
<h3><a href="https://w3id.org/ro/wfrun/process/0.6-DRAFT">Go to: </a> Process Run Crate</h3>
<div id="https://w3id.org/ro/wfrun/process/0.6-DRAFT">
<table class="table metadata table-striped" >
<tbody><tr>
<th style="text-align:left;" class="prop">@id</th>
<td style='text-align:left'><a href="https://w3id.org/ro/wfrun/process/0.6-DRAFT">https://w3id.org/ro/wfrun/process/0.6-DRAFT</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">name<span> </span><a href="http://schema.org/name">[?]</a></th>
<td style='text-align:left'><span>Process Run Crate</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">@type</th>
<td style='text-align:left'><span>CreativeWork</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">version<span> </span><a href="http://schema.org/version">[?]</a></th>
<td style='text-align:left'><span>0.6-DRAFT</span></td>
</tr><tr><th colspan="2" style="text-align:center">Items that reference this one</th><tr><tr>
<th style="text-align:left;" class="prop">conformsTo<span> </span><a href="http://purl.org/dc/terms/conformsTo">[?]</a></th>
<td style='text-align:left'><a href="#./">My Pictures</a></td>
</tr></tbody>
</table>
</div>
</div>
<hr/><br/><br/>
<div>
<h3><a href="pics/2017-06-11%2012.56.14.jpg">⬇️ Download: </a> 2017-06-11 12.56.14.jpg (input)</h3>
<img width='100%' style='object-fit: contain' src='pics/2017-06-11%2012.56.14.jpg'/>
<div id="pics/2017-06-11%2012.56.14.jpg">
<table class="table metadata table-striped" >
<tbody><tr>
<th style="text-align:left;" class="prop">@id</th>
<td style='text-align:left'><span>pics/2017-06-11%2012.56.14.jpg</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">name<span> </span><a href="http://schema.org/name">[?]</a></th>
<td style='text-align:left'><span>2017-06-11 12.56.14.jpg (input)</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">@type</th>
<td style='text-align:left'><span>File</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">description<span> </span><a href="http://schema.org/description">[?]</a></th>
<td style='text-align:left'><span>Original image</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">author<span> </span><a href="http://schema.org/author">[?]</a></th>
<td style='text-align:left'><a href="#https%3A//orcid.org/0000-0002-3545-944X">Peter Sefton</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">encodingFormat<span> </span><a href="http://schema.org/encodingFormat">[?]</a></th>
<td style='text-align:left'><span>image/jpeg</span></td>
</tr><tr><th colspan="2" style="text-align:center">Items that reference this one</th><tr><tr>
<th style="text-align:left;" class="prop">hasPart<span> </span><a href="http://schema.org/hasPart">[?]</a></th>
<td style='text-align:left'><a href="#./">My Pictures</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">object<span> </span><a href="http://schema.org/object">[?]</a></th>
<td style='text-align:left'><a href="#%23SepiaConversion_1">Convert dog image to sepia</a></td>
</tr></tbody>
</table>
</div>
</div>
<hr/><br/><br/>
<div>
<h3><a href="pics/sepia_fence.jpg">⬇️ Download: </a> sepia_fence (output)</h3>
<img width='100%' style='object-fit: contain' src='pics/sepia_fence.jpg'/>
<div id="pics/sepia_fence.jpg">
<table class="table metadata table-striped" >
<tbody><tr>
<th style="text-align:left;" class="prop">@id</th>
<td style='text-align:left'><span>pics/sepia_fence.jpg</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">name<span> </span><a href="http://schema.org/name">[?]</a></th>
<td style='text-align:left'><span>sepia_fence (output)</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">@type</th>
<td style='text-align:left'><span>File</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">description<span> </span><a href="http://schema.org/description">[?]</a></th>
<td style='text-align:left'><span>The converted picture, now sepia-colored</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">encodingFormat<span> </span><a href="http://schema.org/encodingFormat">[?]</a></th>
<td style='text-align:left'><span>image/jpeg</span></td>
</tr><tr><th colspan="2" style="text-align:center">Items that reference this one</th><tr><tr>
<th style="text-align:left;" class="prop">hasPart<span> </span><a href="http://schema.org/hasPart">[?]</a></th>
<td style='text-align:left'><a href="#./">My Pictures</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">result<span> </span><a href="http://schema.org/result">[?]</a></th>
<td style='text-align:left'><a href="#%23SepiaConversion_1">Convert dog image to sepia</a></td>
</tr></tbody>
</table>
</div>
</div>
<hr/><br/><br/><hr/><br/><br/><hr/><br/><br/>
<div>
<h3> Convert dog image to sepia</h3>
<div id="#SepiaConversion_1">
<table class="table metadata table-striped" >
<tbody><tr>
<th style="text-align:left;" class="prop">@id</th>
<td style='text-align:left'><span>#SepiaConversion_1</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">name<span> </span><a href="http://schema.org/name">[?]</a></th>
<td style='text-align:left'><span>Convert dog image to sepia</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">@type</th>
<td style='text-align:left'><span>CreateAction</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">description<span> </span><a href="http://schema.org/description">[?]</a></th>
<td style='text-align:left'><span>convert -sepia-tone 80% pics/2017-06-11\ 12.56.14.jpg pics/sepia_fence.jpg</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">endTime<span> </span><a href="http://schema.org/endTime">[?]</a></th>
<td style='text-align:left'><span>2024-05-17T01:04:52+01:00</span></td>
</tr><tr>
<th style="text-align:left;" class="prop">instrument<span> </span><a href="http://schema.org/instrument">[?]</a></th>
<td style='text-align:left'><a href="#https%3A//www.imagemagick.org/">ImageMagick</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">object<span> </span><a href="http://schema.org/object">[?]</a></th>
<td style='text-align:left'><a href="#pics/2017-06-11%252012.56.14.jpg">2017-06-11 12.56.14.jpg (input)</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">result<span> </span><a href="http://schema.org/result">[?]</a></th>
<td style='text-align:left'><a href="#pics/sepia_fence.jpg">sepia_fence (output)</a></td>
</tr><tr>
<th style="text-align:left;" class="prop">agent<span> </span><a href="http://schema.org/agent">[?]</a></th>
<td style='text-align:left'><a href="#https%3A//orcid.org/0000-0001-9842-9718">Stian Soiland-Reyes</a></td>
</tr><tr><th colspan="2" style="text-align:center">Items that reference this one</th><tr><tr>
<th style="text-align:left;" class="prop">mentions<span> </span><a href="http://schema.org/mentions">[?]</a></th>
<td style='text-align:left'><a href="#./">My Pictures</a></td>
</tr></tbody>
</table>
</div>
</div>
<hr/><br/><br/></div>
</div>
</body>
</html>