forked from json-ld/json-ld.org
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
621 lines (560 loc) · 28.6 KB
/
index.html
File metadata and controls
621 lines (560 loc) · 28.6 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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
<!DOCTYPE html>
<html
prefix="
xhv: http://www.w3.org/1999/xhtml/vocab#
xsd: http://www.w3.org/2001/XMLSchema#
rdfs: http://www.w3.org/2000/01/rdf-schema#
dc: http://purl.org/dc/terms/
vcard: http://www.w3.org/2006/vcard/ns#
v: http://rdf.data-vocabulary.org/#"
lang="en" >
<head>
<title>FHIR RDF Playground - RDVCH</title>
<!-- Meta Tags -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<!-- Style Sheets -->
<link rel="stylesheet" type="text/css" href="static/css/bootstrap/bootstrap.css">
<!-- Remember to include jQuery :) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<!-- CodeMirror -->
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/g/bootstrap@2.3.1(css/bootstrap-responsive.min.css),codemirror@3.22.0(codemirror.css+addon/lint/lint.css+addon/hint/show-hint.css+theme/neat.css)">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/fontawesome/3.2.1/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="playground/playground.css">
<link rel="stylesheet" type="text/css" href="playground/jsonld-vis.css">
<link rel="stylesheet" type="text/css" href="static/css/rdf-font/rdf-font.css">
<link rel="stylesheet" type="text/css" href="playground/fhircat.css">
<link rel="shortcut icon" href="favicon.ico" />
<style>
.r5 {display:none}
/* label, .container::before, .container::after { display: contents; } */
.hide { display: none; }
input.rdf+label{ font-weight: normal; color: #444; background-color: #fff; background-image: none; padding: 0; }
input.rdf:checked+label{ font-weight: bold; color: black; }
</style>
<link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css" rel="stylesheet">
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>
</head>
<body id="page-playground" onload="playground.init();">
<!-- Link to open the modal -->
<div class="navbar navbar-static-top">
<div class="navbar-inner">
<div class="row-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="http://json-ld.org/"><img src="images/json-ld-data-24.png" alt="JSON-LD logo"> JSON-LD</a>
<div class="nav-collapse">
<ul class="nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="icon-folder-open"></span> Docs <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li class="nav-header"><strong>FHIR</strong></li>
<li><a href="http://build.fhir.org/">development server</a></li>
<li><a href="http://hl7.org/fhir/2021May" title="2021-04-15">4.6.0 - FHIR Release #5: Draft Ballot</a></li>
<li><a href="http://hl7.org/fhir/2021Mar" title="2021-03-11">4.1.0 - FHIR Release #R4B: Ballot #1</a></li>
<li><a href="http://hl7.org/fhir/R4/" title="2019-10-30">4.0.1 - FHIR Release #4</a></li>
<li><a href="http://hl7.org/fhir/directory.html">version list</a></li>
<li><a href="https://build.fhir.org/downloads">development downloads</a></li>
<li class="divider"></li>
<li class="nav-header"><strong>FHIR/RDF</strong></li>
<li><a href="https://build.fhir.org/rdf">RDF in FHIR</a></li>
<li><a href="https://build.fhir.org/fhir.schema.shex.zip">ShEx schema (zip file)</a></li>
<li class="divider"></li>
<li class="nav-header"><strong>Observation Resource</strong></li>
<li><a href="https://build.fhir.org/observation#resource">HTML resource tree</a></li>
<li><a href="https://build.fhir.org/observation.shex.html">ShEx schema (HTML-ized)</a></li>
<li><a href="https://build.fhir.org/observation-example-bloodpressure.ttl.html">Blood pressure (HTML-ized)</a></li>
<li class="divider"></li>
<li class="nav-header"><strong>JSON-LD</strong></li>
<li><a href="https://www.w3.org/TR/json-ld/">Syntax</a></li>
<li><a href="https://www.w3.org/TR/json-ld-api/">Processing Algorithms and API</a></li>
<li><a href="https://www.w3.org/TR/json-ld-framing/">Framing</a></li>
<li class="divider"></li>
<li class="nav-header"><a href="https://github.com/w3c/hcls-fhir-rdf/issues"><strong>Issues</strong> ⬀</a></li>
<li><a href="https://github.com/w3c/hcls-fhir-rdf/issues/86">json-ld 1.1 preprocessing checklist</a></li>
<li><a href="https://github.com/w3c/hcls-fhir-rdf/issues/76">list representation</a></li>
<li><a href="https://github.com/w3c/hcls-fhir-rdf/issues/69">cross-resource attributes</a></li>
<li><a href="https://github.com/w3c/hcls-fhir-rdf/issues/77">short scalars</a></li>
<li><a href="https://github.com/w3c/hcls-fhir-rdf/issues/77">modifier extensions</a></li>
<li>X don't curry type in complex types</li>
<li>X don't curry type in scalars</li>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<div>
<h1 style="float:left;">FHIR RDF Playground </h1>
<div style="clear: both;"></div>
</div>
<p>
This playground is for experimenting with converting FHIR JSON to FHIR RDF, both for the R4 (current) version and the R5 (proposed) version. It is based on the awesome <a href="https://json-ld.org/playground/">JSON-LD Playground</a>.
</p>
<div class="alert alert-info">
<strong>DO NOT use this playground for processing Protected Health Information (PHI).</strong> Although it may be safe to do so, because this playground runs in the browser, as of this writing this playground has not been vetted for use with PHI.
</div>
<ol>
<li>Paste your FHIR JSON into the top text box below, or click one of the example tabs to load a predefined example.</li>
<li>Click the "Generate JSON-LD" button, which converts your FHIR JSON into JSON-LD and displays it in the second text box below.</li>
<li>Click the "Turtle" tab, to have Turtle displayed in the third text box below, or choose a different tab for a different format.</li>
</ol>
</div>
<div class="loading hero">
<h1><i class="icon-spinner icon-spin icon-large"></i> Loading the Playground...</h1>
</div>
<div class="loaded hide">
<div class="container">
<table>
<tr>
<td>
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">FHIR Version
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li class="r" id="r4"><a>R4</a></li>
<li class="r" id="r5"><a>R5</a></li>
</ul>
</div>
</td>
<td>
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#exampleModalLong">
Advanced
</button>
</td></tr></table>
<div class="btn-group" data-toggle="buttons-radio">
<br />
<br />
<button class="btn disabled btn-primary">Examples:<a>*</a></button>
<!-- dynamically populated from manifest:
<button id="btn-person" class="btn button">
<i class="icon icon-user"></i>
<span>Patient</span>
</button>
-->
</div>
<div class="pull-right">
<div class="popover-info-content hide">
<table class="table table-striped">
<thead>
<tr>
<th>Key</th>
<th>Autocomplete</th>
</tr>
</thead>
<tbody>
<tr>
<td><label class="label">@</label></td>
<td>all of the <b>@</b> keywords</td>
</tr>
<tr>
<td><label class="label">Ctrl+Space</label></td>
<td>available keys in <b>@context</b></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Advanced Options</h5>
</button>
</div>
<div class="modal-body">
<button id="file-input-button" style="font-size: 80%; min-height: 1em;">Upload Definition File</button><input type="file" id="file-input" accept="application/zip" hidden>
<br />
<input type="checkbox" class="btn-check rdf hide" id="btn-Resource" autocomplete="off" checked><label class="btn btn-primary" for="btn-Resource"><b>R</b>esource.</label>property<input type="checkbox" class="btn-check rdf hide" id="btn-Valuetype" autocomplete="off" checked><label class="btn btn-primary" for="btn-Valuetype">.<b>V</b>aluetype</label>
<br />
<input type="checkbox" class="btn-check rdf hide" id="btn-Datatype" autocomplete="off" checked><label class="btn btn-primary" for="btn-Datatype"><b>D</b>atatype.</label>property...
<br />
<input type="checkbox" class="btn-check rdf" id="btn-RdfCollections" autocomplete="off"><label class="btn btn-primary" for="btn-RdfCollections">rdf:<b>C</b>ollections</label>
<br />
<input type="checkbox" class="btn-check rdf" id="btn-HoistScalars" autocomplete="off"><label class="btn btn-primary" for="btn-HoistScalars"><b>H</b>oist scalars</label>
<br />
<a id="showJsonld" style="cursor:pointer" >Show JSON-LD Editor</a>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="container" id="markup-container">
<div class="row">
<div id="markup-div" class="span12">
<ul id="input-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-input" href="#pane-input" data-toggle="tab" name="tab-input">
<i class="icon-pencil"></i>
<span><strong>JSON-FHIR Input</strong></span> </a>
</li>
</ul>
<div class="tab-content">
<div id="pane-input" class="tab-pane active">
<textarea id="markup" class="compressed process span6 codemirror-input" placeholder="Enter your FHIR JSON here..." rows="10"></textarea>
</div>
</div> <!-- /.tab-content -->
</div>
<div id="context-div" class="span6">
<ul id="context-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-context" href="#pane-context" data-toggle="tab" name="tab-context">
<i class="icon-pencil"></i>
<span><strong>New JSON-LD Context</strong></span>
</a>
</li>
<li class="pull-right">
<div class="editor-options">
<div class="input-prepend editor-option" title="Use remote context" data-editor="context">
<button class="btn" type="button" data-toggle="button">
<span class="icon-stack">
<i class="icon-cloud icon-stack-base icon-muted"></i>
<i class="icon-bullseye"></i>
</span>
</button>
<input class="span2" type="text" placeholder="Context URL"/>
</div>
</div>
</li>
</ul>
<div class="tab-content">
<div id="pane-context" class="tab-pane active">
<button class="btn" data-toggle="button" id="copy-context" title='Copy context from "JSON-LD Input"'>
<i class="icon-circle-arrow-right"></i>
</button>
<textarea id="context" class="compressed process span6 codemirror-input"
placeholder="Enter the new JSON-LD context to compact to here..." rows="10">{}</textarea>
</div>
</div> <!-- /.tab-content -->
</div>
<div id="frame-div" class="span6">
<ul id="frame-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-frame" href="#pane-frame" data-toggle="tab" name="tab-frame">
<i class="icon-pencil"></i>
<span><strong>JSON-LD Frame</strong></span>
</a>
</li>
<li class="pull-right">
<div class="editor-options">
<div class="input-prepend editor-option" title="Use remote frame" data-editor="frame">
<button class="btn" type="button" data-toggle="button">
<span class="icon-stack">
<i class="icon-cloud icon-stack-base icon-muted"></i>
<i class="icon-crop"></i>
</span>
</button>
<input class="span2" type="text" placeholder="Frame URL" />
</div>
</div>
</li>
</ul>
<div class="tab-content">
<div id="pane-frame" class="tab-pane active">
<textarea id="frame" class="compressed process span6 codemirror-input"
placeholder="Enter your JSON-LD frame here..." rows="10">{}</textarea>
</div>
</div> <!-- /.tab-content -->
</div>
<div id="privatekey-rsa-div" class="span6">
<ul id="privatekey-rsa-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-privatekey-rsa" href="#pane-privatekey-rsa" data-toggle="tab" name="tab-privatekey-rsa">
<i class="icon-pencil"></i>
<span><strong>PEM-Encoded Private Key</strong></span>
</a>
</li>
<li class="pull-right">
<div class="editor-options">
<div class="input-prepend editor-option" title="Use remote private key" data-editor="privatekey-rsa">
<button class="btn" type="button" data-toggle="button">
<span class="icon-stack">
<i class="icon-cloud icon-stack-base icon-muted"></i>
<i class="icon-eye-close"></i>
</span>
</button>
<input class="span2" type="text" placeholder="Private Key URL" />
</div>
</div>
</li>
</ul>
<div class="tab-content">
<div id="pane-privatekey-rsa" class="tab-pane active">
<textarea id="privatekey-rsa" class="compressed process span6 codemirror-input"
placeholder="Enter your PEM-encoded private key here..." rows="10">
-----BEGIN RSA PRIVATE KEY-----
MIICWwIBAAKBgQC4R1AmYYyE47FMZgo708NhFU+t+VWn133PYGt/WYmD5BnKj679
YiUmyrC3hX6oZfo4eVpOkycxZvGgXCLQGuDp45XfZkdsjqs3o62En4YjlHWxgeGm
kiRqGfZ3sJ3u5WZ2xwapdZY3/2T/oOV5ri8SktTvmVGCyhwFuJC/NbJMEwIDAQAB
AoGAZXNdPMQXiFGSGm1S1P0QYzJIW48ZCP4p1TFP/RxeCK5bRJk1zWlq6qBMCb0E
rdD2oICupvN8cEYsYAxZXhhuGWZ60vggbqTTa+4LXB+SGCbKMX711ZoQHdY7rnaF
b/Udf4wTLD1yAslx1TrHkV56OfuJcEdWC7JWqyNXQoxedwECQQDZvcEmBT/Sol/S
AT5ZSsgXm6xCrEl4K26Vyw3M5UShRSlgk12gfqqSpdeP5Z7jdV/t5+vD89OJVfaa
Tw4h9BibAkEA2Khe03oYQzqP1V4YyV3QeC4yl5fCBr8HRyOMC4qHHKQqBp2VDUyu
RBJhTqqf1ErzUBkXseawNxtyuPmPrMSl6QJAQOgfu4W1EMT2a1OTkmqIWwE8yGMz
Q28u99gftQRjAO/s9az4K++WSUDGkU6RnpxOjEymKzNzy2ykpjsKq3RoIQJAA+XL
huxsYVE9Yy5FLeI1LORP3rBJOkvXeq0mCNMeKSK+6s2M7+dQP0NBYuPo6i3LAMbi
yT2IMAWbY76Bmi8TeQJAfdLJGwiDNIhTVYHxvDz79ANzgRAd1kPKPddJZ/w7Gfhm
8Mezti8HCizDxPb+H8HlJMSkfoHx1veWkdLaPWRFrA==
-----END RSA PRIVATE KEY-----
</textarea>
</div>
</div> <!-- /.tab-content -->
</div>
<div id="privatekey-koblitz-div" class="span6">
<ul id="privatekey-koblitz-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-privatekey-koblitz" href="#pane-privatekey-koblitz" data-toggle="tab" name="tab-privatekey-koblitz">
<i class="icon-pencil"></i>
<span><strong>Bitcoin (ECDSA) Koblitz Keys</strong></span>
</a>
</li>
</ul>
<div class="tab-content">
<div id="pane-privatekey-koblitz" class="tab-pane active">
<form>
<fieldset>
<h4><i class="icon-eye-close"></i> Private Key for Signing</h4>
<textarea id="privatekey-koblitz" class="compressed process span6 codemirror-input"
placeholder="Enter your Bitcoin (Koblitz) private key here..." rows="3">L4mEi7eEdTNNFQEWaa7JhUKAbtHdVvByGAqvpJKC53mfiqunjBjw</textarea>
<h4><i class="icon-eye-open"></i> Public Key for Verification</h4>
<textarea id="publickey-koblitz" class="compressed process span6 codemirror-input"
placeholder="Enter your Bitcoin (Koblitz) public key here..." rows="3">1LGpGhGK8whX23ZNdxrgtjKrek9rP4xWER</textarea>
</fieldset>
</form>
<div class="koblitz-verification"></div>
<!--
<h4>Private Key for Signing</h4>
<textarea id="privatekey-koblitz" class="compressed process span6 codemirror-input"
placeholder="Enter your Bitcoin (Koblitz) private key here..." rows="3">L4mEi7eEdTNNFQEWaa7JhUKAbtHdVvByGAqvpJKC53mfiqunjBjw</textarea>
<h4>Public Key for Verification</h4>
<textarea id="publickey-koblitz" class="compressed process span6 codemirror-input"
placeholder="Enter your Bitcoin (Koblitz) public key here..." rows="3">1LGpGhGK8whX23ZNdxrgtjKrek9rP4xWER</textarea>
<div class="koblitz-verification"></div>
-->
</div>
</div> <!-- /.tab-content -->
</div>
<div id="jsonld-r4-div" class="span6">
<ul id="jsonld-r4-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-jsonld-r4-a" href="#pane-jsonld-r4" data-toggle="tab" name="tab-jsonld-r4-a">
<i class="icon-pencil"></i>
<span><strong>JSON-LD jsonld-r4</strong></span>
</a>
</li>
<li class="pull-right">
<div class="editor-options">
<div class="input-prepend editor-option" title="Use remote jsonld-r4" data-editor="jsonld-r4">
<button class="btn" type="button" data-toggle="button">
<span class="icon-stack">
<i class="icon-cloud icon-stack-base icon-muted"></i>
<i class="icon-crop"></i>
</span>
</button>
<input class="span2" type="text" placeholder="jsonld-r4 URL" />
</div>
</div>
</li>
</ul>
<div class="tab-content">
<div id="pane-jsonld-r4" class="tab-pane active">
<textarea id="jsonld-r4" class="compressed process span6 codemirror-input"
placeholder="Enter your JSON-LD jsonld-r4 here..." rows="10">{}</textarea>
</div>
</div> <!-- /.tab-content -->
</div>
</div>
</div>
<div id="markup-errors" class="hide alert alert-error"></div>
<div id="param-errors" class="hide alert alert-error"></div>
<div id="validation-errors" class="hide alert alert-error"></div>
<div id="validation-message" class="hide alert alert-success"></div>
<div id="using-context-map" class="hide alert alert-note">
<p>NOTE: A remote context that is not known to be fully working yet was detected in your input.
If you wish, you can use an alternative context created by the JSON-LD community to
process your document nevertheless.</p>
<label class="checkbox">
<input type="checkbox" id="use-context-map" value="1"> Use development context
</label>
<table class="table table-condensed">
<thead>
<tr>
<td>Original</td>
<td>Development</td>
</tr>
</thead>
<tbody>
<!-- dynamic rows -->
</tbody>
</table>
</div>
<div id="pane-final-jsonld" class="tab-pane" style="display:none">
<textarea id="final-jsonld" class="codemirror-output"></textarea>
</div>
<div id="output-container">
<ul id="output-tabs" class="nav nav-tabs">
<li class="active">
<a id="tab-nquads" href="#pane-nquads" data-toggle="tab" name="tab-nquads">
<i class="rdf-icon-rdf"></i>
<span>Turtle</span>
</a>
</li>
<li>
<a id="tab-expanded" href="#pane-expanded" data-toggle="tab" name="tab-expanded">
<i class="icon-resize-full"></i>
<span>Expanded</span>
</a>
</li>
<li>
<a id="tab-compacted" href="#pane-compacted" data-toggle="tab" name="tab-compacted">
<i class="icon-resize-small"></i>
<span>Compacted</span>
</a>
</li>
<li>
<a id="tab-flattened" href="#pane-flattened" data-toggle="tab" name="tab-flattened">
<i class="icon-reorder"></i>
<span>Flattened</span>
</a>
</li>
<li>
<a id="tab-framed" href="#pane-framed" data-toggle="tab" name="tab-framed">
<i class="icon-crop"></i>
<span>Framed</span>
</a>
</li>
<li>
<a id="tab-normalized" href="#pane-normalized" data-toggle="tab" name="tab-normalized">
<i class="icon-archive"></i>
<span>Normalized</span>
</a>
</li>
<li>
<a id="tab-table" href="#pane-table" data-toggle="tab" name="tab-table">
<i class="icon-th"></i>
<span>Table</span>
</a>
</li>
<li>
<a id="tab-visualized" href="#pane-visualized" data-toggle="tab" name="tab-visualized">
<i class="icon-eye-open"></i>
<span>Visualized</span>
</a>
</li>
</ul>
<div class="tab-content">
<div id="pane-nquads" class="tab-pane active">
<textarea id="nquads" class="codemirror-output"></textarea>
</div>
<div id="pane-expanded" class="tab-pane">
<textarea id="expanded" class="codemirror-output"></textarea>
</div>
<div id="pane-compacted" class="tab-pane">
<textarea id="compacted" class="codemirror-output"></textarea>
</div>
<div id="pane-flattened" class="tab-pane">
<textarea id="flattened" class="codemirror-output"></textarea>
</div>
<div id="pane-framed" class="tab-pane">
<textarea id="framed" class="codemirror-output"></textarea>
</div>
<div id="pane-normalized" class="tab-pane">
<textarea id="normalized" class="codemirror-output"></textarea>
</div>
<div id="pane-table" class="tab-pane">
<table id="table" class="table table-condensed">
<thead>
<tr>
<th>Subject</th>
<th>Predicate</th>
<th>Object</th>
<th>Language</th>
<th>Datatype</th>
<th>Graph</th>
</tr>
</thead>
</table>
</div>
<div id="pane-visualized" class="tab-pane">
<div id="visualized" style="background: white"></div>
</div>
</div><!-- /.tab-content -->
</div>
<div id="processing-errors" class="hide alert alert-error"></div>
<hr/>
</div> <!-- /.container -->
</div> <!-- /.loading -->
<div class="container">
<div id="footer">
<p id="copyright">
Website content released under a <a href="http://creativecommons.org/about/cc0">Creative Commons CC0 Public Domain Dedication</a> except where an alternate is specified.
Part of the <a href="http://payswarm.com/">PaySwarm</a> standardization initiative.
</p>
</div>
</div>
<!-- sccdn scripts -->
<script src="https://cdn.jsdelivr.net/g/async@1.5.0,jquery@1.11.0,es6-promise@1.0.0,bootstrap@2.3.2,codemirror@3.22.0(codemirror.min.js+addon/lint/lint.js+addon/edit/matchbrackets.js+addon/edit/closebrackets.js+addon/display/placeholder.js+addon/hint/show-hint.js+mode/ntriples/ntriples.js+mode/javascript/javascript.js)"></script>
<script src="https://cdn.jsdelivr.net/npm/jsonld@3.1.1/dist/jsonld.js"></script>
<!--<script src="https://unpkg.com/jsonld@x.y.z/dist/jsonld.js"></script>-->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/jsonld/x.y.z/jsonld.js"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0.6.7/d3-tip.min.js"></script>
<script src="playground/jsonld-vis.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jsonld-signatures@2.3.1/dist/jsonld-signatures.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/node-forge@0.8.1/dist/forge.min.js"></script>
<!-- local scripts -->
<!--<script src="playground/jsonld.js"></script> -->
<!--<script src="playground/forge.min.js"></script>-->
<script src="playground/bitcore-message.js"></script>
<!--<script src="playground/jsonld-signatures.js"></script>-->
<script src="playground/jsonlint.js"></script>
<script src="playground/tv4.min.js"></script>
<script src="playground/json-schema-lint.js"></script>
<script src="playground/jsonld-hint.js"></script>
<script src="playground/playground.js"></script>
<script src="playground/webpacks/fhircat-addons.js"></script>
<script type="text/javascript" src="playground/lib/zip.min.js"></script>
<!-- script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42886053-1', 'json-ld.org');
ga('send', 'pageview');
</script -->
<script type="text/javascript">
var rversion = 4;
$('#showJsonld').click(
function(){
$('#pane-final-jsonld, #generate').show();
});
$('#context-div').hide();
$('#frame-div').hide();
$('#privatekey-rsa-div').hide();
$('#privatekey-koblitz-div').hide();
$('#jsonld-r4-div').hide();
$('#jsonld-r5-div').hide();
$('#markup,#context,#frame').bind('keyup', function() {
$('.btn-group > .btn').each(function () {
$(this).removeClass('active');
});
});
$('#toggle-event').change(function() {
$('#console-event').html('Toggle: ' + $(this).prop('checked'))
alert('');
})
</script>
</body>
</html>