-
Notifications
You must be signed in to change notification settings - Fork 4
/
test-data-systematic.xml
835 lines (778 loc) · 37 KB
/
test-data-systematic.xml
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
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
<?xml version='1.0' encoding='utf-8'?>
<knora xmlns="https://dasch.swiss/schema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://dasch.swiss/schema ../../src/dsp_tools/resources/schema/data.xsd"
shortcode="4123"
default-ontology="testonto">
<!-- permissions: see https://docs.dasch.swiss/latest/DSP-API/02-knora-ontologies/knora-base/#permissions -->
<permissions id="res-default">
<allow group="UnknownUser">RV</allow>
<allow group="KnownUser">V</allow>
<allow group="Creator">M</allow>
<allow group="ProjectAdmin">CR</allow>
</permissions>
<permissions id="res-restricted">
<allow group="KnownUser">V</allow>
<allow group="Creator">CR</allow>
<allow group="ProjectAdmin">CR</allow>
</permissions>
<permissions id="prop-default">
<allow group="UnknownUser">V</allow>
<allow group="KnownUser">V</allow>
<allow group="Creator">D</allow>
<allow group="ProjectAdmin">CR</allow>
</permissions>
<permissions id="prop-restricted">
<allow group="KnownUser">V</allow>
<allow group="Creator">CR</allow>
<allow group="ProjectAdmin">CR</allow>
</permissions>
<resource label="TestthingOhnePermissions"
restype=":TestThing2"
id="test_thing_0"
creation_date="2019-01-09T15:45:54.502951Z">
<text-prop name=":hasSimpleText">
<text encoding="utf8">Dies ist ein TestThing ohne Angabe von permissions</text>
</text-prop>
<resptr-prop name=":hasTestThing">
<resptr permissions="prop-default">test_thing_1</resptr>
</resptr-prop>
</resource>
<annotation label="Annotation to TestthingOhnePermissions"
id="annotation_1"
permissions="res-default"
creation_date="2005-10-23T13:45:12.01-14:00">
<text-prop name="hasComment">
<text encoding="utf8" permissions="prop-default">This is an annotation to TestthingOhnePermissions.</text>
<text encoding="utf8" permissions="prop-default">Second comment</text>
</text-prop>
<resptr-prop name="isAnnotationOf">
<resptr permissions="prop-default">test_thing_0</resptr>
</resptr-prop>
</annotation>
<resource label="First Testthing"
restype=":TestThing"
id="test_thing_1"
permissions="res-default">
<text-prop name=":hasSimpleText">
<text encoding="utf8"><</text>
<text encoding="utf8">&lt;</text>
<text encoding="utf8">text (<2cm) text</text>
<text encoding="utf8">text (<2cm) text (>10cm) text</text>
<text encoding="utf8">Bei AU1026 handelt es sich um weissgrauen Sand mit einigen mittelgrossen (<10cm) sowie auch wenigen grossen Kalkbruchsteinen (>10cm), die zumeist scharfkantig sind.</text>
<text encoding="utf8">&</text>
<text encoding="utf8">&amp;</text>
<!-- <text encoding="utf8"><em>text</em></text>
<text encoding="utf8"><tag s=\"t\"></text> -->
</text-prop>
<text-prop name=":hasTextArea">
<text encoding="utf8"><</text>
<text encoding="utf8">&lt;</text>
<text encoding="utf8">&</text>
<text encoding="utf8">&amp;</text>
<!-- <text encoding="utf8"><em>text</em></text>
<text encoding="utf8"><tag s=\"t\"></text> -->
</text-prop>
<text-prop name=":hasRichtext">
<text encoding="xml"><</text>
<text encoding="xml">></text>
<text encoding="xml">&</text>
<text encoding="xml"><em>text</em></text>
<text encoding="xml">text <not a tag> text</text>
<text encoding="xml">This is <em>italicized and <strong>bold</strong></em> text! </text>
<text encoding="xml" permissions="prop-default">
This text contains links to all resources:
<a class="salsah-link" href="IRI:test_thing_0:IRI">test_thing_0</a>
<a class="salsah-link" href="IRI:test_thing_1:IRI">test_thing_1</a>
<a class="salsah-link" href="IRI:image_thing_0:IRI">image_thing_0</a>
<a class="salsah-link" href="IRI:compound_thing_0:IRI">compound_thing_0</a>
<a class="salsah-link" href="IRI:partof_thing_1:IRI">partof_thing_1</a>
<a class="salsah-link" href="IRI:partof_thing_2:IRI">partof_thing_2</a>
<a class="salsah-link" href="IRI:partof_thing_3:IRI">partof_thing_3</a>
<a class="salsah-link" href="IRI:document_thing_1:IRI">document_thing_1</a>
<a class="salsah-link" href="IRI:text_thing_1:IRI">text_thing_1</a>
<a class="salsah-link" href="IRI:zip_thing_1:IRI">zip_thing_1</a>
<a class="salsah-link" href="IRI:audio_thing_1:IRI">audio_thing_1</a>
<a class="salsah-link" href="IRI:test_thing_2:IRI">test_thing_2</a>
<a class="salsah-link" href="http://rdfh.ch/4123/DiAmYQzQSzC7cdTo6OJMYA">test_thing_with_iri_1</a>
</text>
<text encoding="xml">Text with an external link: <a href="https://www.google.com/">Google</a></text>
</text-prop>
<uri-prop name=":hasUri">
<uri permissions="prop-default">https://dasch.swiss</uri>
</uri-prop>
<boolean-prop name=":hasBoolean">
<boolean permissions="prop-default">true</boolean>
</boolean-prop>
<date-prop name=":hasDate">
<date permissions="prop-default">JULIAN:BCE:0700:BCE:0600</date>
<date permissions="prop-default">CE:1849:CE:1850</date>
<date permissions="prop-default">GREGORIAN:1848-01:1849-02</date>
<date permissions="prop-default">2022</date>
<date permissions="prop-default">GREGORIAN:CE:0476-09-04:CE:0476-09-04</date>
<date permissions="prop-default">GREGORIAN:CE:2014-01-31</date>
</date-prop>
<integer-prop name=":hasInteger">
<integer permissions="prop-default">4711</integer>
</integer-prop>
<decimal-prop name=":hasDecimal">
<decimal permissions="prop-default" comment="Eulersche Zahl">2.718281828459</decimal>
</decimal-prop>
<geoname-prop name=":hasGeoname">
<geoname permissions="prop-default" comment="A sacred place for railroad fans">5416656</geoname>
</geoname-prop>
<color-prop name=":hasColor">
<color permissions="prop-default">#00ff00</color>
</color-prop>
<list-prop list="testlist" name=":hasListItem">
<list permissions="prop-default">first subnode</list>
</list-prop>
<resptr-prop name=":hasTestThing2">
<resptr permissions="prop-default">test_thing_0</resptr>
</resptr-prop>
<resptr-prop name=":hasResource">
<resptr permissions="prop-default">test_thing_0</resptr>
<resptr permissions="prop-default">test_thing_2</resptr>
<resptr permissions="prop-default">image_thing_0</resptr>
<resptr permissions="prop-default">compound_thing_0</resptr>
<resptr permissions="prop-default">partof_thing_1</resptr>
<resptr permissions="prop-default">partof_thing_2</resptr>
<resptr permissions="prop-default">partof_thing_3</resptr>
<resptr permissions="prop-default">document_thing_1</resptr>
<resptr permissions="prop-default">text_thing_1</resptr>
<resptr permissions="prop-default">zip_thing_1</resptr>
<resptr permissions="prop-default">audio_thing_1</resptr>
<resptr permissions="prop-default">TestThing2Child1</resptr>
<resptr permissions="prop-default">TestThing2Child2</resptr>
<resptr permissions="prop-default">video_thing_1</resptr>
<resptr permissions="prop-default">annotation_1</resptr>
<resptr permissions="prop-default">region_1</resptr>
<resptr permissions="prop-default">link_obj_1</resptr>
</resptr-prop>
<resptr-prop name=":hasRegion">
<resptr permissions="prop-default">region_2</resptr>
</resptr-prop>
<resptr-prop name=":hasRepresentation">
<resptr permissions="prop-default">image_thing_0</resptr>
<resptr permissions="prop-default">video_thing_1</resptr>
<resptr permissions="prop-default">document_thing_1</resptr>
<resptr permissions="prop-default">text_thing_1</resptr>
<resptr permissions="prop-default">zip_thing_1</resptr>
<resptr permissions="prop-default">audio_thing_1</resptr>
</resptr-prop>
<resptr-prop name=":hasMovingImageRepresentation">
<resptr permissions="prop-default">video_thing_1</resptr>
</resptr-prop>
</resource>
<resource label="Second Testthing"
restype=":TestThing"
id="test_thing_2"
permissions="res-default">
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">Dies ist ein einfacher Text ohne Markup</text>
<text permissions="prop-restricted" encoding="xml">Ein XML-formatierter Text <strong>mit Markup</strong></text>
<text encoding="utf8">_</text>
<text encoding="utf8">!</text>
<text encoding="utf8">?</text>
<text encoding="utf8">-</text>
<text encoding="utf8">œ</text>
</text-prop>
<text-prop name=":hasRichtext">
<text encoding="xml">This is <em>italicized and <strong>bold</strong></em> text! </text>
<text encoding="xml" permissions="prop-default">
This text contains links to all resources:
<a class="salsah-link" href="IRI:test_thing_0:IRI">test_thing_0</a>
<a class="salsah-link" href="IRI:test_thing_1:IRI">test_thing_1</a>
<a class="salsah-link" href="IRI:image_thing_0:IRI">image_thing_0</a>
<a class="salsah-link" href="IRI:compound_thing_0:IRI">compound_thing_0</a>
<a class="salsah-link" href="IRI:partof_thing_1:IRI">partof_thing_1</a>
<a class="salsah-link" href="IRI:partof_thing_2:IRI">partof_thing_2</a>
<a class="salsah-link" href="IRI:partof_thing_3:IRI">partof_thing_3</a>
<a class="salsah-link" href="IRI:document_thing_1:IRI">document_thing_1</a>
<a class="salsah-link" href="IRI:text_thing_1:IRI">text_thing_1</a>
<a class="salsah-link" href="IRI:zip_thing_1:IRI">zip_thing_1</a>
<a class="salsah-link" href="IRI:audio_thing_1:IRI">audio_thing_1</a>
<a class="salsah-link" href="IRI:test_thing_2:IRI">test_thing_2</a>
</text>
<text permissions="prop-default" encoding="xml">
Another text without salsah-links
</text>
</text-prop>
<boolean-prop name=":hasBoolean">
<boolean>false</boolean>
</boolean-prop>
<uri-prop name=":hasUri">
<uri permissions="prop-restricted">https://en.wiktionary.org/wiki/Ῥόδος</uri>
<uri permissions="prop-restricted">https://www.test-case.ch/</uri>
<uri permissions="prop-restricted">https://reg-exr.com:3000</uri>
<uri permissions="prop-restricted">https://reg-exr.com:3000/path/to/file_(%C3%89).htm</uri>
<uri permissions="prop-restricted">https://reg-exr.com:3000/path/to/file#fragment</uri>
<uri permissions="prop-restricted">https://reg-exr.com:3000/path/to/file?query=test</uri>
<uri permissions="prop-restricted">https://reg-exr.com:3000/path/to/file?query=test#fragment</uri>
<uri permissions="prop-restricted">https://reg-exr.com/path/to/file?query=test#fragment</uri>
<uri permissions="prop-restricted">http://www.168.1.1.0/path</uri>
<uri permissions="prop-restricted">http://www.168.1.1.0:4200/path</uri>
<uri permissions="prop-restricted">http://[2001:0db8:0000:0000:0000:8a2e:0370:7334]:4200/path</uri>
<uri permissions="prop-restricted">https://en.wikipedia.org/wiki/Haiku#/media/File:Basho_Horohoroto.jpg</uri>
<uri permissions="prop-restricted">http://datypic.com/prod.html#shirt</uri>
<uri permissions="prop-restricted">https://www.findagrave.com/memorial/171722836/krikor-madenician?_gl=1*100n0s5*_ga*NzIzMDQxNjc2LjE2Mjg2MDk1OTQ.*_ga_4QT8FMEX30*MTY1Mjc5OTI4OC4xNC4xLjE2NTI4MDA2MDQuMA..</uri>
<uri permissions="prop-restricted">https://markarslan.org/ArmenianImmigrants/Public-ViewDetail-ArmenianImmigrants-Main.php?submit=View&Staging=&SourcePage=Public-ViewSummary-ArmenianImmigrants-Main-ByDestinationDate&SelectDestinationYear=1907&SelectLastNameStd=all&argument1=PLIN-29NOV1907-3-73-0018</uri>
<uri permissions="prop-restricted">http://markarslan.org/ArmenianImmigrants/Public-ViewDetail-ArmenianImmigrants-Main.php?submit=View&Staging=&SourcePage=Public-ViewSummary-ArmenianImmigrants-Main-ByDestinationDate&SelectDestinationYear=1907&SelectLastNameStd=all&argument1=CRTH-12JAN1907-3-%404-0016</uri>
<uri permissions="prop-restricted">https://www.ancestry.com/discoveryui-content/view/47577828:60525?ssrc=pt&tid=109007397&pid=410070328478</uri>
<uri permissions="prop-restricted">https://geohack.toolforge.org/geohack.php?pagename=Adige&params=45_8_59_N_12_19_13_E_type:river</uri>
</uri-prop>
<date-prop name=":hasDate">
<date>JULIAN:BCE:0700:BCE:0600</date>
</date-prop>
<time-prop name=":hasTime">
<time permissions="prop-default">2019-10-23T13:45:12.01-14:00</time>
<time permissions="prop-default">2019-10-23T13:45:12-14:00</time>
<time permissions="prop-default">2019-10-23T13:45:12Z</time>
<time permissions="prop-default">2019-10-23T13:45:12-13:30</time>
<time permissions="prop-default">2019-10-23T13:45:12+01:00</time>
<time permissions="prop-default">2019-10-23T13:45:12.1111111+01:00</time>
<time permissions="prop-default">2019-10-23T13:45:12.1111111Z</time>
</time-prop>
<integer-prop name=":hasInteger">
<integer>4711</integer>
</integer-prop>
<decimal-prop name=":hasDecimal">
<decimal comment="Eulersche Zahl">2.718281828459</decimal>
</decimal-prop>
<geoname-prop name=":hasGeoname">
<geoname comment="A sacred place for railroad fans">5416656</geoname>
</geoname-prop>
<color-prop name=":hasColor">
<color>#00ff00</color>
</color-prop>
<resptr-prop name=":hasTestThing2">
<resptr>test_thing_0</resptr>
</resptr-prop>
<list-prop list="testlist" name=":hasListItem">
<list>second subnode</list>
</list-prop>
</resource>
<resource label="Imagething-tif"
restype=":ImageThing"
id="image_thing_0"
permissions="res-default">
<bitstream>testdata/bitstreams/test.tif</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as TIF</text>
</text-prop>
</resource>
<resource label="Imagething-tiff"
restype=":ImageThing"
id="image_thing_1"
permissions="res-default">
<bitstream>testdata/bitstreams/test.tiff</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as TIFF</text>
</text-prop>
</resource>
<resource label="Imagething-jp2"
restype=":ImageThing"
id="image_thing_2"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jp2</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as JP2</text>
</text-prop>
</resource>
<resource label="Imagething-jpeg"
restype=":ImageThing"
id="image_thing_3"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jpeg</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as JPEG</text>
</text-prop>
</resource>
<resource label="Imagething-jpg"
restype=":ImageThing"
id="image_thing_4"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jpg</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as JPG</text>
</text-prop>
</resource>
<resource label="Imagething-png"
restype=":ImageThing"
id="image_thing_5"
permissions="res-default">
<bitstream>testdata/bitstreams/test.png</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as PNG</text>
</text-prop>
</resource>
<region label="Polygon in image"
id="region_1"
permissions="res-restricted"
creation_date="1999-12-31T23:59:59.9999999+01:00">
<color-prop name="hasColor">
<color permissions="prop-restricted">#5d1f1e</color>
</color-prop>
<resptr-prop name="isRegionOf">
<resptr permissions="prop-default">image_thing_0</resptr>
</resptr-prop>
<geometry-prop name="hasGeometry">
<geometry permissions="prop-default">
{
"status": "active",
"type": "polygon",
"lineColor": "#ff1100",
"lineWidth": 5,
"points": [{"x": 0.4, "y": 0.6},
{"x": 0.5, "y": 0.9},
{"x": 0.8, "y": 0.9},
{"x": 0.7, "y": 0.6}]
}
</geometry>
</geometry-prop>
<text-prop name="hasComment">
<text encoding="xml" permissions="prop-default">
This is a polygon-formed region of interest of an image. It is also displayed as Annotation.
</text>
</text-prop>
</region>
<resource label="Compoundthing"
restype=":CompoundThing"
id="compound_thing_0"
permissions="res-default">
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Compoundthing</text>
</text-prop>
</resource>
<resource label="Compoundthing"
restype=":CompoundThing"
id="compound_thing_1"
permissions="res-default">
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Compoundthing</text>
</text-prop>
</resource>
<resource label="Partofthing-1"
restype=":PartOfThing"
id="partof_thing_1"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jpg</bitstream>
<resptr-prop name="knora-api:isPartOf">
<resptr permissions="prop-default">compound_thing_0</resptr>
</resptr-prop>
<integer-prop name="knora-api:seqnum">
<integer permissions="prop-default">1</integer>
</integer-prop>
</resource>
<resource label="Partofthing-2"
restype=":PartOfThing"
id="partof_thing_2"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jpg</bitstream>
<resptr-prop name="isPartOf">
<resptr permissions="prop-default">compound_thing_0</resptr>
</resptr-prop>
<integer-prop name="seqnum">
<integer permissions="prop-default">2</integer>
</integer-prop>
</resource>
<resource label="Partofthing-3"
restype=":PartOfThingWithSubproperties"
id="partof_thing_3"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jpg</bitstream>
<resptr-prop name=":partOf">
<resptr permissions="prop-default">compound_thing_1</resptr>
</resptr-prop>
<integer-prop name=":hasPagenum">
<integer permissions="prop-default">1</integer>
</integer-prop>
</resource>
<resource label="Partofthing-4"
restype=":PartOfThingWithSubproperties"
id="partof_thing_4"
permissions="res-default">
<bitstream>testdata/bitstreams/test.jpg</bitstream>
<resptr-prop name=":partOf">
<resptr permissions="prop-default">compound_thing_1</resptr>
</resptr-prop>
<integer-prop name=":hasPagenum">
<integer permissions="prop-default">1</integer>
</integer-prop>
</resource>
<resource label="Documentthing-pdf"
restype=":DocumentThing"
id="document_thing_1"
permissions="res-default">
<bitstream>testdata/bitstreams/test.pdf</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as PDF</text>
</text-prop>
</resource>
<resource label="Documentthing-xls"
restype=":DocumentThing"
id="document_thing_2"
permissions="res-default">
<bitstream>testdata/bitstreams/test.xls</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as XLS</text>
</text-prop>
</resource>
<resource label="Documentthing-xlsx"
restype=":DocumentThing"
id="document_thing_3"
permissions="res-default">
<bitstream>testdata/bitstreams/test.xlsx</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as XLSX</text>
</text-prop>
</resource>
<resource label="Documentthing-doc"
restype=":DocumentThing"
id="document_thing_4"
permissions="res-default">
<bitstream>testdata/bitstreams/test.doc</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as DOC</text>
</text-prop>
</resource>
<resource label="Documentthing-docx"
restype=":DocumentThing"
id="document_thing_5"
permissions="res-default">
<bitstream>testdata/bitstreams/test.docx</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as DOCX</text>
</text-prop>
</resource>
<resource label="Documentthing-ppt"
restype=":DocumentThing"
id="document_thing_6"
permissions="res-default">
<bitstream>testdata/bitstreams/test.ppt</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as PPT</text>
</text-prop>
</resource>
<resource label="Documentthing-pptx"
restype=":DocumentThing"
id="document_thing_7"
permissions="res-default">
<bitstream>testdata/bitstreams/test.pptx</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Documentthing as PPTX</text>
</text-prop>
</resource>
<resource label="Textthing-csv"
restype=":TextThing"
id="text_thing_1"
permissions="res-default">
<bitstream>testdata/bitstreams/test.csv</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Textthing as CSV</text>
</text-prop>
</resource>
<resource label="Textthing-txt"
restype=":TextThing"
id="text_thing_2"
permissions="res-default">
<bitstream>testdata/bitstreams/test.txt</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Textthing as TXT</text>
</text-prop>
</resource>
<resource label="Textthing-xml"
restype=":TextThing"
id="text_thing_3"
permissions="res-default">
<bitstream>testdata/bitstreams/test.xml</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Textthing as XML</text>
</text-prop>
</resource>
<resource label="Textthing-xsl"
restype=":TextThing"
id="text_thing_4"
permissions="res-default">
<bitstream>testdata/bitstreams/test.xsl</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Textthing as XSL</text>
</text-prop>
</resource>
<resource label="Textthing-xsd"
restype=":TextThing"
id="text_thing_5"
permissions="res-default">
<bitstream>testdata/bitstreams/test.xsd</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Textthing as XSD</text>
</text-prop>
</resource>
<resource label="Zipthing-zip"
restype=":ZipThing"
id="zip_thing_1"
permissions="res-default">
<bitstream>testdata/bitstreams/test.zip</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as ZIP</text>
</text-prop>
</resource>
<resource label="Zipthing-7z"
restype=":ZipThing"
id="zip_thing_2"
permissions="res-default">
<bitstream>testdata/bitstreams/test.7z</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as 7Z</text>
</text-prop>
</resource>
<resource label="Zipthing-gzip"
restype=":ZipThing"
id="zip_thing_3"
permissions="res-default">
<bitstream>testdata/bitstreams/test.gzip</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as gzip</text>
</text-prop>
</resource>
<resource label="Zipthing-tar-gz"
restype=":ZipThing"
id="zip_thing_4"
permissions="res-default">
<bitstream>testdata/bitstreams/test.tar.gz</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as tar.gz</text>
</text-prop>
</resource>
<resource label="Zipthing-tar"
restype=":ZipThing"
id="zip_thing_5"
permissions="res-default">
<bitstream>testdata/bitstreams/test.tar</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as tar</text>
</text-prop>
</resource>
<resource label="Zipthing-tgz"
restype=":ZipThing"
id="zip_thing_6"
permissions="res-default">
<bitstream>testdata/bitstreams/test.tgz</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as tgz</text>
</text-prop>
</resource>
<resource label="Zipthing-z"
restype=":ZipThing"
id="zip_thing_7"
permissions="res-default">
<bitstream>testdata/bitstreams/test.z</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as z</text>
</text-prop>
</resource>
<resource label="Zipthing-gz"
restype=":ZipThing"
id="zip_thing_8"
permissions="res-default">
<bitstream>testdata/bitstreams/test.gz</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Zipthing as gz</text>
</text-prop>
</resource>
<resource label="Audiothing-wav"
restype=":AudioThing"
id="audio_thing_1"
permissions="res-default">
<bitstream>testdata/bitstreams/test.wav</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Audiothing as WAV</text>
</text-prop>
</resource>
<resource label="Audiothing-mp3"
restype=":AudioThing"
id="audio_thing_2"
permissions="res-default">
<bitstream>testdata/bitstreams/test.mp3</bitstream>
<text-prop name=":hasSimpleText">
<text permissions="prop-default" encoding="utf8">This is a Audiothing as MP3</text>
</text-prop>
</resource>
<resource label="Moviething"
restype=":MovieThing"
id="video_thing_1"
permissions="res-restricted">
<bitstream>testdata/bitstreams/test.mp4</bitstream>
<text-prop name=":hasSimpleText">
<text encoding="utf8" permissions="prop-default">Dummy video with music</text>
</text-prop>
</resource>
<link label="Link between 'Second Testthing', 'Compoundthing' and 'Partofthing-1'"
id="link_obj_1"
permissions="res-default"
creation_date="1970-10-23T03:45:12-13:30">
<text-prop name="hasComment">
<text permissions="prop-default" encoding="xml">
A link object can link together an arbitrary number of resources from any resource class.
</text>
<text permissions="prop-default" encoding="xml">
Second comment
</text>
</text-prop>
<resptr-prop name="hasLinkTo">
<resptr permissions="prop-default">test_thing_2</resptr>
<resptr permissions="prop-default">compound_thing_0</resptr>
<resptr permissions="prop-default">partof_thing_1</resptr>
</resptr-prop>
</link>
<resource label="TestThing2Child1"
restype=":TestThing2Child1"
id="TestThing2Child1">
<text-prop name=":hasTextChild1">
<text encoding="utf8">Some text</text>
</text-prop>
</resource>
<resource label="TestThing2Child2"
restype=":TestThing2Child2"
id="TestThing2Child2">
<text-prop name=":hasTextChild2">
<text encoding="utf8">Some text</text>
</text-prop>
</resource>
<region label="Rectangle in image"
id="region_2"
permissions="res-restricted">
<text-prop name="hasComment">
<text encoding="xml" permissions="prop-default">
This is a rectangle-formed region of interest of an image. It is also displayed as Annotation.
</text>
<text encoding="xml" permissions="prop-restricted">
This is a second comment.
</text>
</text-prop>
<geometry-prop name="hasGeometry">
<geometry permissions="prop-default">
{
"status": "active",
"type": "rectangle",
"lineColor": "#ff1100",
"lineWidth": 5,
"points": [
{"x":0.1,"y":0.7},
{"x":0.3,"y":0.2}
]
}
</geometry>
</geometry-prop>
<resptr-prop name="isRegionOf">
<resptr permissions="prop-default">image_thing_0</resptr>
</resptr-prop>
<color-prop name="hasColor">
<color permissions="prop-restricted">#5d1f1e</color>
</color-prop>
</region>
<region label="Circle in image"
id="region_3"
permissions="res-restricted">
<text-prop name="hasComment">
<text encoding="xml" permissions="prop-default">
This is a circle-formed region of interest of an image. It is also displayed as Annotation.
</text>
</text-prop>
<geometry-prop name="hasGeometry">
<geometry permissions="prop-default">
{
"status": "active",
"type": "circle",
"lineColor": "#ff1100",
"lineWidth": 5,
"points": [{"x":0.5,"y":0.3}],
"radius": {"x":0.1,"y":0.1}
}
</geometry>
</geometry-prop>
<resptr-prop name="isRegionOf">
<resptr permissions="prop-default">image_thing_0</resptr>
</resptr-prop>
<color-prop name="hasColor">
<color permissions="prop-restricted">#5d1f1e</color>
</color-prop>
</region>
<!-- :VideoSequence -->
<resource label="Section of a Video" restype=":VideoSequence" id="video_sequence_0" permissions="res-default">
<text-prop name=":hasSimpleText">
<text encoding="utf8" permissions="prop-default">Sequence of a video</text>
</text-prop>
<resptr-prop name=":sequenceOfVideo">
<resptr permissions="prop-default">video_thing_1</resptr>
</resptr-prop>
<interval-prop name=":hasBounds">
<interval permissions="prop-default">+.1:+.9</interval>
</interval-prop>
</resource>
<!-- :AudioSequence -->
<resource label="Section of a Video" restype=":AudioSequence" id="audio_sequence_0" permissions="res-default">
<text-prop name=":hasSimpleText">
<text encoding="utf8" permissions="prop-default">Sequence of an Audio Resource</text>
</text-prop>
<resptr-prop name=":sequenceOfAudio">
<resptr permissions="prop-default">audio_thing_1</resptr>
</resptr-prop>
<interval-prop name=":hasBounds">
<interval permissions="prop-default">-.1:5</interval>
</interval-prop>
</resource>
<!-- :MinimalisticSequence -->
<resource label="Minimalistic section of a Video" restype=":MinimalisticSequence" id="minimalistic_sequence_0" permissions="res-default">
<text-prop name=":hasSimpleText">
<text encoding="utf8" permissions="prop-default">Sequence of a Video Resource</text>
</text-prop>
<resptr-prop name="isSequenceOf">
<resptr permissions="prop-default">video_thing_1</resptr>
</resptr-prop>
<interval-prop name="hasSequenceBounds">
<interval permissions="prop-default">-10.0:-5.1</interval>
</interval-prop>
</resource>
<resource label="Minimalistic section of an Audio" restype=":MinimalisticSequence" id="minimalistic_sequence_1" permissions="res-default">
<text-prop name=":hasSimpleText">
<text encoding="utf8" permissions="prop-default">Sequence of an Audio Resource</text>
</text-prop>
<resptr-prop name="isSequenceOf">
<resptr permissions="prop-default">audio_thing_1</resptr>
</resptr-prop>
<interval-prop name="hasSequenceBounds">
<interval permissions="prop-default">8.0:12.0</interval>
</interval-prop>
</resource>
<!-- reference a resource class from another ontology defined in the same JSON project file than default-ontology-->
<resource label="TestThingPermissions 1" restype="testontoPermissions:TestThingPermissions" id="testthingpermissions_1">
<text-prop name="testontoPermissions:hasText">
<text encoding="utf8">Hello!</text>
</text-prop>
</resource>
<resource label="TestthingWithArk1"
restype=":TestThing2"
id="test_thing_with_ark_1"
ark="ark:/72163/4123-43ec6evb134-a.2022828">
<text-prop name=":hasSimpleText"><text encoding="utf8">Hello</text></text-prop>
</resource>
<resource label="TestthingWithArk2"
restype=":TestThing2"
id="test_thing_with_ark_2"
ark="ark:/72163/4123-43xc6ivb931-a.2022829">
<text-prop name=":hasSimpleText"><text encoding="utf8">Hello</text></text-prop>
</resource>
<resource label="TestthingWithIri1"
restype=":TestThing2"
id="test_thing_with_iri_1"
iri="http://rdfh.ch/4123/DiAmYQzQSzC7cdTo6OJMYA">
<text-prop name=":hasSimpleText"><text encoding="utf8">Hello</text></text-prop>
</resource>
<resource label="TestthingWithIri2"
restype=":TestThing2"
id="test_thing_with_iri_2"
iri="http://rdfh.ch/4123/TqAnYQzrSzC2ctT06OJMYB">
<text-prop name=":hasSimpleText"><text encoding="utf8">Hello</text></text-prop>
</resource>
</knora>