Skip to content

Commit 49064c5

Browse files
committed
Fix holding infos RPB-225
1 parent 4a8c98f commit 49064c5

15 files changed

+22
-43
lines changed

conf/hebisMarc2lobid-transformation/fix/item.fix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ do list(path:"924??", "var": "$i")
55
add_field("hasItem[].$last.label", "lobid Bestandsressource")
66
add_array("hasItem[].$last.type[]", "Item","PhysicalObject")
77
copy_field("$i.g", "hasItem[].$last.callNumber")
8-
add_field("hasItem[].$append.heldBy.id","http://lobid.org/organisations/DE-36#!")
8+
add_field("hasItem[].$last.heldBy.id","http://lobid.org/organisations/DE-36#!")
99
add_field("hasItem[].$last.heldBy.label","Wissenschaftliche Stadtbibliothek Mainz")
1010
paste("holding.id","~http://lobid.org/items/", "~WASMUSSHIERHIN:DE-36:","$i.g","~#!",join_char:"") # Checken ob 001 als Item Id genutzt werden soll.
1111
end

conf/output/test-hebis-to-lobid-output-0.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
"hasItem" : [ {
3939
"label" : "lobid Bestandsressource",
4040
"type" : [ "Item", "PhysicalObject" ],
41-
"callNumber" : "K 2023 Q 152"
42-
}, {
41+
"callNumber" : "K 2023 Q 152",
4342
"heldBy" : {
4443
"id" : "http://lobid.org/organisations/DE-36#!",
4544
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-1.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,15 @@
3939
"hasItem" : [ {
4040
"label" : "lobid Bestandsressource",
4141
"type" : [ "Item", "PhysicalObject" ],
42-
"callNumber" : "Mog m 7188"
43-
}, {
42+
"callNumber" : "Mog m 7188",
4443
"heldBy" : {
4544
"id" : "http://lobid.org/organisations/DE-36#!",
4645
"label" : "Wissenschaftliche Stadtbibliothek Mainz"
4746
}
4847
}, {
4948
"label" : "lobid Bestandsressource",
5049
"type" : [ "Item", "PhysicalObject" ],
51-
"callNumber" : "Mog m 7188, 2. Ex."
52-
}, {
50+
"callNumber" : "Mog m 7188, 2. Ex.",
5351
"heldBy" : {
5452
"id" : "http://lobid.org/organisations/DE-36#!",
5553
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-10.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,26 +62,23 @@
6262
"hasItem" : [ {
6363
"label" : "lobid Bestandsressource",
6464
"type" : [ "Item", "PhysicalObject" ],
65-
"callNumber" : "Mog 1974"
66-
}, {
65+
"callNumber" : "Mog 1974",
6766
"heldBy" : {
6867
"id" : "http://lobid.org/organisations/DE-36#!",
6968
"label" : "Wissenschaftliche Stadtbibliothek Mainz"
7069
}
7170
}, {
7271
"label" : "lobid Bestandsressource",
7372
"type" : [ "Item", "PhysicalObject" ],
74-
"callNumber" : "Mog 1974, 2. Ex."
75-
}, {
73+
"callNumber" : "Mog 1974, 2. Ex.",
7674
"heldBy" : {
7775
"id" : "http://lobid.org/organisations/DE-36#!",
7876
"label" : "Wissenschaftliche Stadtbibliothek Mainz"
7977
}
8078
}, {
8179
"label" : "lobid Bestandsressource",
8280
"type" : [ "Item", "PhysicalObject" ],
83-
"callNumber" : "Mog 3537"
84-
}, {
81+
"callNumber" : "Mog 3537",
8582
"heldBy" : {
8683
"id" : "http://lobid.org/organisations/DE-36#!",
8784
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-11.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,15 @@
6262
"hasItem" : [ {
6363
"label" : "lobid Bestandsressource",
6464
"type" : [ "Item", "PhysicalObject" ],
65-
"callNumber" : "Mog 1975"
66-
}, {
65+
"callNumber" : "Mog 1975",
6766
"heldBy" : {
6867
"id" : "http://lobid.org/organisations/DE-36#!",
6968
"label" : "Wissenschaftliche Stadtbibliothek Mainz"
7069
}
7170
}, {
7271
"label" : "lobid Bestandsressource",
7372
"type" : [ "Item", "PhysicalObject" ],
74-
"callNumber" : "Mog 2727"
75-
}, {
73+
"callNumber" : "Mog 2727",
7674
"heldBy" : {
7775
"id" : "http://lobid.org/organisations/DE-36#!",
7876
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-12.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@
166166
"hasItem" : [ {
167167
"label" : "lobid Bestandsressource",
168168
"type" : [ "Item", "PhysicalObject" ],
169-
"callNumber" : "2023/589"
170-
}, {
169+
"callNumber" : "2023/589",
171170
"heldBy" : {
172171
"id" : "http://lobid.org/organisations/DE-36#!",
173172
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-13.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,15 @@
166166
"hasItem" : [ {
167167
"label" : "lobid Bestandsressource",
168168
"type" : [ "Item", "PhysicalObject" ],
169-
"callNumber" : "- Dek GOEB"
170-
}, {
169+
"callNumber" : "- Dek GOEB",
171170
"heldBy" : {
172171
"id" : "http://lobid.org/organisations/DE-36#!",
173172
"label" : "Wissenschaftliche Stadtbibliothek Mainz"
174173
}
175174
}, {
176175
"label" : "lobid Bestandsressource",
177176
"type" : [ "Item", "PhysicalObject" ],
178-
"callNumber" : "Mog 3175"
179-
}, {
177+
"callNumber" : "Mog 3175",
180178
"heldBy" : {
181179
"id" : "http://lobid.org/organisations/DE-36#!",
182180
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-2.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,15 @@
3636
"hasItem" : [ {
3737
"label" : "lobid Bestandsressource",
3838
"type" : [ "Item", "PhysicalObject" ],
39-
"callNumber" : "Mog m:4° /3602"
40-
}, {
39+
"callNumber" : "Mog m:4° /3602",
4140
"heldBy" : {
4241
"id" : "http://lobid.org/organisations/DE-36#!",
4342
"label" : "Wissenschaftliche Stadtbibliothek Mainz"
4443
}
4544
}, {
4645
"label" : "lobid Bestandsressource",
4746
"type" : [ "Item", "PhysicalObject" ],
48-
"callNumber" : "Mog m:4° /3602, 2. Ex."
49-
}, {
47+
"callNumber" : "Mog m:4° /3602, 2. Ex.",
5048
"heldBy" : {
5149
"id" : "http://lobid.org/organisations/DE-36#!",
5250
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-3.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
"hasItem" : [ {
4343
"label" : "lobid Bestandsressource",
4444
"type" : [ "Item", "PhysicalObject" ],
45-
"callNumber" : "K 2023 Q 140"
46-
}, {
45+
"callNumber" : "K 2023 Q 140",
4746
"heldBy" : {
4847
"id" : "http://lobid.org/organisations/DE-36#!",
4948
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

conf/output/test-hebis-to-lobid-output-4.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"hasItem" : [ {
4040
"label" : "lobid Bestandsressource",
4141
"type" : [ "Item", "PhysicalObject" ],
42-
"callNumber" : "K 2024/20"
43-
}, {
42+
"callNumber" : "K 2024/20",
4443
"heldBy" : {
4544
"id" : "http://lobid.org/organisations/DE-36#!",
4645
"label" : "Wissenschaftliche Stadtbibliothek Mainz"

0 commit comments

Comments
 (0)