/
test-data-systematic.xml
698 lines (649 loc) · 28.9 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
<?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 ../knora/dsplib/schemas/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">
<text-prop name=":hasText">
<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">
<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=":hasText">
<text permissions="prop-default" encoding="utf8">Dies ist ein einfacher Text ohne Markup</text>
<text permissions="prop-restricted" encoding="utf8">Nochmals ein einfacher Text</text>
</text-prop>
<text-prop name=":hasRichtext">
<text permissions="prop-default" encoding="xml">
This is <em>bold and <strong>strong</strong></em> text! It 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 permissions="prop-default" encoding="xml">
Another text without salsah-links
</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-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">b2</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=":hasText">
<text permissions="prop-default" encoding="utf8">Dies ist ein einfacher Text ohne Markup</text>
<text permissions="prop-restricted" encoding="utf8">Nochmals ein einfacher Text</text>
</text-prop>
<text-prop name=":hasRichtext">
<text encoding="xml">
This is <em>bold and <strong>strong</strong></em> text! It 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 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>https://dasch.swiss</uri>
</uri-prop>
<date-prop name=":hasDate">
<date>JULIAN:BCE:0700:BCE:0600</date>
</date-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>b2</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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<text permissions="prop-default" encoding="utf8">This is a Imagething as PNG</text>
</text-prop>
</resource>
<region label="Region in image"
id="region_1"
permissions="res-restricted">
<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": "rectangle",
"lineColor": "#ff3333",
"lineWidth": 2,
"points": [
{"x":0.080985915492957750,"y":0.16741071428571427},
{"x":0.739436619718309900,"y":0.72991071428571430}
],
"original_index": 0
}
</geometry>
</geometry-prop>
<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-prop>
</region>
<resource label="Compoundthing"
restype=":CompoundThing"
id="compound_thing_0"
permissions="res-default">
<text-prop name=":hasText">
<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="knora-api:isPartOf">
<resptr permissions="prop-default">compound_thing_0</resptr>
</resptr-prop>
<integer-prop name="knora-api:seqnum">
<integer permissions="prop-default">2</integer>
</integer-prop>
</resource>
<resource label="Partofthing-3"
restype=":PartOfThing"
id="partof_thing_3"
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">3</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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<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=":hasText">
<text permissions="prop-default" encoding="utf8">This is a Audiothing as MP3</text>
</text-prop>
</resource>
<!-- the API supports also MP4 files that are purely audio (MIME "audio/mp4), but there is no test file for it -->
<resource label="Moviething"
restype=":MovieThing"
id="video_thing_1"
permissions="res-restricted">
<bitstream>testdata/bitstreams/test.mp4</bitstream>
<text-prop name=":hasText">
<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">
<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="Another region 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": "#ff3333",
"lineWidth": 2,
"points": [
{"x":0.080985915492957750,"y":0.16741071428571427},
{"x":0.739436619718309900,"y":0.72991071428571430}
],
"original_index": 0
}
</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=":hasText">
<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">2.0:10.0</interval>
</interval-prop>
</resource>
<!-- :AudioSequence -->
<resource label="Section of a Video" restype=":AudioSequence" id="audio_sequence_0" permissions="res-default">
<text-prop name=":hasText">
<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">8.0:12.0</interval>
</interval-prop>
</resource>
<!-- :MinimalisticSequence -->
<resource label="Minimalistic section of a Video" restype=":MinimalisticSequence" id="minimalistic_sequence_0" permissions="res-default">
<text-prop name=":hasText">
<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">8.0:12.0</interval>
</interval-prop>
</resource>
<resource label="Minimalistic section of an Audio" restype=":MinimalisticSequence" id="minimalistic_sequence_1" permissions="res-default">
<text-prop name=":hasText">
<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>
</knora>