Newer
Older

Philipp Schneider
committed
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"# Pipeline to create a small test dataset\n",
"Goal: Check if changes to transformations scripts or to the ontologies apply correctly in the data."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"from rdflib import Graph\n",
"\n",
"def merge_graphs(input_path_1, input_path_2, output_path):\n",
" g = Graph()\n",
" g.parse(input_path_1)\n",
" g.parse(input_path_2)\n",
" g.serialize(destination=output_path, format='ttl')"
]
},
{
"cell_type": "code",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"src/rdf-mappings/map-tblBranch.py:484: DtypeWarning: Columns (2,9,11,16,17,18,19,20,21,31,38,39,49,56,58,62,67,71,72,73,74,75,77,79,82,85,86,88,94,97,98,99,100,102,104,106,109,110,112,114,117,118,119,122,124,125,126,127,128,129,130,131,132,133,134,135,136,138,139,140,141,142,143,144,145,149,150,151,152,153,154,157,165,166,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,188,189,190,194,196) have mixed types. Specify dtype option on import or set low_memory=False.\n",
" df_tblBranch = pd.read_csv(csv_input_path, sep='\\t')\n",
" Column Column2 BranchID ... GpSel TinctChanged Column 201\n",
"0 0 NaN 1 ... NaN 1.0 NaN\n",
"1 1 NaN 2 ... NaN 1.0 NaN\n",
"2 2 NaN 3 ... NaN 1.0 NaN\n",
"3 3 NaN 4 ... NaN 1.0 NaN\n",
"4 4 NaN 5 ... NaN 1.0 NaN\n",
"... ... ... ... ... ... ... ...\n",
"40859 40859 NaN 8318_A_1 ... NaN NaN NaN\n",
"40860 40860 NaN 8425_1 ... 0.0 NaN 0.0\n",
"40861 40861 NaN 8425_A_1 ... NaN NaN NaN\n",
"40862 40862 NaN 8425_B_1 ... NaN NaN NaN\n",
"40863 40863 NaN 13770_1 ... 0.0 NaN 1.0\n",
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
"[40864 rows x 205 columns]\n",
"chief\n",
"compon\n",
"chief\n",
"chief\n",
"chief\n",
"chief\n",
"chief\n",
"eschutch\n",
"chief\n",
"chief\n",
"chief\n",
"chief\n",
"chief\n",
"shield\n",
"stag\n",
"compon de Harcourt\n",
"chief\n",
"chief\n",
"chief\n",
"\n",
"chief\n",
"border\n",
"lozenge\n",
"lozenge\n",
"\n",
"\n",
"chief\n",
"chief\n",
"lozenge\n",
"chief\n",
"chief\n",
"compon\n",
"compon\n",
"escuch\n",
"chief\n",
"\n",
"\n",
"escurch\n",
"banner\n",
"chief\n",
"banner\n",
"banner\n",
"banner\n",
"banner\n",
"banner\n",
"escuch\n",
"Created data/rdf-output/test-dataset/knowledge-graph-blazon-test-dataset.ttl\n",
"Created data/rdf-output/test-dataset/knowledge-graph-blazon-test-dataset.jsonld\n",
"Export TBox to file...\n",
"Create data/rdf-output/digital-heraldry-ontology.ttl\n"
]
}
],
"source": [
"!python src/rdf-mappings/map-tblBranch.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"merge_graphs('data/rdf-output/test-dataset/knowledge-graph-blazon-test-dataset.ttl', 'data/ontologies/digital-heraldry-ontology.ttl', 'data/rdf-output/test-dataset/knowledge-graph-blazon-test-dataset.ttl')"
]
},
{
"cell_type": "code",
"execution_count": 1,

Philipp Schneider
committed
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [

Philipp Schneider
committed
"src/rdf-mappings/map-tblArmItems.py:92: FutureWarning: Inferring datetime64[ns] from data containing strings is deprecated and will be removed in a future version. To retain the old behavior explicitly pass Series(data, dtype=datetime64[ns])\n",
" df_metadata = pd.read_excel(metadata_file)\n",
"Empty DataFrame\n",
"Columns: [Column, ArmItemID, ArmCode, ItemNr, FolNr, SrNr, published_as_rdf, checked_for_publication, descriptor_id, description_event_id, description_time, BranchIDR, CrestPresent, HelmetPresent, MantlingPresent, BannerItem, PersonItem, ArmTxt, ArmIdf, IdxName, AiCmnt, ItemStatus, ItemQual, Editor, ArmSegm, AIRefs, Revised, NeedCHK, Ex1ArmItem, Ex2ArmItem, Ex3ArmItem, Ex4ArmItem, Ex5ArmItem, Ex6ArmItem, SortNr, PaSource, PaRefNr, ArmItemNr_Popoff, GlAIid, Select, Obs, CreFigIDR, CreMulti, CreTint, CreOrnIDR, TGmember]\n",
"Index: []\n",
"Traceback (most recent call last):\n",
" File \"src/rdf-mappings/map-tblArmItems.py\", line 96, in <module>\n",
" raise ValueError\n",
"ValueError\n"

Philipp Schneider
committed
"source": [
"!python src/rdf-mappings/map-tblArmItems.py -t"

Philipp Schneider
committed
]
"execution_count": 2,
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
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" ArmCode CoACount ... armorial-position-in-ms grid-system\n",
"0 A 324.0 ... NaN NaN\n",
"1 ABL NaN ... NaN NaN\n",
"2 ABR NaN ... NaN NaN\n",
"3 ACA NaN ... NaN NaN\n",
"4 ACS NaN ... NaN NaN\n",
".. ... ... ... ... ...\n",
"771 NaN NaN ... NaN NaN\n",
"772 NaN NaN ... NaN NaN\n",
"773 NaN NaN ... NaN NaN\n",
"774 NaN NaN ... NaN NaN\n",
"775 NaN NaN ... NaN NaN\n",
"\n",
"[776 rows x 36 columns]\n",
"Creating manuscript entities...\n",
"Created data/rdf-output/test-dataset/knowledge-graph-object-test-dataset.ttl\n",
"Created data/rdf-output/test-dataset/knowledge-graph-object-test-dataset.jsonld\n",
"Loading Knowledge Graph file...\n",
"Linking coat of arms representations to manuscript entities...\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSBEL\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSMAN\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"http://digitalheraldry.org/digital-heraldry-ontology/object#MSNLU\n",
"Serialilzing representation graph...\n"
]
}
],
"source": [
"!python src/rdf-mappings/integrate_manuscript_metadata_into_kg.py"
]

Philipp Schneider
committed
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"http://172.28.34.103/!DOCTYPE html does not look like a valid URI, trying to serialize this will break.\n"
]
},
{
"ename": "BadSyntax",
"evalue": "at line 5 of <>:\nBad syntax (expected '.' or '}' or ']' at end of statement) at ^ in:\n\"b'<!DOCTYPE html>\\n<html>\\n\\n<head>\\n '^b'<meta charset=\\'utf-8\\'>\\n <link rel=\"icon\" href=\"/assets/no_a'...\"",
"output_type": "error",
"traceback": [
"Traceback \u001b[0;36m(most recent call last)\u001b[0m:\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3398\u001b[0m in \u001b[1;35mrun_code\u001b[0m\n exec(code_obj, self.user_global_ns, self.user_ns)\n",
" Input \u001b[1;32mIn [7]\u001b[0m in \u001b[1;35m<cell line: 19>\u001b[0m\n resp = g.parse(endpoint, format='text/turtle')\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/graph.py:1267\u001b[0m in \u001b[1;35mparse\u001b[0m\n raise se\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/graph.py:1258\u001b[0m in \u001b[1;35mparse\u001b[0m\n parser.parse(source, self, **args) # type: ignore[call-arg]\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:1913\u001b[0m in \u001b[1;35mparse\u001b[0m\n p.loadStream(stream)\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:434\u001b[0m in \u001b[1;35mloadStream\u001b[0m\n return self.loadBuf(stream.read()) # Not ideal\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:440\u001b[0m in \u001b[1;35mloadBuf\u001b[0m\n self.feed(buf)\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:466\u001b[0m in \u001b[1;35mfeed\u001b[0m\n i = self.directiveOrStatement(s, j)\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:488\u001b[0m in \u001b[1;35mdirectiveOrStatement\u001b[0m\n return self.checkDot(argstr, j)\n",
" File \u001b[1;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:1149\u001b[0m in \u001b[1;35mcheckDot\u001b[0m\n self.BadSyntax(argstr, j, \"expected '.' or '}' or ']' at end of statement\")\n",
"\u001b[0;36m File \u001b[0;32m~/opt/anaconda3/envs/dho_kg_integration/lib/python3.8/site-packages/rdflib/plugins/parsers/notation3.py:1646\u001b[0;36m in \u001b[0;35mBadSyntax\u001b[0;36m\u001b[0m\n\u001b[0;31m raise BadSyntax(self._thisDoc, self.lines, argstr, i, msg)\u001b[0m\n",
"\u001b[0;36m File \u001b[0;32m<string>\u001b[0;36m\u001b[0m\n\u001b[0;31mBadSyntax\u001b[0m\n"
]
}
],
"source": [
"from rdflib import Graph\n",
"from rdflib.plugins.sparql import prepareQuery\n",
"\n",
"# Define the SPARQL query\n",
"query = prepareQuery('''\n",
" SELECT ?subject ?value\n",
" WHERE {\n",
" ?subject <http://digitalheraldry.org/digital-heraldry-ontology/entity#attributesCoATo> ?value .\n",
" }\n",
" ''')\n",
"\n",
"# Define the endpoint URL\n",
"endpoint = 'http://172.28.34.103/sparql'\n",
"\n",
"# Create a new RDF graph\n",
"g = Graph()\n",
"\n",
"# Send a GET request to the SPARQL endpoint and parse the response as RDF/XML\n",
"resp = g.parse(endpoint, format='text/turtle')\n",
"\n",
"# Check whether the parse method returned a valid RDF graph object\n",
"if not resp:\n",
" raise ValueError('Unable to parse RDF data from the endpoint')\n",
"\n",
"# Bind the graph to the namespace\n",
"g.bind('dh', 'http://digitalheraldry.org/digital-heraldry-ontology/entity#')\n",
"\n",
"# Send the SPARQL query to the endpoint and print the results\n",
"for row in g.query(query):\n",
" print(row)\n"
]

Philipp Schneider
committed
}
],
"metadata": {
"kernelspec": {
"display_name": "dho_kg_integration",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",

Philipp Schneider
committed
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",

Philipp Schneider
committed
"version": "3.8.12"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "86152e4984a8eeddffd673b8a40ea9a3bfe66b19f1d4e2fbcbd65936a43d9c06"
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}