Skip to content

Commit 702074f

Browse files
committed
Add SRU Links to describedBy RPB-225
1 parent bb13c82 commit 702074f

15 files changed

+101
-2
lines changed

conf/hebisMarc2lobid-transformation/fix/describedBy.fix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ nothing() # currently no transformation for describedBy is needed.
2929
#
3030
# add_field("describedBy.resultOf.instrument.label","Software lobid-resources")
3131
#
32-
# copy_field("almaMmsId","describedBy.resultOf.object.id")
33-
# prepend("describedBy.resultOf.object.id","https://lobid.org/marcxml/")
32+
33+
paste("describedBy.resultOf.object.id","~http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22", "001","~%22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C")
34+
3435
#
3536
# # 008/00-05 has the initial cataloguing date. We test strictly if 008 only has 6 digits, sometimes records have 8 digits that are not valid.
3637
# # We use MNG info as fallback.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"location" : [ "Ingelheim am Rhein" ],
1616
"publishedBy" : [ "Stadtverwaltung Ingelheim am Rhein" ]
1717
} ],
18+
"describedBy" : {
19+
"resultOf" : {
20+
"object" : {
21+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 514226781 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
22+
}
23+
}
24+
},
1825
"sameAs" : [ {
1926
"id" : "http://worldcat.org/oclc/1415743560",
2027
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
"location" : [ "Mainz" ],
1717
"publishedBy" : [ "Evangelisches Dekanat Mainz" ]
1818
} ],
19+
"describedBy" : {
20+
"resultOf" : {
21+
"object" : {
22+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 512839662 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
23+
}
24+
}
25+
},
1926
"sameAs" : [ {
2027
"id" : "http://worldcat.org/oclc/1407066536",
2128
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
"location" : [ "Mainz" ],
1919
"publishedBy" : [ "Schmidt" ]
2020
} ],
21+
"describedBy" : {
22+
"resultOf" : {
23+
"object" : {
24+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 090358163 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
25+
}
26+
}
27+
},
2128
"sameAs" : [ {
2229
"id" : "http://worldcat.org/oclc/76115483",
2330
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
"location" : [ "Mainz" ],
1919
"publishedBy" : [ "Schmidt" ]
2020
} ],
21+
"describedBy" : {
22+
"resultOf" : {
23+
"object" : {
24+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 090363000 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
25+
}
26+
}
27+
},
2128
"sameAs" : [ {
2229
"id" : "http://worldcat.org/oclc/57680814",
2330
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
"location" : [ "München" ],
2222
"publishedBy" : [ "Polyglott" ]
2323
} ],
24+
"describedBy" : {
25+
"resultOf" : {
26+
"object" : {
27+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 508037980 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
28+
}
29+
}
30+
},
2431
"sameAs" : [ {
2532
"id" : "http://worldcat.org/oclc/1403376624",
2633
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
"location" : [ "München" ],
1919
"publishedBy" : [ "morisel Verlag" ]
2020
} ],
21+
"describedBy" : {
22+
"resultOf" : {
23+
"object" : {
24+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 487803779 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
25+
}
26+
}
27+
},
2128
"sameAs" : [ {
2229
"id" : "http://worldcat.org/oclc/1282186376",
2330
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
"location" : [ "Mainz" ],
1818
"publishedBy" : [ "Dezernat für Soziales, Kinder, Jugend, Schule und Gesundheit, Flüchtlingskoordination" ]
1919
} ],
20+
"describedBy" : {
21+
"resultOf" : {
22+
"object" : {
23+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 512013683 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
24+
}
25+
}
26+
},
2027
"sameAs" : [ {
2128
"id" : "http://worldcat.org/oclc/1404835958",
2229
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
"location" : [ "Ingelheim am Rhein" ],
1717
"publishedBy" : [ "Stadt Ingelheim am Rhein" ]
1818
} ],
19+
"describedBy" : {
20+
"resultOf" : {
21+
"object" : {
22+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 512849919 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
23+
}
24+
}
25+
},
1926
"sameAs" : [ {
2027
"id" : "http://worldcat.org/oclc/1407112396",
2128
"label" : "OCLC Ressource"

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
"location" : [ "Ingelheim am Rhein" ],
1717
"publishedBy" : [ "Stadtverwaltung" ]
1818
} ],
19+
"describedBy" : {
20+
"resultOf" : {
21+
"object" : {
22+
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22 516707701 %22&version=1.1&operation=searchRetrieve&stylesheet=http%3A%2F%2Fsru.hebis.de%2Fsru%2F%3Fxsl%3DsearchRetrieveResponse&recordSchema=marc21&maximumRecords=10&startRecord=1&recordPacking=xml&sortKeys=LST_Y%2Cpica%2C0%2C%2C"
23+
}
24+
}
25+
},
1926
"sameAs" : [ {
2027
"id" : "http://worldcat.org/oclc/1428135055",
2128
"label" : "OCLC Ressource"

0 commit comments

Comments
 (0)