Skip to content

Commit

Permalink
Add SRU Links to describedBy RPB-225
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Feb 28, 2025
1 parent bb13c82 commit f73b85b
Show file tree
Hide file tree
Showing 15 changed files with 101 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conf/hebisMarc2lobid-transformation/fix/describedBy.fix
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ nothing() # currently no transformation for describedBy is needed.
#
# add_field("describedBy.resultOf.instrument.label","Software lobid-resources")
#
# copy_field("almaMmsId","describedBy.resultOf.object.id")
# prepend("describedBy.resultOf.object.id","https://lobid.org/marcxml/")

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", join_char:"")

#
# # 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.
# # We use MNG info as fallback.
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"location" : [ "Ingelheim am Rhein" ],
"publishedBy" : [ "Stadtverwaltung Ingelheim am Rhein" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22514226781%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1415743560",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
"location" : [ "Mainz" ],
"publishedBy" : [ "Evangelisches Dekanat Mainz" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22512839662%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1407066536",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-10.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"location" : [ "Mainz" ],
"publishedBy" : [ "Schmidt" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22090358163%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/76115483",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-11.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"location" : [ "Mainz" ],
"publishedBy" : [ "Schmidt" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22090363000%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/57680814",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-12.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
"location" : [ "München" ],
"publishedBy" : [ "Polyglott" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22508037980%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1403376624",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-13.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"location" : [ "München" ],
"publishedBy" : [ "morisel Verlag" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22487803779%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1282186376",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
"location" : [ "Mainz" ],
"publishedBy" : [ "Dezernat für Soziales, Kinder, Jugend, Schule und Gesundheit, Flüchtlingskoordination" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22512013683%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1404835958",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
"location" : [ "Ingelheim am Rhein" ],
"publishedBy" : [ "Stadt Ingelheim am Rhein" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22512849919%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1407112396",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-4.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
"location" : [ "Ingelheim am Rhein" ],
"publishedBy" : [ "Stadtverwaltung" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22516707701%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1428135055",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"location" : [ "Ober-Olm" ],
"publishedBy" : [ "Carneval Club 1948 Ober-Olm e.V." ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22475390555%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"
}
}
},
"language" : [ {
"id" : "http://id.loc.gov/vocabulary/iso639-2/ger",
"label" : "Deutsch"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-6.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
"location" : [ "Norderstedt" ],
"publishedBy" : [ "Bod - Books on Demand" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22488844266%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1288418997",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-7.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"location" : [ "München" ],
"publishedBy" : [ "morisel Verlag" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22487803779%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1282186376",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-8.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
"location" : [ "Radebeul" ],
"manufacturedBy" : [ "Unitedprint.com" ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22478607776%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1196889751",
"label" : "OCLC Ressource"
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-hebis-to-lobid-output-9.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
"location" : [ "Gau-Algesheim" ],
"publishedBy" : [ "Carl-Brilmayer-Ges." ]
} ],
"describedBy" : {
"resultOf" : {
"object" : {
"id" : "http://sru.hebis.de/sru/DB=2.1?query=pica.ppn+%3D+%22090680634%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"
}
}
},
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/45021318",
"label" : "OCLC Ressource"
Expand Down

0 comments on commit f73b85b

Please sign in to comment.