diff --git a/src/main/resources/alma/fix/maps.fix b/src/main/resources/alma/fix/maps.fix index 74e9f1e0b..7d1a8478d 100644 --- a/src/main/resources/alma/fix/maps.fix +++ b/src/main/resources/alma/fix/maps.fix @@ -39,7 +39,8 @@ put_rdfmap("$[nwbib-spatial.ttl]", "nwbib-spatial", target: "skos:prefLabel", se put_rdfmap("$[nwbib.ttl]", "nwbib", target: "skos:prefLabel", select_language: "de") # Sachsystematik der Nordrhein-Westfälischen Bibliographie # Formschlagwort/Formangaben-Mapping -> GND (based on: https://wiki.dnb.de/download/attachments/106042227/AH-007.pdf) -put_filemap("$[formangabe.tsv]","formschlagwort2Gnd", sep_char:"\t",key_column:"0",value_column:"1",expected_columns:"-1") +put_filemap("$[formangabe.tsv]","formschlagwort2Gnd", sep_char:"\t",key_column:"0",value_column:"2",expected_columns:"-1") +put_filemap("$[formangabe.tsv]","Gnd2formschlagwort", sep_char:"\t",key_column:"2",value_column:"0",expected_columns:"-1") # almaMmsId -> rpbId put_filemap("$[almaMmsId2rpbId]","almaMmsId2rpbId", sep_char:"\t",key_column:"0",value_column:"1",expected_columns:"-1") diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index d06c01dd4..eb23c4315 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -7,7 +7,14 @@ set_array("natureOfContent[]") # Ind: 2. 7= Source specified in subfield $2. do list(path:"655 7", "var":"$i") - unless in("$i.a","natureOfContent[].*.label") + unless exists("$i.a") + copy_field("$i.0", "natureOfContent[].$append.label") + do list(path: "natureOfContent[]", "var":"$i") + replace_all("$i.label", "^\\(DE-588\\)(.*)$", "$1") + lookup("$i.label", "Gnd2formschlagwort", delete:"true") + end + end + unless in("$i.a","natureOfContent[].*.label") unless any_equal("$i.2","gnd-carrier") unless any_match("$i.a",".*(Audiovisuelles Material|Bildplatte|CD|CD-ROM|Dia|Diskette|DVD-Audio|DVD-ROM|DVD-Video|Elektronische Publikation|Film|Medienkombination|Mikroform|Musikdruck|Online-Publikation|Schallplatte|Text|Tonbildreihe|Tonkassette|Tonträger|Videokassette).*") copy_field("$i.a","natureOfContent[].$append.label") diff --git a/src/test/resources/alma-fix/991030115479706476.json b/src/test/resources/alma-fix/991030115479706476.json new file mode 100644 index 000000000..447aa0a61 --- /dev/null +++ b/src/test/resources/alma-fix/991030115479706476.json @@ -0,0 +1,120 @@ +{ + "@context" : "http://lobid.org/resources/context.jsonld", + "id" : "http://lobid.org/resources/991030115479706476#!", + "type" : [ "BibliographicResource", "Book" ], + "medium" : [ { + "label" : "Print", + "id" : "http://rdaregistry.info/termList/RDAproductionMethod/1010" + } ], + "title" : "De perfectione vitae spiritualis", + "almaMmsId" : "991030115479706476", + "alternativeTitle" : [ "Tractatus de perfectione status spiritualis", "Tractatus sancti Thome de perfectione status spiritualis" ], + "publication" : [ { + "startDate" : "1472", + "type" : [ "PublicationEvent" ], + "location" : [ "Köln" ], + "publishedBy" : [ "[Arnold ter Hoernen]" ] + } ], + "titleKeyword" : [ "Thomae" ], + "describedBy" : { + "id" : "http://lobid.org/resources/991030115479706476", + "label" : "Webseite der hbz-Ressource 991030115479706476", + "type" : [ "BibliographicDescription" ], + "inDataset" : { + "id" : "http://lobid.org/resources/dataset#!", + "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" + }, + "resultOf" : { + "type" : [ "CreateAction" ], + "endTime" : "0000-00-00T00:00:00", + "instrument" : { + "id" : "https://github.com/hbz/lobid-resources", + "type" : [ "SoftwareApplication" ], + "label" : "Software lobid-resources" + }, + "object" : { + "id" : "https://lobid.org/marcxml/991030115479706476", + "dateCreated" : "2023-08-22", + "dateModified" : "2024-05-31", + "type" : [ "DataFeedItem" ], + "label" : "hbz-Ressource 991030115479706476 im Exportformat MARC21 XML", + "inDataset" : { + "id" : "https://datahub.io/dataset/hbz_unioncatalog", + "label" : "hbz_unioncatalog" + } + } + }, + "license" : [ { + "id" : "http://creativecommons.org/publicdomain/zero/1.0", + "label" : "Creative Commons-Lizenz CC0 1.0 Universal" + } ] + }, + "exampleOfWork" : { + "label" : "De perfectione status spiritualis", + "type" : [ "Work" ] + }, + "language" : [ { + "id" : "http://id.loc.gov/vocabulary/iso639-2/lat", + "label" : "Latein" + } ], + "extent" : "[58] Bl. ; 4°", + "note" : [ "Ansetzung nach GW: Tractatus de perfectione status spiritualis. - ISTC: De perfectione vitae spiritualis. - Textbeginn: Tractat[us] sancti Thome de p[er]f[e]c[ti]o[n]e stat[us] sp[irit]ualis" ], + "natureOfContent" : [ { + "label" : "Inkunabel", + "id" : "https://d-nb.info/gnd/4027041-5" + } ], + "hasItem" : [ { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "GBIV6246", + "serialNumber" : "GBIV6246", + "currentLibrary" : "38-HLS", + "currentLocation" : "38-HLS-MAG", + "heldBy" : { + "isil" : "DE-38", + "id" : "http://lobid.org/organisations/DE-38#!", + "label" : "Universitäts- und Stadtbibliothek Köln, Hauptabteilung" + }, + "seeAlso" : [ "https://katalog.ub.uni-koeln.de/portal/search.html?num=20&page=1&l=de&srt=year_desc&tab=books&hbzid=991030115479706476&fdb=uni" ], + "inCollection" : [ { + "id" : "http://lobid.org/organisations/DE-38#!", + "label" : "Universitäts- und Stadtbibliothek Köln, Hauptabteilung" + } ], + "id" : "http://lobid.org/items/991030115479706476:DE-38:23254080940006476#!" + } ], + "bibliographicLevel" : { + "label" : "Monograph/Item", + "id" : "https://www.loc.gov/marc/bibliographic/bdleader.html#Monograph_Item" + }, + "responsibilityStatement" : [ "Thomas " ], + "contribution" : [ { + "agent" : { + "gndIdentifier" : "118622110", + "id" : "https://d-nb.info/gnd/118622110", + "label" : "Thomas, von Aquin, Heiliger", + "type" : [ "Person" ], + "dateOfBirth" : "1225", + "dateOfDeath" : "1274", + "altLabel" : [ "Thomas, von Aquin", "Thomas, de Aquino, Heiliger", "Thomas, de Aquino", "Thomas, ab Aquino, Heiliger", "Thomas, ab Aquino", "Doctor Angelicus", "Dottore angelico", "Thomas, Akinatos, Heiliger", "Thomas, Akuinatos, Heiliger", "Thomas, Aquinatus, Heiliger", "Thomas, Aquinas, Heiliger", "Thomas, Aquinus, Heiliger", "Thomas, Aquinatus, Sanctus", "Thōmas, Akinatos, Heiliger", "Tommaso, d'Aquino, Heiliger", "Thomas, von Aquino, Heiliger", "Thomas, von Aquino", "Thomas, Aquinatis, Heiliger", "Thomas, d'Aquin, Heiliger", "Thomas, d'Aquin, Saint", "Thomas, de Aquinas, Heiliger", "Thomas, Camisensis, Heiliger", "Tomás, de Aquino, Heiliger", "Tomasz, z Akwinu, Heiliger", "Thomas, ho Akinatas, Heiliger", "Thomas, Daqui, Heiliger", "Tommaso, d'Aquino, San", "Tommaso, d'Aquino", "Thomas, Aquinas, Saint", "Tomás, de Aquino, Santo", "Tūmā al-Akwīnī, Heiliger", "Thomas, Beatus", "Aquinas, Heiliger", "Foma, Akvinskij, Heiliger", "Pseudo-Thomas, von Aquin", "Pseudo-Thomas, Aquinas", "Pseudo-Thomas, de Aquino", "Aquinas", "Foma, Akvinskiĭ, Saint", "Thomas, av Aquino, Saint", "Thomas, von Aquin, Saint", "T'oma, Ak'vineli, Saint", "Toma, Akvinski, Saint", "Toma, Akvinskii, Saint", "Toma, Akvins'kyi, Saint", "Toma, ot Akvino, Saint", "Tomas, Akvinietis, Saint", "Tomas, de Aquino, Saint", "Tomasu, Akuinasu, Saint", "Tomasu, Akwinasu, Saint", "Tomasz, Akwinu, Saint", "Tommaso, d'Aquino, Saint", "T'ovma, Ak'uinats'i Saint", "Thomas, 'o Akinatos, Saint", "Thomas, 'o Akinates, Saint", "Thomas, 'o Akuinatos, Saint", "Thomas, 'o Akuinates, Saint", "Tomás, de Aquino, Saint", "Тома, Аквінський, Saint", "Pתומאס אקווינאס", "Pתומס אקווינס", "اكويني ، توما", "Aquinatus, Thomas, Heiliger", "Aquin, Thomas, von, Heiliger", "Aquino, Thomas, von, Heiliger", "Aquinas, Thomas, de, Heiliger", "Aquino, Tommaso, d', Heiliger", "Aquino, Thomas, de, Heiliger", "Aquino, Tomás, de, Heiliger", "Aquinas, Thomas, Heiliger", "Aquinas, Thomas, Saint", "Aquino, Tommaso Niccolò, d', Heiliger", "Aquino, Tommaso N., d', Heiliger", "Akvinskij, Foma, Heiliger", "Akwīnī, Tūmā, al-, Heiliger", "Daqui, Thomas, Seut", "Ak'vineli, T'oma, Saint", "Akvinietis, Tomas, Saint", "Akvinskii, Foma, Saint", "Aquin, Thomas von", "Aquino, Thomas von", "阿奎那, 聖托馬斯" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "gndIdentifier" : "137661495", + "id" : "https://d-nb.info/gnd/137661495", + "label" : "Arnold, ter Hoernen", + "type" : [ "Person" ], + "dateOfDeath" : "1483", + "altLabel" : [ "Arnoldus, ther Hornen", "Hoernen, Arnold ter", "Hoernen, Arnold ther", "Therhoernen, Arnold", "Terhoernen, Arnold", "Terhornen, Arnold", "Ther Hoernen, Arnold", "Ther Hoernen, Arnoldus", "Ter Hoernen, Arnold", "Ther Hornen, Arnold", "Hurnen, Arnold ter", "Hornen, Arnold ter", "Hornen, Arnoldus ther", "Horn, Arnold" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/prt", + "label" : "Druck" + }, + "type" : [ "Contribution" ] + } ] +} diff --git a/src/test/resources/alma-fix/991030115479706476.xml b/src/test/resources/alma-fix/991030115479706476.xml new file mode 100644 index 000000000..10fac025b --- /dev/null +++ b/src/test/resources/alma-fix/991030115479706476.xml @@ -0,0 +1,1126 @@ + + + 01528nam a2200349 c 4500 + 20240531102201.0 + tu + ||||||s1472uuuu|||||| | |||||||||||lat|| + 991030115479706476 + + (DE-38)7615855-49hbz_ubk + + + 7615855 + ExL + + + lat + + + XA-DXDE + + + Thomas + von Aquin, Heiliger + 1225-1274 + (DE-588)118622110 + https://d-nb.info/gnd/118622110 + http://viaf.org/viaf/100910150 + GND-118622110 + + + De perfectione status spiritualis + + + De perfectione vitae spiritualis + Thomas <de Aquino> + + + Tractatus de perfectione status spiritualis + + + Tractatus sancti Thome de perfectione status spiritualis + + + Thomae + + + [Köln] + [Arnold ter Hoernen] + [um 1472] + + + [58] Bl. + + + + GW M46228 + + + ISTC it00313800 + + + Ansetzung nach GW: Tractatus de perfectione status spiritualis. - ISTC: De perfectione vitae spiritualis. - Textbeginn: Tractat[us] sancti Thome de p[er]f[e]c[ti]o[n]e stat[us] sp[irit]ualis + + + (DE-588)4027041-5 + gnd-content + + + Köln + (DE-588)4031483-2 + pup + https://d-nb.info/gnd/040314839 + GND-040314839 + + + Arnold + ter Hoernen + 14XX-1483 + (DE-588)137661495 + prt + https://d-nb.info/gnd/137661495 + http://viaf.org/viaf/249876526 + GND-137661495 + + + Inkunabel + USB + Sammlung Gymnasialbibliothek + Sammlung Inkunabeln und Blockbücher + Sammlung Klosterbibliotheken im Kölner Raum + local + + + (DE-38)7615855 + local + + + Kloster Sankt Barbara Köln + (DE-588)4275651-0 + 1 + local + + + GBIV6246 + hs. Besitzvermerk "P[er]ti[n]et Carthus. in Colonia" + 38 + 1 + local + + + 20170316 + local + + + 49HBZ_UBK + 991030115479706476 + Universität Köln + + + 38Lbieber + ILS + marc21 + 52 + 01 + false + 2024-05-31 10:22:01 Europe/Berlin + 7615855-49hbz_ubk + 60 + import + 2023-08-22 15:11:01 Europe/Berlin + + + 38-HLS + 38-HLS-MAG + 22254080950006476 + + + 2023-08-22 13:11:01 + 22254080950006476 + 49HBZ_UBK + false + import + + + 22254080950006476 + 38-HLS-MAG + RARE + 38-HLS-MAG + L + AMO_HBZ_FIX + 2023-08-21 12:59:00 Europe/Berlin + 2023-08-24 04:52:25 Europe/Berlin + false + GBIV6246 + 1 + 49HBZ_UBK + 1 + # + import + GBIV6246 + Aufnahmedatum: 2008-03-27 | Klassifikation: 0 + 23254080940006476 + 2023-08-22 15:11:01 Europe/Berlin + 38-HLS + 38-HLS + + + Arnoldus + ther Hornen + 14XX-1483 + GND + GND-137661495 + 400 + + + Hoernen, Arnold <<ter>> + 14XX-1483 + GND + GND-137661495 + 400 + + + Hoernen, Arnold <<ther>> + 14XX-1483 + GND + GND-137661495 + 400 + + + Therhoernen, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + Terhoernen, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + Terhornen, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + Ther Hoernen, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + Ther Hoernen, Arnoldus + 14XX-1483 + GND + GND-137661495 + 400 + + + Ter Hoernen, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + Ther Hornen, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + Hurnen, Arnold <<ter>> + 14XX-1483 + GND + GND-137661495 + 400 + + + Hornen, Arnold <<ter>> + 14XX-1483 + GND + GND-137661495 + 400 + + + Hornen, Arnoldus <<ther>> + 14XX-1483 + GND + GND-137661495 + 400 + + + Horn, Arnold + 14XX-1483 + GND + GND-137661495 + 400 + + + 137661495 + http://d-nb.info/gnd/137661495 + gnd + GND + GND-137661495 + 024 + + + Thomas + von Aquin + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + de Aquino, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + de Aquino + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + ab Aquino, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + ab Aquino + 1225-1274 + GND + GND-118622110 + 400 + + + Doctor Angelicus + 1225-1274 + GND + GND-118622110 + 400 + + + Dottore angelico + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Akinatos, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Akuinatos, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinatus, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinas, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinus, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinatus, Sanctus + 1225-1274 + GND + GND-118622110 + 400 + + + Thōmas + Akinatos, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Tommaso + d'Aquino, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + von Aquino, Heiliger + 1225-1274 + v:VD-16 + GND + GND-118622110 + 400 + + + Thomas + von Aquino + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinatis, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + d'Aquin, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + d'Aquin, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + de Aquinas, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Camisensis, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Tomás + de Aquino, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Tomasz + z Akwinu, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + ho Akinatas, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Daqui, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Tommaso + d'Aquino, San + 1225-1274 + GND + GND-118622110 + 400 + + + Tommaso + d'Aquino + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinas, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomás + de Aquino, Santo + 1225-1274 + GND + GND-118622110 + 400 + + + Tūmā al-Akwīnī + Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Beatus + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinatus, Thomas + Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquin, Thomas + von, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Thomas + von, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinas, Thomas + de, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Tommaso + d', Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Thomas + de, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Tomás + de, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinas, Thomas + Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinas, Thomas + Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Tommaso Niccolò + d', Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Tommaso N. + d', Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Akvinskij, Foma + Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinas + Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Akwīnī, Tūmā + al-, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Foma + Akvinskij, Heiliger + 1225-1274 + GND + GND-118622110 + 400 + + + Daqui, Thomas + Seut + 1225-1274 + GND + GND-118622110 + 400 + + + Pseudo-Thomas + von Aquin + 1225-1274 + GND + GND-118622110 + 400 + + + Pseudo-Thomas + Aquinas + 1225-1274 + GND + GND-118622110 + 400 + + + Pseudo-Thomas + de Aquino + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinas, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Ak'vineli, T'oma + Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Akvinietis, Tomas + Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Akvinskii, Foma + Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinas + 1225-1274 + GND + GND-118622110 + 400 + + + Aquinas, Thomas + Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Foma + Akvinskiĭ, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + Aquinas, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + av Aquino, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + d'Aquin, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + von Aquin, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + T'oma + Ak'vineli, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Toma + Akvinski, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Toma + Akvinskii, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Toma + Akvins'kyi, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Toma + ot Akvino, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomas + Akvinietis, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomas + de Aquino, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomasu + Akuinasu, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomasu + Akwinasu, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomasz + Akwinu, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tommaso + d'Aquino, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + T'ovma + Ak'uinats'i Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + 'o Akinatos, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + 'o Akinates, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + 'o Akuinatos, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Thomas + 'o Akuinates, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Tomás + de Aquino, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Aquin, Thomas <<von>> + 1225-1274 + GND + GND-118622110 + 400 + + + Aquino, Thomas <<von>> + 1225-1274 + GND + GND-118622110 + 400 + + + Тома + Аквінський, Saint + 1225-1274 + GND + GND-118622110 + 400 + + + Pתומאס אקווינאס + 1225-1274 + GND + GND-118622110 + 400 + + + Pתומס אקווינס + 1225-1274 + GND + GND-118622110 + 400 + + + اكويني ، توما + 1225-1274 + GND + GND-118622110 + 400 + + + U:Hant + 阿奎那, 聖托馬斯 + 1225-1274 + DE-603 + GND + GND-118622110 + 400 + + + 118622110 + http://d-nb.info/gnd/118622110 + gnd + GND + GND-118622110 + 024 + + + 4031483-2 + http://d-nb.info/gnd/4031483-2 + gnd + GND + GND-040314839 + 024 + + + Keln + GND + GND-040314839 + 451 + + + Keulen + GND + GND-040314839 + 451 + + + Cölln + Köln + GND + GND-040314839 + 451 + + + Groß-Köln + GND + GND-040314839 + 451 + + + Kūlūniyā + GND + GND-040314839 + 451 + + + Kerun + GND + GND-040314839 + 451 + + + Oppidum Ubiorum + GND + GND-040314839 + 451 + + + Ara Ubiorum + GND + GND-040314839 + 451 + + + Colonia Claudia Ara Agrippinensium + v:röm. + GND + GND-040314839 + 451 + + + CCAA + abku + https://d-nb.info/standards/elementset/gnd#abbreviatedNameForThePlaceOrGeographicName + r + Abkuerzung + v:röm. + GND + GND-040314839 + 451 + + + Colonia Agrippina + v:röm. + GND + GND-040314839 + 451 + + + Colonia Agrippinensis + v:röm. + GND + GND-040314839 + 451 + + + Colonia + Köln + GND + GND-040314839 + 451 + + + Colonia Ubiorum + GND + GND-040314839 + 451 + + + Kölln am Rheine + GND + GND-040314839 + 451 + + + Stadt Köln + GND + GND-040314839 + 451 + + + Cöln + GND + GND-040314839 + 451 + + + Cöllen + GND + GND-040314839 + 451 + + + Cologne + GND + GND-040314839 + 451 + + + Colonia ad Rhenum + GND + GND-040314839 + 451 + + + Hansestadt Köln + GND + GND-040314839 + 451 + + + Gross-Köln + GND + GND-040314839 + 451 + + + Colonia Agrippina + GND + GND-040314839 + 451 + + + Colonia Ubiorum + GND + GND-040314839 + 451 + + diff --git a/src/test/resources/alma-fix/99374153235806441.json b/src/test/resources/alma-fix/99374153235806441.json new file mode 100644 index 000000000..70fdcc80c --- /dev/null +++ b/src/test/resources/alma-fix/99374153235806441.json @@ -0,0 +1,207 @@ +{ + "@context" : "http://lobid.org/resources/context.jsonld", + "id" : "http://lobid.org/resources/99374153235806441#!", + "type" : [ "BibliographicResource", "Book" ], + "medium" : [ { + "label" : "Print", + "id" : "http://rdaregistry.info/termList/RDAproductionMethod/1010" + } ], + "title" : "Biologie 10. Klasse", + "almaMmsId" : "99374153235806441", + "hbzId" : "HT030775935", + "deprecatedUri" : "http://lobid.org/resources/HT030775935#!", + "isbn" : [ "9783849017446", "3849017443" ], + "oclcNumber" : [ "1032693502" ], + "stockNumber" : [ "1657001" ], + "otherTitleInformation" : [ "Thüringen" ], + "edition" : [ "1. Auflage" ], + "publication" : [ { + "startDate" : "2088", + "type" : [ "PublicationEvent" ], + "location" : [ "München" ], + "publishedBy" : [ "Stark" ] + } ], + "describedBy" : { + "id" : "http://lobid.org/resources/99374153235806441", + "label" : "Webseite der hbz-Ressource 99374153235806441", + "type" : [ "BibliographicDescription" ], + "inDataset" : { + "id" : "http://lobid.org/resources/dataset#!", + "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" + }, + "resultOf" : { + "type" : [ "CreateAction" ], + "endTime" : "0000-00-00T00:00:00", + "instrument" : { + "id" : "https://github.com/hbz/lobid-resources", + "type" : [ "SoftwareApplication" ], + "label" : "Software lobid-resources" + }, + "object" : { + "id" : "https://lobid.org/marcxml/99374153235806441", + "dateCreated" : "2024-06-24", + "dateModified" : "2024-06-25", + "type" : [ "DataFeedItem" ], + "label" : "hbz-Ressource 99374153235806441 im Exportformat MARC21 XML", + "inDataset" : { + "id" : "https://datahub.io/dataset/hbz_unioncatalog", + "label" : "hbz_unioncatalog" + }, + "sourceOrganization" : { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, + "provider" : { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, + "modifiedBy" : [ { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + } ] + } + }, + "license" : [ { + "id" : "http://creativecommons.org/publicdomain/zero/1.0", + "label" : "Creative Commons-Lizenz CC0 1.0 Universal" + } ] + }, + "sameAs" : [ { + "id" : "https://hub.culturegraph.org/resource/(DE-605)99374153235806441", + "label" : "Culturegraph Ressource" + }, { + "id" : "http://worldcat.org/oclc/1032693502", + "label" : "OCLC Ressource" + } ], + "isPartOf" : [ { + "type" : [ "IsPartOfRelation" ], + "hasSuperordinate" : [ { + "label" : "BLF, Übungsaufgaben mit Lösungen" + } ] + } ], + "inCollection" : [ { + "id" : "https://nrw.digibib.net/search/hbzvk/", + "label" : "DigiBib hbz Verbundkatalog", + "type" : [ "Collection" ] + }, { + "id" : "http://lobid.org/organisations/DE-655#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone", + "type" : [ "Collection" ] + } ], + "language" : [ { + "id" : "http://id.loc.gov/vocabulary/iso639-2/ger", + "label" : "Deutsch" + } ], + "extent" : "IX, 117 Seiten : Illustrationen, Diagramme", + "note" : [ "Hier auch später erschienene, unveränderte Nachdrucke", "Titelzusatz auf dem Buchrücken: Gymnasium Thüringen" ], + "natureOfContent" : [ { + "label" : "Lehrmittel", + "id" : "https://d-nb.info/gnd/4074111-4" + } ], + "subject" : [ { + "type" : [ "ComplexSubject" ], + "label" : "Thüringen | Gymnasium | Schuljahr 10 | Besondere Leistungsfeststellung | Biologieunterricht | Lehrmittel", + "componentList" : [ { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Thüringen", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4059979-6", + "gndIdentifier" : "4059979-6", + "altLabel" : [ "Freistaat Thüringen", "Land Thüringen", "Thuringia", "Thüringer Land", "Großthüringen", "Grossthüringen", "Großgemarkung Thüringen", "Vereinigte Thüringische Staaten" ] + }, { + "type" : [ "SubjectHeading" ], + "label" : "Gymnasium", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4022648-7", + "gndIdentifier" : "4022648-7", + "altLabel" : [ "Schuljahr 5-13", "Gymnasien", "Höhere Mittelschule", "Maturitätsschule", "Lycée", "Grammar school", "Mittelschule (Österreich, Anfänge-1962)", "Oberschule Wissenschaftlicher Zweig" ] + }, { + "type" : [ "SubjectHeading" ], + "label" : "Schuljahr 10", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4053512-5", + "gndIdentifier" : "4053512-5" + }, { + "type" : [ "SubjectHeading" ], + "label" : "Besondere Leistungsfeststellung", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/7539942-8", + "gndIdentifier" : "7539942-8", + "altLabel" : [ "BLF" ] + }, { + "type" : [ "SubjectHeading" ], + "label" : "Biologieunterricht", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4006855-9", + "gndIdentifier" : "4006855-9", + "altLabel" : [ "Biologie / Unterricht", "Biologie / Didaktik", "Biologiedidaktik", "Naturkundeunterricht (Biologieunterricht)" ] + }, { + "type" : [ "SubjectHeading" ], + "label" : "Lehrmittel" + } ] + } ], + "subjectslabels" : [ "Thüringen", "Gymnasium", "Schuljahr 10", "Besondere Leistungsfeststellung", "Biologieunterricht", "Lehrmittel" ], + "hasItem" : [ { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "De 114", + "serialNumber" : "ULB0183694", + "currentLibrary" : "DBIO", + "currentLocation" : "DBIO_BIB", + "heldBy" : { + "isil" : "DE-6-298", + "id" : "http://lobid.org/organisations/DE-6-298#!", + "label" : "Universität Münster, Zentrum für Didaktik der Biologie (ZDB) Bibliothek" + }, + "seeAlso" : [ "https://hbz-ulbms.primo.exlibrisgroup.com/discovery/search?query=any,contains,99374153235806441&tab=Everything&search_scope=MyInst_and_CI&vid=49HBZ_ULM:VU2&offset=0" ], + "inCollection" : [ { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + } ], + "id" : "http://lobid.org/items/99374153235806441:DE-6-298:23684126300006449#!" + } ], + "bibliographicLevel" : { + "label" : "Monograph/Item", + "id" : "https://www.loc.gov/marc/bibliographic/bdleader.html#Monograph_Item" + }, + "responsibilityStatement" : [ "Autoren: Dr. Sabine Hild und Dr. Petra Schmid" ], + "contribution" : [ { + "agent" : { + "label" : "Hild, Sabine", + "type" : [ "Person" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "gndIdentifier" : "123326311", + "id" : "https://d-nb.info/gnd/123326311", + "label" : "Schmidt, Petra", + "type" : [ "Person" ], + "dateOfBirth" : "1967" + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + } ] +} diff --git a/src/test/resources/alma-fix/99374153235806441.xml b/src/test/resources/alma-fix/99374153235806441.xml new file mode 100644 index 000000000..be72330d8 --- /dev/null +++ b/src/test/resources/alma-fix/99374153235806441.xml @@ -0,0 +1,372 @@ + + + 01444nam a2200433 c 4500 + DE-605 + tu + 240624s2088 gw a||| |||| 00||| ger c + 20240624124718.0 + 99374153235806441 + + 1032693502 + (OCoLC) + + + 9783849017446 + 978-3-8490-1744-6 + + + 1657001 + + + (OCoLC)1032693502 + + + (DE-599)BVBBV044913359 + + + (DE-604)BV044913359 + + + DE-6 + ger + DE-6 + DE-6 + rda + + + ger + + + XA-DE-BY + + + Hild, Sabine + aut + + + Biologie 10. Klasse + Thüringen + Autoren: Dr. Sabine Hild und Dr. Petra Schmid + + + 1. Auflage + + + [München] + Stark + 2008 + + + IX, 117 Seiten + Illustrationen, Diagramme + + + txt + + + n + + + nc + + + BLF, Übungsaufgaben mit Lösungen + + + Thüringen + g + (DE-588)4059979-6 + GND-040599795 + + + Gymnasium + s + (DE-588)4022648-7 + GND-040226484 + + + Schuljahr 10 + s + (DE-588)4053512-5 + GND-040535126 + + + Besondere Leistungsfeststellung + s + (DE-588)7539942-8 + GND-980952395 + + + Biologieunterricht + s + (DE-588)4006855-9 + GND-040068552 + + + Lehrmittel + f + + + DE-604 + + + Schmidt, Petra + 1967- + (DE-588)123326311 + aut + https://d-nb.info/gnd/123326311 + http://viaf.org/viaf/13213916 + GND-123326311 + + + Hier auch später erschienene, unveränderte Nachdrucke + + + Titelzusatz auf dem Buchrücken: Gymnasium Thüringen + + + (DE-605)HT030775935 + + + 49HBZ_NETWORK + 99374153235806441 + HBZ Network + + + 49HBZ_ULM + 991045071152406449 + Universität Münster + + + System + B3Kat (BVB + KOBV) NZ + marc21 + 76 + 01 + false + 2024-06-25 04:06:40 Europe/Berlin + 99374153235806441 + 60 + i_vogt01######49HBZ_ULM + 2024-06-24 12:47:18 Europe/Berlin + + + DBIO + DBIO_BIB + De 114 + 22684126350006449 + + + 2024-06-24 10:48:48 + 22684126350006449 + 2024-06-24 10:48:00 + 49HBZ_ULM + false + i_vogt01 + i_vogt01 + + + 22684126350006449 + DBIO_BIB + BOOK + DBIO_BIB + i_vogt01 + 2024-06-24 12:51:00 Europe/Berlin + 2024-06-24 12:51:10 Europe/Berlin + Vorliegende Ausgabe: © 2021 + 49HBZ_ULM + 1 + 8 + i_vogt01 + ULB0183694 + 23684126300006449 + De 114 + 166/24 + 2024-06-24 12:49:18 Europe/Berlin + DBIO + DBIO + + + Biologie + Unterricht + GND + GND-040068552 + 450 + + + Biologie + Didaktik + GND + GND-040068552 + 450 + + + Biologiedidaktik + GND + GND-040068552 + 450 + + + Naturkundeunterricht + Biologieunterricht + GND + GND-040068552 + 450 + + + 4006855-9 + http://d-nb.info/gnd/4006855-9 + gnd + GND + GND-040068552 + 024 + + + BLF + GND + GND-980952395 + 450 + + + http://d-nb.info/gnd/7539942-8 + uri + GND + GND-980952395 + 024 + + + 4053512-5 + http://d-nb.info/gnd/4053512-5 + gnd + GND + GND-040535126 + 024 + + + Schuljahr 5-13 + GND + GND-040226484 + 450 + + + Gymnasien + GND + GND-040226484 + 450 + + + Höhere Mittelschule + GND + GND-040226484 + 450 + + + Maturitätsschule + GND + GND-040226484 + 450 + + + Lycée + GND + GND-040226484 + 450 + + + Grammar school + GND + GND-040226484 + 450 + + + Mittelschule + Österreich, Anfänge-1962 + GND + GND-040226484 + 450 + + + Oberschule Wissenschaftlicher Zweig + GND + GND-040226484 + 450 + + + 4022648-7 + http://d-nb.info/gnd/4022648-7 + gnd + GND + GND-040226484 + 024 + + + 4059979-6 + http://d-nb.info/gnd/4059979-6 + gnd + GND + GND-040599795 + 024 + + + 2822542 + geonames + GND + GND-040599795 + 024 + + + Freistaat Thüringen + GND + GND-040599795 + 451 + + + Land Thüringen + GND + GND-040599795 + 451 + + + Thuringia + GND + GND-040599795 + 451 + + + Thüringer Land + GND + GND-040599795 + 451 + + + Großthüringen + GND + GND-040599795 + 451 + + + Grossthüringen + GND + GND-040599795 + 451 + + + Großgemarkung Thüringen + GND + GND-040599795 + 451 + + + Vereinigte Thüringische Staaten + GND + GND-040599795 + 451 + + + http://d-nb.info/gnd/123326311 + uri + GND + GND-123326311 + 024 + + diff --git a/web/test/tests/IndexIntegrationTest.java b/web/test/tests/IndexIntegrationTest.java index fb364e40b..d7e4ce2cc 100644 --- a/web/test/tests/IndexIntegrationTest.java +++ b/web/test/tests/IndexIntegrationTest.java @@ -56,17 +56,17 @@ public static Collection data() { { "spatial.label:Westfalen", /*->*/ 8 }, { "spatial.label:Westfälen", /*->*/ 8 }, { "subject.componentList.id:1113670827", /*->*/ 0 }, - { "subject.componentList.type:PlaceOrGeographicName", /*->*/ 23 }, + { "subject.componentList.type:PlaceOrGeographicName", /*->*/ 24 }, { "publication.location:Berlin", /*->*/ 16 }, { "subject.notation:914.3", /*->*/ 6 }, { "subject.notation:914", /*->*/ 0 }, { "subject.notation:914*", /*->*/ 6 }, - { "publication.location:Köln", /*->*/ 5 }, - { "publication.location:Koln", /*->*/ 5 }, + { "publication.location:Köln", /*->*/ 6 }, + { "publication.location:Koln", /*->*/ 6 }, { "publication.startDate:1993", /*->*/ 3 }, { "publication.location:Berlin AND publication.startDate:1993", /*->*/ 1 }, { "publication.location:Berlin AND publication.startDate:[1992 TO 2017]", /*->*/ 5 }, - { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 139 }, + { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 140 }, { "inCollection.id:\"https\\://nrw.digibib.net/search/hbzvk/\"", /*->*/ 158 }, { "inCollection.id:NWBib", /*->*/ 0 }, { "publication.publishedBy:Quedenfeldt", /*->*/ 2 }, @@ -93,7 +93,7 @@ public static Collection data() { { "describedBy.resultOf.object.dateCreated:\"2023-03-22\"", /*->*/ 1}, { "describedBy.resultOf.object.dateModified:\"2023-07-30\"", /*->*/ 3}, { "describedBy.resultOf.object.sourceOrganization.id:\"http\\://lobid.org/organisations/DE-5#\\!\"", /*->*/ 5}, - { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 15 }, + { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 16 }, { "\"Reader-friendly\"", /*->*/ 1}, { "\"Reader friendly\"", /*->*/ 1}, // all q tests are related to DigiBib @@ -142,7 +142,7 @@ public static Collection data() { { "contribution.agent.altLabel.digibib_unstemmed:Nemačke", /*->*/ 1 }, { "contribution.agent.altLabel.digibib_unstemmed:Nemack", /*->*/ 0 }, { "exampleOfWork.language.id:\"http\\://id.loc.gov/vocabulary/iso639-2/eng\"", /*->*/ 1 }, - { "hasItem.inCollection.id:\"http://lobid.org/organisations/DE-468#!\"", /*->*/ 24 } + { "hasItem.inCollection.id:\"http://lobid.org/organisations/DE-468#!\"", /*->*/ 25 } }); } // @formatter:on