From cffd74274d59e02739bc1ec36d6cd7cd85f7e170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 23 Jan 2025 10:11:02 +0100 Subject: [PATCH 1/6] Add test 99374868243506441 #2136 --- .../resources/alma-fix/99374868243506441.json | 394 ++++++++++ .../resources/alma-fix/99374868243506441.xml | 720 ++++++++++++++++++ 2 files changed, 1114 insertions(+) create mode 100644 src/test/resources/alma-fix/99374868243506441.json create mode 100644 src/test/resources/alma-fix/99374868243506441.xml diff --git a/src/test/resources/alma-fix/99374868243506441.json b/src/test/resources/alma-fix/99374868243506441.json new file mode 100644 index 000000000..7056c67c5 --- /dev/null +++ b/src/test/resources/alma-fix/99374868243506441.json @@ -0,0 +1,394 @@ +{ + "@context" : "http://lobid.org/resources/context.jsonld", + "id" : "http://lobid.org/resources/99374868243506441#!", + "type" : [ "BibliographicResource", "Map" ], + "medium" : [ { + "label" : "Print", + "id" : "http://rdaregistry.info/termList/RDAproductionMethod/1010" + } ], + "title" : "Mosel, Hunsrück, Eifel & Pfälzerwald", + "almaMmsId" : "99374868243506441", + "hbzId" : "HT030866325", + "deprecatedUri" : "http://lobid.org/resources/HT030866325#!", + "isbn" : [ "9783826423475", "382642347X" ], + "oclcNumber" : [ "1459708359" ], + "dnbId" : "1312088311", + "alternativeTitle" : [ "ADAC Mosel, Hunsrück, Eifel & Pfälzerwald", "Mosel, Hunsrück, Eifel ..." ], + "otherTitleInformation" : [ "Regionalkarte : aus einer anderen Perspektive die Umgebung erleben" ], + "edition" : [ "2. [Auflage], [Laufzeit] 2028" ], + "publication" : [ { + "startDate" : "2024", + "type" : [ "PublicationEvent" ], + "location" : [ "Ostfildern" ], + "publishedBy" : [ "MairDumont GmbH & Co. KG" ] + } ], + "describedBy" : { + "id" : "http://lobid.org/resources/99374868243506441", + "label" : "Webseite der hbz-Ressource 99374868243506441", + "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/99374868243506441", + "dateCreated" : "2024-10-14", + "dateModified" : "2025-01-21", + "type" : [ "DataFeedItem" ], + "label" : "hbz-Ressource 99374868243506441 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)99374868243506441", + "label" : "Culturegraph Ressource" + }, { + "id" : "http://worldcat.org/oclc/1459708359", + "label" : "OCLC Ressource" + }, { + "id" : "https://d-nb.info/1312088311", + "label" : "DNB-Ressource" + }, { + "id" : "http://nwbib.de/99374868243506441#!", + "label" : "NWBib-Ressource" + } ], + "isPartOf" : [ { + "type" : [ "IsPartOfRelation" ], + "numbering" : "11" + } ], + "description" : [ { + "label" : "Inhaltstext", + "id" : "http://deposit.dnb.de/cgi-bin/dokserv?id=7c6192c3b427428789f4e7990f6024ad&prov=M&dok_var=1&dok_ext=htm" + } ], + "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" ] + }, { + "id" : "http://lobid.org/resources/HT014176012#!", + "label" : "Nordrhein-Westfälische Bibliographie (NWBib)", + "type" : [ "Collection" ] + } ], + "predecessor" : [ { + "note" : [ "Vorangegangen ist" ] + } ], + "language" : [ { + "id" : "http://id.loc.gov/vocabulary/iso639-2/ger", + "label" : "Deutsch" + } ], + "extent" : "1 Karte in 3 Teilen : beidseitig ; auf Blatt 68 x 140 cm, gefaltet im Umschlag 25 x 13 cm, 150 g ; 1 Beiheft (39 Seiten)", + "natureOfContent" : [ { + "label" : "Karte", + "id" : "https://d-nb.info/gnd/4029783-4" + } ], + "subject" : [ { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Mainz" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Speyer" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Trier" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Koblenz" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Lorelei" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Kaiserslautern" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Hambacher Schloss" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Hohe Eifel" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Rhein" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Saarbrücken" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Freie Verschlagwortung", + "id" : "https://www.wikidata.org/wiki/Q47524318" + }, + "label" : "Karten, Globen / Reisen/Karten, Stadtpläne, Atlanten/Deutschland" + }, { + "notation" : "910", + "type" : [ "Concept" ], + "source" : { + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" + }, + "label" : "Geografie, Reisen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geografie & Reisen", + "notation" : "910", + "version" : "sdnb" + }, { + "notation" : "914.3", + "type" : [ "Concept" ], + "source" : { + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" + }, + "label" : "Geografie, Reisen (Deutschland)" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geografie Mitteleuropas und Reisen in Mitteleuropa", + "notation" : "914.3", + "version" : "sdnb" + }, { + "id" : "https://nwbib.de/subjects#N126000", + "label" : "Karten", + "notation" : "126000", + "type" : [ "Concept" ], + "source" : { + "id" : "https://nwbib.de/subjects", + "label" : "Sachsystematik der Nordrhein-Westfälischen Bibliographie" + } + }, { + "type" : [ "ComplexSubject" ], + "label" : "Hunsrück | Eifel | Pfälzerwald | Koblenz | Wiesbaden | Trier | Saarbrücken | Karlsruhe | Straße", + "componentList" : [ { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Hunsrück", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4026217-0", + "gndIdentifier" : "4026217-0" + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Eifel", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4013749-1", + "gndIdentifier" : "4013749-1" + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Pfälzerwald", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4045428-9", + "gndIdentifier" : "4045428-9", + "altLabel" : [ "Pfälzer Wald" ] + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Koblenz", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4031410-8", + "gndIdentifier" : "4031410-8", + "altLabel" : [ "City of Koblenz", "Confluentes", "Coblenz", "Coblence", "Stadt Koblenz", "Coblentz", "Confluentia" ] + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Wiesbaden", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4066043-6", + "gndIdentifier" : "4066043-6", + "altLabel" : [ "Stadt Wiesbaden", "Landeshauptstadt Wiesbaden", "Aquae Mattiacorum", "Wisibada" ] + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Trier", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4060877-3", + "gndIdentifier" : "4060877-3", + "altLabel" : [ "Augusta Treverorum", "Augusta Treuerorum", "Treveri", "Treveris", "Trèves", "Tréveris", "Treviri", "Tréier", "Trewir", "Augusta Trevirorum", "Treviris" ] + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Saarbrücken", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4076912-4", + "gndIdentifier" : "4076912-4", + "altLabel" : [ "Sarrebruck", "Kommune Saarbrücken", "Saarbruchen", "LHS Saarbrücken", "Stadtgemeinde Saarbrücken", "Landeshauptstadt Saarbrücken", "Stadt Saarbrücken", "Sabrigge", "Sarburgo", "Sarbruque" ] + }, { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Karlsruhe", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4029713-5", + "gndIdentifier" : "4029713-5", + "altLabel" : [ "Karlsrūe", "KA", "Carlsruhe", "Stadt Karlsruhe", "Residenzstadt Karlsruhe", "Landeshauptstadt Karlsruhe" ] + }, { + "type" : [ "SubjectHeading" ], + "label" : "Straße", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4057883-5", + "gndIdentifier" : "4057883-5", + "altLabel" : [ "Straßen" ] + } ] + } ], + "spatial" : [ { + "id" : "https://nwbib.de/spatial#N28", + "label" : "Eifel", + "notation" : "28", + "type" : [ "Concept" ], + "source" : { + "id" : "https://nwbib.de/spatial", + "label" : "Raumsystematik der Nordrhein-Westfälischen Bibliographie" + }, + "focus" : { + "id" : "http://www.wikidata.org/entity/Q152356", + "label" : "Eifel", + "type" : [ "http://www.wikidata.org/entity/Q46831", "http://www.wikidata.org/entity/Q674541", "http://www.wikidata.org/entity/Q82794" ], + "geo" : { + "lat" : "50.25", + "lon" : "6.66667" + } + } + } ], + "subjectslabels" : [ "Mainz", "Speyer", "Trier", "Koblenz", "Lorelei", "Kaiserslautern", "Hambacher Schloss", "Hohe Eifel", "Rhein", "Saarbrücken", "Karten, Globen / Reisen/Karten, Stadtpläne, Atlanten/Deutschland", "Hunsrück", "Eifel", "Pfälzerwald", "Wiesbaden", "Karlsruhe", "Straße" ], + "bibliographicLevel" : { + "label" : "Monograph/Item", + "id" : "https://www.loc.gov/marc/bibliographic/bdleader.html#Monograph_Item" + }, + "responsibilityStatement" : [ "Kartographie: © KOMPASS-Karten GmbH ; unter Verwendung von Kartendaten: © MairDumont" ], + "contribution" : [ { + "agent" : { + "gndIdentifier" : "1065096801", + "id" : "https://d-nb.info/gnd/1065096801", + "label" : "Mairdumont GmbH & Co. KG", + "type" : [ "CorporateBody" ], + "altLabel" : [ "Mairdumont, Falk (Firma)", "MairDumont (Firma)", "Mair Dumont (Firma)" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/ctg", + "label" : "Kartografie" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "gndIdentifier" : "1049678648", + "id" : "https://d-nb.info/gnd/1049678648", + "label" : "KOMPASS-Karten GmbH", + "type" : [ "CorporateBody" ], + "altLabel" : [ "MairDumont. KOMPASS-Karten" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/ctg", + "label" : "Kartografie" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "gndIdentifier" : "1065096801", + "id" : "https://d-nb.info/gnd/1065096801", + "label" : "Mairdumont GmbH & Co. KG", + "type" : [ "CorporateBody" ], + "altLabel" : [ "Mairdumont, Falk (Firma)", "MairDumont (Firma)", "Mair Dumont (Firma)" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/pbl", + "label" : "Verlag" + }, + "type" : [ "Contribution" ] + } ] +} diff --git a/src/test/resources/alma-fix/99374868243506441.xml b/src/test/resources/alma-fix/99374868243506441.xml new file mode 100644 index 000000000..8db9994b4 --- /dev/null +++ b/src/test/resources/alma-fix/99374868243506441.xml @@ -0,0 +1,720 @@ + + + 03131pem a2200793 cb4500 + DE-605 + 20250121115320.0 + a||||||| + 241014s2024 gw |||||||a|| ||||ger c + 99374868243506441 + + 24,C03 + 23,N50 + dnb + + + 1312088311 + DE-101 + + + 1459708359 + (OCoLC) + + + 9783826423475 + keine Bindung : EUR 11.95 (DE), EUR 12.95 (AT), CHF 17.90 (freier Preis) + 978-3-8264-2347-5 + + + 382642347X + 3-8264-2347-X + + + 9783826423475 + + + a + E 006 10 00 + E 008 50 00 + N 050 30 00 + N 049 00 00 + A:agx + + + a + E006.166666 + E008.833333 + N050.500000 + N049.000000 + A:dgx + + + (DE-605)HT030866325 + + + DE-6 + ger + DE-6 + DE-6 + rda + + + ger + mul + + + XA-DE-BW + + + 910 + 914.3 + sdnb + + + Eifel + https://nwbib.de/spatial#N28 + nwbib + + + Karten + https://nwbib.de/subjects#N126000 + nwbib + + + Mairdumont GmbH & Co. KG + (DE-588)1065096801 + ctg + https://d-nb.info/gnd/1065096801 + http://viaf.org/viaf/155195168 + GND-1065096801 + + + Mosel, Hunsrück, Eifel & Pfälzerwald + Regionalkarte : aus einer anderen Perspektive die Umgebung erleben + Kartographie: © KOMPASS-Karten GmbH ; unter Verwendung von Kartendaten: © MairDumont + + + Abweichender Titel auf dem Umschlag + ADAC Mosel, Hunsrück, Eifel & Pfälzerwald + + + Abweichender Titel auf dem Rücken + Mosel, Hunsrück, Eifel ... + + + 2. [Auflage], [Laufzeit] 2028 + + + 1:150 000 + + + 12 + + + Ostfildern + MairDumont GmbH & Co. KG + [2024] + + + 1 Karte in 3 Teilen + beidseitig + auf Blatt 68 x 140 cm, gefaltet im Umschlag 25 x 13 cm, 150 g + 1 Beiheft (39 Seiten) + + + cri + + + n + + + nb + + + ADAC Regionalkarte + 11 + + + Hunsrück + g + (DE-588)4026217-0 + GND-040262170 + + + Eifel + g + (DE-588)4013749-1 + GND-04013749X + + + Pfälzerwald + g + (DE-588)4045428-9 + GND-040454282 + + + Koblenz + g + (DE-588)4031410-8 + GND-040314103 + + + Wiesbaden + g + (DE-588)4066043-6 + GND-040660435 + + + Trier + g + (DE-588)4060877-3 + GND-040608778 + + + Saarbrücken + g + (DE-588)4076912-4 + GND-040769127 + + + Karlsruhe + g + (DE-588)4029713-5 + GND-040297136 + + + Straße + s + (DE-588)4057883-5 + GND-040578836 + + + DE-101 + + + (DE-599)DNB1312088311 + + + (OCoLC)1459708359 + + + (DE-101)1312088311 + + + NWBib-6 + + + 11 + O:1 + + + X:MVB + text/html + http://deposit.dnb.de/cgi-bin/dokserv?id=7c6192c3b427428789f4e7990f6024ad&prov=M&dok_var=1&dok_ext=htm + Inhaltstext + + + KOMPASS-Karten GmbH + (DE-588)1049678648 + ctg + https://d-nb.info/gnd/1049678648 + http://viaf.org/viaf/123369976 + GND-1049678648 + + + Mairdumont GmbH & Co. KG + (DE-588)1065096801 + pbl + https://d-nb.info/gnd/1065096801 + http://viaf.org/viaf/155195168 + GND-1065096801 + + + Vorangegangen ist + 9783826414145 + + + Mainz + + + Speyer + + + Trier + + + Koblenz + + + Lorelei + + + Kaiserslautern + + + Hambacher Schloss + + + Hohe Eifel + + + Rhein + + + Saarbrücken + + + Karten, Globen / Reisen/Karten, Stadtpläne, Atlanten/Deutschland + + + Karte + (DE-588)4029783-4 + gnd-content + + + 49HBZ_NETWORK + 99374868243506441 + HBZ Network + + + skuhn_01######49HBZ_ULM + DNB NZ + marc21 + 83 + 01 + false + 2025-01-21 11:53:20 Europe/Berlin + 99374868243506441 + 60 + skuhn_01######49HBZ_ULM + 2024-10-14 10:57:51 Europe/Berlin + + + Mairdumont, Falk + Firma + GND + GND-1065096801 + 410 + + + MairDumont + Firma + GND + GND-1065096801 + 410 + + + Mair Dumont + Firma + GND + GND-1065096801 + 410 + + + 1065096801 + http://d-nb.info/gnd/1065096801 + gnd + GND + GND-1065096801 + 024 + + + Mairdumont, Falk + Firma + GND + GND-1065096801 + 410 + + + MairDumont + Firma + GND + GND-1065096801 + 410 + + + Mair Dumont + Firma + GND + GND-1065096801 + 410 + + + 1065096801 + http://d-nb.info/gnd/1065096801 + gnd + GND + GND-1065096801 + 024 + + + MairDumont + KOMPASS-Karten + GND + GND-1049678648 + 410 + + + 1049678648 + http://d-nb.info/gnd/1049678648 + gnd + GND + GND-1049678648 + 024 + + + Straßen + GND + GND-040578836 + 450 + + + 4057883-5 + http://d-nb.info/gnd/4057883-5 + gnd + GND + GND-040578836 + 024 + + + 4029713-5 + http://d-nb.info/gnd/4029713-5 + gnd + GND + GND-040297136 + 024 + + + 2892794 + geonames + GND + GND-040297136 + 024 + + + Karlsrūe + GND + GND-040297136 + 451 + + + KA + abku + Abkuerzung + GND + GND-040297136 + 451 + + + Carlsruhe + GND + GND-040297136 + 451 + + + Stadt Karlsruhe + GND + GND-040297136 + 451 + + + Residenzstadt Karlsruhe + GND + GND-040297136 + 451 + + + Landeshauptstadt Karlsruhe + GND + GND-040297136 + 451 + + + 4076912-4 + http://d-nb.info/gnd/4076912-4 + gnd + GND + GND-040769127 + 024 + + + 2842647 + geonames + GND + GND-040769127 + 024 + + + Sarrebruck + GND + GND-040769127 + 451 + + + Kommune Saarbrücken + GND + GND-040769127 + 451 + + + Saarbruchen + GND + GND-040769127 + 451 + + + LHS Saarbrücken + GND + GND-040769127 + 451 + + + Stadtgemeinde Saarbrücken + GND + GND-040769127 + 451 + + + Landeshauptstadt Saarbrücken + GND + GND-040769127 + 451 + + + Stadt Saarbrücken + GND + GND-040769127 + 451 + + + Sabrigge + GND + GND-040769127 + 451 + + + Sarburgo + GND + GND-040769127 + 451 + + + Sarbruque + GND + GND-040769127 + 451 + + + 4060877-3 + http://d-nb.info/gnd/4060877-3 + gnd + GND + GND-040608778 + 024 + + + 2821164 + geonames + GND + GND-040608778 + 024 + + + Augusta Treverorum + v:röm. + GND + GND-040608778 + 451 + + + Augusta Treuerorum + GND + GND-040608778 + 451 + + + Treveri + v:röm. + GND + GND-040608778 + 451 + + + Treveris + v:3. Jh. + GND + GND-040608778 + 451 + + + Trèves + v:1798-1815 + v:Larousse + GND + GND-040608778 + 451 + + + Tréveris + GND + GND-040608778 + 451 + + + Treviri + GND + GND-040608778 + 451 + + + Tréier + GND + GND-040608778 + 451 + + + Trewir + GND + GND-040608778 + 451 + + + Augusta Trevirorum + GND + GND-040608778 + 451 + + + Treviris + GND + GND-040608778 + 451 + + + 4066043-6 + http://d-nb.info/gnd/4066043-6 + gnd + GND + GND-040660435 + 024 + + + 2809346 + geonames + GND + GND-040660435 + 024 + + + Stadt Wiesbaden + GND + GND-040660435 + 451 + + + Landeshauptstadt Wiesbaden + GND + GND-040660435 + 451 + + + Aquae Mattiacorum + GND + GND-040660435 + 451 + + + Wisibada + GND + GND-040660435 + 451 + + + 4031410-8 + http://d-nb.info/gnd/4031410-8 + gnd + GND + GND-040314103 + 024 + + + 2886946 + geonames + GND + GND-040314103 + 024 + + + City of Koblenz + GND + GND-040314103 + 451 + + + Confluentes + v:röm. + GND + GND-040314103 + 451 + + + Coblenz + v:Schreibweise -1926 + GND + GND-040314103 + 451 + + + Coblence + GND + GND-040314103 + 451 + + + Stadt Koblenz + GND + GND-040314103 + 451 + + + Coblentz + GND + GND-040314103 + 451 + + + Confluentia + GND + GND-040314103 + 451 + + + 4045428-9 + http://d-nb.info/gnd/4045428-9 + gnd + GND + GND-040454282 + 024 + + + Pfälzer Wald + GND + GND-040454282 + 451 + + + 4013749-1 + http://d-nb.info/gnd/4013749-1 + gnd + GND + GND-04013749X + 024 + + + 4026217-0 + http://d-nb.info/gnd/4026217-0 + gnd + GND + GND-040262170 + 024 + + From f2f0f591ee9326c9997457c594d79393c03dd20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 23 Jan 2025 10:49:04 +0100 Subject: [PATCH 2/6] Set hasSuperordinate for isPartOf as required #2136 --- src/test/resources/schemas/isPartOf.json | 67 +++++++++++++----------- 1 file changed, 35 insertions(+), 32 deletions(-) diff --git a/src/test/resources/schemas/isPartOf.json b/src/test/resources/schemas/isPartOf.json index e6fa0d52f..50963f863 100644 --- a/src/test/resources/schemas/isPartOf.json +++ b/src/test/resources/schemas/isPartOf.json @@ -1,37 +1,40 @@ { - "$id": "isPartOf.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Is part of", - "description": "The isPartOf relation", - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "array", - "items": { - "type": "string", - "const": "IsPartOfRelation" - } - }, - "numbering": { - "type": "string" + "$id": "isPartOf.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Is part of", + "description": "The isPartOf relation", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "array", + "items": { + "type": "string", + "const": "IsPartOfRelation" + } + }, + "numbering": { + "type": "string" + }, + "hasSuperordinate": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uri" }, - "hasSuperordinate": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uri" - }, - "label": { - "type": "string" - } - } - } + "label": { + "type": "string" } + } } - } + } + }, + "required": [ + "hasSuperordinate" + ] + } } From 4941b8864d9d2f125e29e7da4aa4f818ec951521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 23 Jan 2025 12:42:28 +0100 Subject: [PATCH 3/6] Adjust isPartOfTransformation order #2136 --- .../resources/alma/fix/relatedRessourcesAndLinks.fix | 11 +++++++---- src/test/resources/alma-fix/990011470300206441.json | 4 ++-- src/test/resources/alma-fix/990051552280206441.json | 8 ++++---- src/test/resources/alma-fix/990058434730206441.json | 4 ++-- src/test/resources/alma-fix/990058567920206441.json | 4 ++-- src/test/resources/alma-fix/990059571560206441.json | 4 ++-- src/test/resources/alma-fix/990063549080206441.json | 4 ++-- src/test/resources/alma-fix/990065341720206441.json | 4 ++-- src/test/resources/alma-fix/990075429930206441.json | 4 ++-- src/test/resources/alma-fix/990075538650206441.json | 4 ++-- src/test/resources/alma-fix/990109712970206441.json | 4 ++-- src/test/resources/alma-fix/990110509950206441.json | 8 ++++---- src/test/resources/alma-fix/990114098170206441.json | 4 ++-- src/test/resources/alma-fix/990114617880206441.json | 4 ++-- src/test/resources/alma-fix/990118562160206441.json | 4 ++-- src/test/resources/alma-fix/990123613330206441.json | 4 ++-- src/test/resources/alma-fix/990124590390206441.json | 4 ++-- src/test/resources/alma-fix/990141342350206441.json | 4 ++-- src/test/resources/alma-fix/990143325070206441.json | 4 ++-- src/test/resources/alma-fix/990150856900206441.json | 4 ++-- src/test/resources/alma-fix/990156060190206441.json | 4 ++-- src/test/resources/alma-fix/990173811970206441.json | 4 ++-- src/test/resources/alma-fix/990181275760206441.json | 4 ++-- src/test/resources/alma-fix/990182814750206441.json | 8 ++++---- src/test/resources/alma-fix/990189160110206441.json | 4 ++-- src/test/resources/alma-fix/990194668760206441.json | 4 ++-- src/test/resources/alma-fix/990194744870206441.json | 4 ++-- src/test/resources/alma-fix/990197293880206441.json | 4 ++-- src/test/resources/alma-fix/990202474680206441.json | 4 ++-- src/test/resources/alma-fix/990207668220206441.json | 4 ++-- src/test/resources/alma-fix/990207856340206441.json | 8 ++++---- src/test/resources/alma-fix/990210667610206441.json | 4 ++-- src/test/resources/alma-fix/990210781980206441.json | 4 ++-- src/test/resources/alma-fix/990217478660206441.json | 4 ++-- src/test/resources/alma-fix/990218189790206441.json | 4 ++-- src/test/resources/alma-fix/990220027540206441.json | 4 ++-- src/test/resources/alma-fix/990223521400206441.json | 8 ++++---- src/test/resources/alma-fix/990225056670206441.json | 4 ++-- src/test/resources/alma-fix/990226465800206441.json | 4 ++-- src/test/resources/alma-fix/990365842280206441.json | 4 ++-- src/test/resources/alma-fix/990367761810206441.json | 4 ++-- src/test/resources/alma-fix/991002103529706485.json | 4 ++-- src/test/resources/alma-fix/99370738710506441.json | 4 ++-- src/test/resources/alma-fix/99370746459806441.json | 4 ++-- src/test/resources/alma-fix/99370763433806441.json | 4 ++-- src/test/resources/alma-fix/99370763882706441.json | 4 ++-- src/test/resources/alma-fix/99370782520706441.json | 8 ++++---- src/test/resources/alma-fix/99371050452706441.json | 8 ++++---- src/test/resources/alma-fix/99371123630706441.json | 4 ++-- src/test/resources/alma-fix/99371426239306441.json | 4 ++-- src/test/resources/alma-fix/99371447897606441.json | 4 ++-- src/test/resources/alma-fix/99371463467006441.json | 4 ++-- src/test/resources/alma-fix/99371530278506441.json | 8 ++++---- src/test/resources/alma-fix/99371964653806441.json | 4 ++-- src/test/resources/alma-fix/99372680948006441.json | 8 ++++---- src/test/resources/alma-fix/99373737680006441.json | 4 ++-- src/test/resources/alma-fix/99374153235806441.json | 4 ++-- src/test/resources/alma-fix/99374868243506441.json | 4 ++-- 58 files changed, 139 insertions(+), 136 deletions(-) diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index 1ee162528..1145ff3cc 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -86,7 +86,7 @@ unless any_match("leader", "^.{7}[ad].*") do list(path: "773??", "var": "$i") unless any_equal("$i.9","LOCAL") do list(path: "$i.w", "var": "$j") - add_array("isPartOf[].$append.type[]", "IsPartOfRelation") + add_hash("isPartOf[].$append") add_array("isPartOf[].$last.hasSuperordinate[]") add_hash( "isPartOf[].$last.hasSuperordinate[].$append") if all_match("$j", "^\\((?:DE-600|DE-605)\\)(.*)$") @@ -108,7 +108,7 @@ end # 490 with 1. Indicator 1 has an identical entry in 830. So only 490 with 1. Indicator 0 do list(path: "4900?", "var": "$i") - add_array("isPartOf[].$append.type[]", "IsPartOfRelation") + add_hash("isPartOf[].$append") add_array("isPartOf[].$last.hasSuperordinate[]") add_hash( "isPartOf[].$last.hasSuperordinate[].$append") add_array("isPartOf[].$last.hasSuperordinate[].$last.label") @@ -130,7 +130,7 @@ end # Element can be repeatable with local entries they have subfield $M. do list(path: "830??", "var": "$i") - add_array("isPartOf[].$append.type[]", "IsPartOfRelation") + add_hash("isPartOf[].$append") add_array("isPartOf[].$last.hasSuperordinate[]") add_hash( "isPartOf[].$last.hasSuperordinate[].$append") if all_match("$i.w", "^\\((?:DE-600|DE-605)\\)(.*)$") @@ -164,7 +164,7 @@ if any_match("leader", "^.{7}[ad].*") do list(path: "773??", "var": "$i") unless any_equal("$i.9","LOCAL") do list(path: "$i.w", "var": "$j") - add_array("isPartOf[].$append.type[]", "IsPartOfRelation") + add_hash("isPartOf[].$append") add_array("isPartOf[].$last.hasSuperordinate[]") add_hash( "isPartOf[].$last.hasSuperordinate[].$append") if all_match("$j", "^\\((?:DE-600|DE-605)\\)(.*)$") @@ -205,8 +205,11 @@ replace_all("isPartOf[].*.numbering", "^[©]|\\s?[,.:;/=]?$", "") do list(path:"isPartOf[]","var":"$i") call_macro("lobidResourcesFallbackLabel",field:"$i.hasSuperordinate[]") end +add_array("isPartOf[].*.type[]", "IsPartOfRelation") uniq("isPartOf[]") + + replace_all("containedIn[].*.id", "^\\(DE-605\\)(.*)$", "http://lobid.org/resources/$1#!") replace_all("containedIn[].*.id", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/ZDB-$1#!") replace_all("containedIn[].*.label","<<|>>","") diff --git a/src/test/resources/alma-fix/990011470300206441.json b/src/test/resources/alma-fix/990011470300206441.json index 59f8a5cf6..cf6df6ba4 100644 --- a/src/test/resources/alma-fix/990011470300206441.json +++ b/src/test/resources/alma-fix/990011470300206441.json @@ -64,10 +64,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "SUNY series in political theory" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990051552280206441.json b/src/test/resources/alma-fix/990051552280206441.json index e8dd10f17..095e0d388 100644 --- a/src/test/resources/alma-fix/990051552280206441.json +++ b/src/test/resources/alma-fix/990051552280206441.json @@ -67,15 +67,15 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Les films du losange" - } ] + } ], + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Collection libre échange" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990058434730206441.json b/src/test/resources/alma-fix/990058434730206441.json index b47fbd382..e72642d19 100644 --- a/src/test/resources/alma-fix/990058434730206441.json +++ b/src/test/resources/alma-fix/990058434730206441.json @@ -75,12 +75,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT001247609#!", "label" : "Studia Judaica" } ], - "numbering" : "4" + "numbering" : "4", + "type" : [ "IsPartOfRelation" ] } ], "tableOfContents" : [ { "label" : "Inhaltsverzeichnis", diff --git a/src/test/resources/alma-fix/990058567920206441.json b/src/test/resources/alma-fix/990058567920206441.json index 23d935d01..ddaf61b63 100644 --- a/src/test/resources/alma-fix/990058567920206441.json +++ b/src/test/resources/alma-fix/990058567920206441.json @@ -75,12 +75,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT001237175#!", "label" : "Wege der Forschung" } ], - "numbering" : "239" + "numbering" : "239", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990059571560206441.json b/src/test/resources/alma-fix/990059571560206441.json index ba0d0c652..cccb3492b 100644 --- a/src/test/resources/alma-fix/990059571560206441.json +++ b/src/test/resources/alma-fix/990059571560206441.json @@ -75,12 +75,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT002156469#!", "label" : "DIN-Taschenbuch" } ], - "numbering" : "29" + "numbering" : "29", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990063549080206441.json b/src/test/resources/alma-fix/990063549080206441.json index 38512e68e..f745e475e 100644 --- a/src/test/resources/alma-fix/990063549080206441.json +++ b/src/test/resources/alma-fix/990063549080206441.json @@ -72,12 +72,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-328-1#!", "label" : "The annals of the American Academy of Political and Social Science" } ], - "numbering" : "509" + "numbering" : "509", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990065341720206441.json b/src/test/resources/alma-fix/990065341720206441.json index dd2977145..13b858aff 100644 --- a/src/test/resources/alma-fix/990065341720206441.json +++ b/src/test/resources/alma-fix/990065341720206441.json @@ -71,12 +71,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-208844-7#!", "label" : "Netherlands journal of zoology" } ], - "numbering" : "42,2,3" + "numbering" : "42,2,3", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990075429930206441.json b/src/test/resources/alma-fix/990075429930206441.json index 1271e6cc9..a5376a4fb 100644 --- a/src/test/resources/alma-fix/990075429930206441.json +++ b/src/test/resources/alma-fix/990075429930206441.json @@ -66,12 +66,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT003004165#!", "label" : "Sitzungsberichte der Bayerischen Akademie der Wissenschaften, Philosophisch-Historische Abteilung" } ], - "numbering" : "1934,4" + "numbering" : "1934,4", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990075538650206441.json b/src/test/resources/alma-fix/990075538650206441.json index b7b1fbdcb..915f69e92 100644 --- a/src/test/resources/alma-fix/990075538650206441.json +++ b/src/test/resources/alma-fix/990075538650206441.json @@ -63,12 +63,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT003184101#!", "label" : "Sports injury management" } ], - "numbering" : "1,2" + "numbering" : "1,2", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index a021f637a..7f1cef602 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -93,10 +93,10 @@ "label" : "NWBib-Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Veröffentlichungen des Beethoven-Hauses Bonn : Reihe 5" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990110509950206441.json b/src/test/resources/alma-fix/990110509950206441.json index 45785a121..e362421e8 100644 --- a/src/test/resources/alma-fix/990110509950206441.json +++ b/src/test/resources/alma-fix/990110509950206441.json @@ -67,17 +67,17 @@ "label" : "NWBib-Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Euro cart : Euro-Regionalkarte" - } ] + } ], + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/BT000100437#!", "label" : "Deutschland" } ], - "numbering" : "2" + "numbering" : "2", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990114098170206441.json b/src/test/resources/alma-fix/990114098170206441.json index bad3c9467..38e1bb561 100644 --- a/src/test/resources/alma-fix/990114098170206441.json +++ b/src/test/resources/alma-fix/990114098170206441.json @@ -68,10 +68,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Oxford India paperbacks" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990114617880206441.json b/src/test/resources/alma-fix/990114617880206441.json index a8881d5f3..f9e11a327 100644 --- a/src/test/resources/alma-fix/990114617880206441.json +++ b/src/test/resources/alma-fix/990114617880206441.json @@ -68,13 +68,13 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-1118317-2#!", "label" : "Programm der Realschule zu Rostock" } ], "numbering" : "1", - "note" : [ "Enthalten in" ] + "note" : [ "Enthalten in" ], + "type" : [ "IsPartOfRelation" ] } ], "secondaryForm" : [ { "id" : "http://lobid.org/resources/CT003055819#!", diff --git a/src/test/resources/alma-fix/990118562160206441.json b/src/test/resources/alma-fix/990118562160206441.json index 6fd0c11e5..932acae9b 100644 --- a/src/test/resources/alma-fix/990118562160206441.json +++ b/src/test/resources/alma-fix/990118562160206441.json @@ -76,12 +76,12 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-795799-3#!", "label" : "Die Rechtsprechung des Bundesverfassungsgerichts im Jahre ..." } ], - "numbering" : "2001" + "numbering" : "2001", + "type" : [ "IsPartOfRelation" ] } ], "primaryForm" : [ { "id" : "http://lobid.org/resources/HT013365271#!", diff --git a/src/test/resources/alma-fix/990123613330206441.json b/src/test/resources/alma-fix/990123613330206441.json index fe2d52acb..a3b6244cb 100644 --- a/src/test/resources/alma-fix/990123613330206441.json +++ b/src/test/resources/alma-fix/990123613330206441.json @@ -70,12 +70,12 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/TT000034241#!", "label" : "Die Sonnenblume [Medienkombination]" } ], - "numbering" : "Tonkassette" + "numbering" : "Tonkassette", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990124590390206441.json b/src/test/resources/alma-fix/990124590390206441.json index 258c4abe3..05c80210d 100644 --- a/src/test/resources/alma-fix/990124590390206441.json +++ b/src/test/resources/alma-fix/990124590390206441.json @@ -69,12 +69,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT013911051#!", "label" : "Eutropia-CD" } ], - "numbering" : "5" + "numbering" : "5", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990141342350206441.json b/src/test/resources/alma-fix/990141342350206441.json index f86562caf..29ac987e2 100644 --- a/src/test/resources/alma-fix/990141342350206441.json +++ b/src/test/resources/alma-fix/990141342350206441.json @@ -73,12 +73,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/TT001197763#!", "label" : "[Bibliotheca Palatina" } ], - "numbering" : "F,2001,1" + "numbering" : "F,2001,1", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990143325070206441.json b/src/test/resources/alma-fix/990143325070206441.json index 1cb323d19..63a79ca48 100644 --- a/src/test/resources/alma-fix/990143325070206441.json +++ b/src/test/resources/alma-fix/990143325070206441.json @@ -75,10 +75,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Royal Asiatic Society books" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990150856900206441.json b/src/test/resources/alma-fix/990150856900206441.json index d1a5cd646..918df4ece 100644 --- a/src/test/resources/alma-fix/990150856900206441.json +++ b/src/test/resources/alma-fix/990150856900206441.json @@ -67,12 +67,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT001375579#!", "label" : "Apollinaris von Laodicea und seine Schule" } ], - "numbering" : "1" + "numbering" : "1", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990156060190206441.json b/src/test/resources/alma-fix/990156060190206441.json index 987602779..161c2f5f2 100644 --- a/src/test/resources/alma-fix/990156060190206441.json +++ b/src/test/resources/alma-fix/990156060190206441.json @@ -75,12 +75,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT012827392#!", "label" : "BIT online : Innovativ" } ], - "numbering" : "13" + "numbering" : "13", + "type" : [ "IsPartOfRelation" ] } ], "tableOfContents" : [ { "label" : "Inhaltsverzeichnis", diff --git a/src/test/resources/alma-fix/990173811970206441.json b/src/test/resources/alma-fix/990173811970206441.json index 53e2ee872..5b276efc8 100644 --- a/src/test/resources/alma-fix/990173811970206441.json +++ b/src/test/resources/alma-fix/990173811970206441.json @@ -69,12 +69,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT013370531#!", "label" : "Buchners Kollege Themen Geschichte" } ], - "numbering" : "Vontei" + "numbering" : "Vontei", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990181275760206441.json b/src/test/resources/alma-fix/990181275760206441.json index 22d1eae2a..3e06cb194 100644 --- a/src/test/resources/alma-fix/990181275760206441.json +++ b/src/test/resources/alma-fix/990181275760206441.json @@ -65,12 +65,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT006855611#!", "label" : "Das gelbe Rechenbuch" } ], - "numbering" : "1" + "numbering" : "1", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990182814750206441.json b/src/test/resources/alma-fix/990182814750206441.json index 216ff17a5..7ffac41bb 100644 --- a/src/test/resources/alma-fix/990182814750206441.json +++ b/src/test/resources/alma-fix/990182814750206441.json @@ -105,19 +105,19 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT015822529#!", "label" : "Gentōsha bunko" } ], - "numbering" : "Yo-2-5" + "numbering" : "Yo-2-5", + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT014217870#!", "label" : "Sekai no tabi" } ], - "numbering" : "2" + "numbering" : "2", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990189160110206441.json b/src/test/resources/alma-fix/990189160110206441.json index 2bffd1f76..f00557bda 100644 --- a/src/test/resources/alma-fix/990189160110206441.json +++ b/src/test/resources/alma-fix/990189160110206441.json @@ -68,12 +68,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT004999851#!", "label" : "Sportforum" } ], - "numbering" : "28" + "numbering" : "28", + "type" : [ "IsPartOfRelation" ] } ], "tableOfContents" : [ { "label" : "Inhaltsverzeichnis", diff --git a/src/test/resources/alma-fix/990194668760206441.json b/src/test/resources/alma-fix/990194668760206441.json index d088087b2..4e6bd1580 100644 --- a/src/test/resources/alma-fix/990194668760206441.json +++ b/src/test/resources/alma-fix/990194668760206441.json @@ -67,12 +67,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT000765110#!", "label" : "Einzelbilder vom Niederrhein" } ], - "numbering" : "501" + "numbering" : "501", + "type" : [ "IsPartOfRelation" ] } ], "secondaryForm" : [ { "id" : "http://lobid.org/resources/CT003043468#!", diff --git a/src/test/resources/alma-fix/990194744870206441.json b/src/test/resources/alma-fix/990194744870206441.json index 44da4864b..938228685 100644 --- a/src/test/resources/alma-fix/990194744870206441.json +++ b/src/test/resources/alma-fix/990194744870206441.json @@ -62,10 +62,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Die Grundschulzeitschrift" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990197293880206441.json b/src/test/resources/alma-fix/990197293880206441.json index 8ad09ac5c..26a77efdd 100644 --- a/src/test/resources/alma-fix/990197293880206441.json +++ b/src/test/resources/alma-fix/990197293880206441.json @@ -83,10 +83,10 @@ "label" : "DOI-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Xpert.press" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "id" : "https://doi.org/10.1007/978-3-642-32079-8", diff --git a/src/test/resources/alma-fix/990202474680206441.json b/src/test/resources/alma-fix/990202474680206441.json index 7da0d4e7e..6ddb49830 100644 --- a/src/test/resources/alma-fix/990202474680206441.json +++ b/src/test/resources/alma-fix/990202474680206441.json @@ -94,12 +94,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT017844601#!", "label" : "Obara Kuniyoshi senshū" } ], - "numbering" : "3" + "numbering" : "3", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990207668220206441.json b/src/test/resources/alma-fix/990207668220206441.json index 4bbf24ff4..2fcbf9500 100644 --- a/src/test/resources/alma-fix/990207668220206441.json +++ b/src/test/resources/alma-fix/990207668220206441.json @@ -66,12 +66,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT001245500#!", "label" : "Stuttgarter Berichte zur Siedlungswasserwirtschaft" } ], - "numbering" : "3" + "numbering" : "3", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990207856340206441.json b/src/test/resources/alma-fix/990207856340206441.json index b372c629a..7f051a4a3 100644 --- a/src/test/resources/alma-fix/990207856340206441.json +++ b/src/test/resources/alma-fix/990207856340206441.json @@ -70,19 +70,19 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT013485005#!", "label" : "SSAT annual meeting" } ], - "numbering" : "55" + "numbering" : "55", + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-2012365-6#!", "label" : "Journal of gastrointestinal surgery" } ], - "note" : [ "Enthalten in" ] + "note" : [ "Enthalten in" ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990210667610206441.json b/src/test/resources/alma-fix/990210667610206441.json index 0c6820627..b6cb19741 100644 --- a/src/test/resources/alma-fix/990210667610206441.json +++ b/src/test/resources/alma-fix/990210667610206441.json @@ -77,12 +77,12 @@ "label" : "URN-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-2689828-7#!", "label" : "Blätter zum Land" } ], - "numbering" : "65" + "numbering" : "65", + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "label" : "Archivierte Online-Ressource", diff --git a/src/test/resources/alma-fix/990210781980206441.json b/src/test/resources/alma-fix/990210781980206441.json index 6bb38d98f..407367725 100644 --- a/src/test/resources/alma-fix/990210781980206441.json +++ b/src/test/resources/alma-fix/990210781980206441.json @@ -84,12 +84,12 @@ "label" : "DOI-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT018907246#!", "label" : "Digital object identifiers (DOIs) for research data and publications in the field of life sciences" } ], - "numbering" : "1" + "numbering" : "1", + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "id" : "https://doi.org/10.4126/FRL01-006399748", diff --git a/src/test/resources/alma-fix/990217478660206441.json b/src/test/resources/alma-fix/990217478660206441.json index 385957b41..06ca2cf28 100644 --- a/src/test/resources/alma-fix/990217478660206441.json +++ b/src/test/resources/alma-fix/990217478660206441.json @@ -74,12 +74,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT016567889#!", "label" : "Architekturen" } ], - "numbering" : "38" + "numbering" : "38", + "type" : [ "IsPartOfRelation" ] } ], "tableOfContents" : [ { "label" : "Inhaltsverzeichnis", diff --git a/src/test/resources/alma-fix/990218189790206441.json b/src/test/resources/alma-fix/990218189790206441.json index 5c01992ce..c54b7fb4e 100644 --- a/src/test/resources/alma-fix/990218189790206441.json +++ b/src/test/resources/alma-fix/990218189790206441.json @@ -89,12 +89,12 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT019316012#!", "label" : "Zusetsu chūgoku no rekishi" } ], - "numbering" : "1" + "numbering" : "1", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990220027540206441.json b/src/test/resources/alma-fix/990220027540206441.json index ab0424a93..2bc70186d 100644 --- a/src/test/resources/alma-fix/990220027540206441.json +++ b/src/test/resources/alma-fix/990220027540206441.json @@ -61,12 +61,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT019496537#!", "label" : "Keśava kośa" } ], - "numbering" : "1" + "numbering" : "1", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990223521400206441.json b/src/test/resources/alma-fix/990223521400206441.json index e1a0177e1..91c5ab065 100644 --- a/src/test/resources/alma-fix/990223521400206441.json +++ b/src/test/resources/alma-fix/990223521400206441.json @@ -69,15 +69,15 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Rheinwerk computing" - } ] + } ], + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Programmierung/JavaScript" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "tableOfContents" : [ { "label" : "Inhaltsverzeichnis", diff --git a/src/test/resources/alma-fix/990225056670206441.json b/src/test/resources/alma-fix/990225056670206441.json index e680870db..0ec498b15 100644 --- a/src/test/resources/alma-fix/990225056670206441.json +++ b/src/test/resources/alma-fix/990225056670206441.json @@ -68,12 +68,12 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT006855611#!", "label" : "Das gelbe Rechenbuch" } ], - "numbering" : "3" + "numbering" : "3", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/990226465800206441.json b/src/test/resources/alma-fix/990226465800206441.json index 20db845b8..9fbc75639 100644 --- a/src/test/resources/alma-fix/990226465800206441.json +++ b/src/test/resources/alma-fix/990226465800206441.json @@ -78,12 +78,12 @@ "label" : "DOI-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT015775916#!", "label" : "Texte / Umweltbundesamt" } ], - "numbering" : "2018,55" + "numbering" : "2018,55", + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "id" : "https://doi.org/10.4126/FRL01-006410624", diff --git a/src/test/resources/alma-fix/990365842280206441.json b/src/test/resources/alma-fix/990365842280206441.json index 3b23a9762..b6a5e1b90 100644 --- a/src/test/resources/alma-fix/990365842280206441.json +++ b/src/test/resources/alma-fix/990365842280206441.json @@ -73,11 +73,11 @@ "label" : "DOI-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Les indicateurs de l'éducation à la loupe" } ], - "numbering" : "no.67" + "numbering" : "no.67", + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "id" : "https://doi.org/10.1787/78acc736-fr", diff --git a/src/test/resources/alma-fix/990367761810206441.json b/src/test/resources/alma-fix/990367761810206441.json index b559cea6b..e6bde376b 100644 --- a/src/test/resources/alma-fix/990367761810206441.json +++ b/src/test/resources/alma-fix/990367761810206441.json @@ -92,12 +92,12 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/HT003307812#!", "label" : "Karā bukkusu" } ], - "numbering" : "106" + "numbering" : "106", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/991002103529706485.json b/src/test/resources/alma-fix/991002103529706485.json index 85571c458..4a77eddfe 100644 --- a/src/test/resources/alma-fix/991002103529706485.json +++ b/src/test/resources/alma-fix/991002103529706485.json @@ -70,11 +70,11 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "UTB ;" } ], - "numbering" : "2878 ;Soziale Arbeit" + "numbering" : "2878 ;Soziale Arbeit", + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "note" : [ "Erscheint auch als: Druck-Ausgabe" ], diff --git a/src/test/resources/alma-fix/99370738710506441.json b/src/test/resources/alma-fix/99370738710506441.json index 41031a546..c056b8de9 100644 --- a/src/test/resources/alma-fix/99370738710506441.json +++ b/src/test/resources/alma-fix/99370738710506441.json @@ -69,11 +69,11 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "The Erik Castrén Institute Monographs on International Law and Human Rights" } ], - "numbering" : "19" + "numbering" : "19", + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "isbn" : [ "9789004297982", "9004297987" ] diff --git a/src/test/resources/alma-fix/99370746459806441.json b/src/test/resources/alma-fix/99370746459806441.json index 16c097126..52090207c 100644 --- a/src/test/resources/alma-fix/99370746459806441.json +++ b/src/test/resources/alma-fix/99370746459806441.json @@ -73,10 +73,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Studies in logic and the foundations of mathematics" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "isbn" : [ "9780444533999", "0444533990" ] diff --git a/src/test/resources/alma-fix/99370763433806441.json b/src/test/resources/alma-fix/99370763433806441.json index 2f051539e..6ad3fe911 100644 --- a/src/test/resources/alma-fix/99370763433806441.json +++ b/src/test/resources/alma-fix/99370763433806441.json @@ -73,10 +73,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Graphic medicine." - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "isbn" : [ "9780271084749", "027108474X" ] diff --git a/src/test/resources/alma-fix/99370763882706441.json b/src/test/resources/alma-fix/99370763882706441.json index b0be9f6c5..35a673bb7 100644 --- a/src/test/resources/alma-fix/99370763882706441.json +++ b/src/test/resources/alma-fix/99370763882706441.json @@ -64,10 +64,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Amsterdam studies in the theory and history of linguistic science. Lexicology, semantics, and lexicography" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "isbn" : [ "9781556199721", "1556199724" ] diff --git a/src/test/resources/alma-fix/99370782520706441.json b/src/test/resources/alma-fix/99370782520706441.json index 4dba93870..25a673754 100644 --- a/src/test/resources/alma-fix/99370782520706441.json +++ b/src/test/resources/alma-fix/99370782520706441.json @@ -68,18 +68,18 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "id" : "http://lobid.org/resources/ZDB-2830085-3#!", "label" : "BKI-Baukosten ... Neubau" } ], - "numbering" : "2021,2" + "numbering" : "2021,2", + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "BKI-Baukosten ... Neubau" } ], - "numbering" : "2" + "numbering" : "2", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/99371050452706441.json b/src/test/resources/alma-fix/99371050452706441.json index 72570925f..662051577 100644 --- a/src/test/resources/alma-fix/99371050452706441.json +++ b/src/test/resources/alma-fix/99371050452706441.json @@ -74,15 +74,15 @@ "label" : "NWBib-Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Landesrecht Nordrhein-Westfalen" - } ] + } ], + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Gesetzestexte" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "description" : [ { "label" : "Inhaltstext", diff --git a/src/test/resources/alma-fix/99371123630706441.json b/src/test/resources/alma-fix/99371123630706441.json index dd89677a5..28f289e65 100644 --- a/src/test/resources/alma-fix/99371123630706441.json +++ b/src/test/resources/alma-fix/99371123630706441.json @@ -72,11 +72,11 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Nordeuropäische Arbeiten zur Literatur, Sprache und Kultur = / Northern European Studie in Literature, Language and Culture ;" } ], - "numbering" : "Band / Volume 2" + "numbering" : "Band / Volume 2", + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "note" : [ "Print version (hardback):" ], diff --git a/src/test/resources/alma-fix/99371426239306441.json b/src/test/resources/alma-fix/99371426239306441.json index bddc71c7d..f388f39ed 100644 --- a/src/test/resources/alma-fix/99371426239306441.json +++ b/src/test/resources/alma-fix/99371426239306441.json @@ -74,10 +74,10 @@ "label" : "DOI-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Springer biomedical and life sciences ebooks." - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "id" : "https://doi.org/10.1007/978-3-319-59952-6", diff --git a/src/test/resources/alma-fix/99371447897606441.json b/src/test/resources/alma-fix/99371447897606441.json index 7a0a186dc..1317c753d 100644 --- a/src/test/resources/alma-fix/99371447897606441.json +++ b/src/test/resources/alma-fix/99371447897606441.json @@ -104,10 +104,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "ClinicalKey." - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "isbn" : [ "9780702075599", "0702075590" ] diff --git a/src/test/resources/alma-fix/99371463467006441.json b/src/test/resources/alma-fix/99371463467006441.json index 609896a99..5585db95b 100644 --- a/src/test/resources/alma-fix/99371463467006441.json +++ b/src/test/resources/alma-fix/99371463467006441.json @@ -65,10 +65,10 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "PsychBooks Collection" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/99371530278506441.json b/src/test/resources/alma-fix/99371530278506441.json index a8b4073f1..7b8b7de7c 100644 --- a/src/test/resources/alma-fix/99371530278506441.json +++ b/src/test/resources/alma-fix/99371530278506441.json @@ -87,17 +87,17 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Cogito" } ], - "numbering" : "44 (= Klassiker des Weltdenkens)" + "numbering" : "44 (= Klassiker des Weltdenkens)", + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Cogito" } ], - "numbering" : "44" + "numbering" : "44", + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/99371964653806441.json b/src/test/resources/alma-fix/99371964653806441.json index f2fb9a9c4..8da0dccca 100644 --- a/src/test/resources/alma-fix/99371964653806441.json +++ b/src/test/resources/alma-fix/99371964653806441.json @@ -74,11 +74,11 @@ "label" : "DOI-Link" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Theorieforum Pädagogik" } ], - "numbering" : "2" + "numbering" : "2", + "type" : [ "IsPartOfRelation" ] } ], "fulltextOnline" : [ { "id" : "https://doi.org/10.5555/9783657770625", diff --git a/src/test/resources/alma-fix/99372680948006441.json b/src/test/resources/alma-fix/99372680948006441.json index 8f8ad1d3d..cae07fa4b 100644 --- a/src/test/resources/alma-fix/99372680948006441.json +++ b/src/test/resources/alma-fix/99372680948006441.json @@ -86,15 +86,15 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Hot Spots in Global Politics" - } ] + } ], + "type" : [ "IsPartOfRelation" ] }, { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Global Political Hot Spots" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "related" : [ { "isbn" : [ "9780745648439", "0745648436" ] diff --git a/src/test/resources/alma-fix/99373737680006441.json b/src/test/resources/alma-fix/99373737680006441.json index 32a39730f..6d6e7388a 100644 --- a/src/test/resources/alma-fix/99373737680006441.json +++ b/src/test/resources/alma-fix/99373737680006441.json @@ -66,10 +66,10 @@ "label" : "Culturegraph Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "Shell Briefing Service" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/99374153235806441.json b/src/test/resources/alma-fix/99374153235806441.json index 92c8ae1ac..42b57d151 100644 --- a/src/test/resources/alma-fix/99374153235806441.json +++ b/src/test/resources/alma-fix/99374153235806441.json @@ -74,10 +74,10 @@ "label" : "OCLC Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], "hasSuperordinate" : [ { "label" : "BLF, Übungsaufgaben mit Lösungen" - } ] + } ], + "type" : [ "IsPartOfRelation" ] } ], "inCollection" : [ { "id" : "https://nrw.digibib.net/search/hbzvk/", diff --git a/src/test/resources/alma-fix/99374868243506441.json b/src/test/resources/alma-fix/99374868243506441.json index 7056c67c5..3ed8b90ea 100644 --- a/src/test/resources/alma-fix/99374868243506441.json +++ b/src/test/resources/alma-fix/99374868243506441.json @@ -81,8 +81,8 @@ "label" : "NWBib-Ressource" } ], "isPartOf" : [ { - "type" : [ "IsPartOfRelation" ], - "numbering" : "11" + "numbering" : "11", + "type" : [ "IsPartOfRelation" ] } ], "description" : [ { "label" : "Inhaltstext", From 26d9f6bf96e78495fb2efb7e6941b36e62201a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 23 Jan 2025 12:43:49 +0100 Subject: [PATCH 4/6] Delete unnecessary fallback for isPartOf[].*.hasSuperordinate[].*.label #2136 --- src/main/resources/alma/fix/relatedRessourcesAndLinks.fix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index 1145ff3cc..8dcb1bd3c 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -192,7 +192,7 @@ if any_match("leader", "^.{7}[ad].*") end end -do list(path: "isPartOf[].*.hasSuperordinate[]", "var": "$i") +do list(path: "isPartOf[].*.hasSuperordinate[]", "var": "$i") ## This is the fallback for isPartOf[].*.hasSuperordinate[].*.label unless exists("$i.label") copy_field("@title", "$i.label") end @@ -202,9 +202,6 @@ replace_all("isPartOf[].*.hasSuperordinate[].*.id", "^\\(DE-605\\)(.*)$", "http: replace_all("isPartOf[].*.hasSuperordinate[].*.id", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/ZDB-$1#!") replace_all("isPartOf[].*.numbering", "^[©]|\\s?[,.:;/=]?$", "") -do list(path:"isPartOf[]","var":"$i") - call_macro("lobidResourcesFallbackLabel",field:"$i.hasSuperordinate[]") -end add_array("isPartOf[].*.type[]", "IsPartOfRelation") uniq("isPartOf[]") From e6354b647dbca351d0ab1aa7a7fbe8b3b006c55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 23 Jan 2025 12:46:57 +0100 Subject: [PATCH 5/6] Delete isPartOf object from 830 if it has no $a or $w #2136 To avoid isPartOf objects that only hold a numbering and a type --- .../alma/fix/relatedRessourcesAndLinks.fix | 18 ++++++++++++------ .../resources/alma-fix/99374868243506441.json | 4 ---- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index 8dcb1bd3c..ee819fd4c 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -136,12 +136,13 @@ do list(path: "830??", "var": "$i") if all_match("$i.w", "^\\((?:DE-600|DE-605)\\)(.*)$") copy_field("$i.w", "isPartOf[].$last.hasSuperordinate[].$last.id") end - add_array("isPartOf[].$last.hasSuperordinate[].$last.label") do list(path:"$i.a", "var":"$j") copy_field("$j", "isPartOf[].$last.hasSuperordinate[].$last.label.$append") end join_field("isPartOf[].$last.hasSuperordinate[].$last.label", " / ") - copy_field("$i.v", "isPartOf[].$last.numbering") + unless is_empty("isPartOf[].$last.hasSuperordinate[].1") + copy_field("$i.v", "isPartOf[].$last.numbering") + end end do list(path: "4901?", "var": "$j") @@ -192,9 +193,14 @@ if any_match("leader", "^.{7}[ad].*") end end -do list(path: "isPartOf[].*.hasSuperordinate[]", "var": "$i") ## This is the fallback for isPartOf[].*.hasSuperordinate[].*.label - unless exists("$i.label") - copy_field("@title", "$i.label") +do list(path: "isPartOf[]","var":"$i") + unless is_empty("$i.hasSuperordinate[].1") + do list(path:"$i.hasSuperordinate[]", "var": "$j") ## This is the fallback for isPartOf[].*.hasSuperordinate[].*.label + unless exists("$j.label") + copy_field("@title", "$j.label") + end + end + add_array("$i.type[]", "IsPartOfRelation") end end @@ -202,7 +208,7 @@ replace_all("isPartOf[].*.hasSuperordinate[].*.id", "^\\(DE-605\\)(.*)$", "http: replace_all("isPartOf[].*.hasSuperordinate[].*.id", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/ZDB-$1#!") replace_all("isPartOf[].*.numbering", "^[©]|\\s?[,.:;/=]?$", "") -add_array("isPartOf[].*.type[]", "IsPartOfRelation") + uniq("isPartOf[]") diff --git a/src/test/resources/alma-fix/99374868243506441.json b/src/test/resources/alma-fix/99374868243506441.json index 3ed8b90ea..acc78976e 100644 --- a/src/test/resources/alma-fix/99374868243506441.json +++ b/src/test/resources/alma-fix/99374868243506441.json @@ -80,10 +80,6 @@ "id" : "http://nwbib.de/99374868243506441#!", "label" : "NWBib-Ressource" } ], - "isPartOf" : [ { - "numbering" : "11", - "type" : [ "IsPartOfRelation" ] - } ], "description" : [ { "label" : "Inhaltstext", "id" : "http://deposit.dnb.de/cgi-bin/dokserv?id=7c6192c3b427428789f4e7990f6024ad&prov=M&dok_var=1&dok_ext=htm" From 8e9700fdc6e860d7a50c106d769d7150e2e1bfec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Thu, 23 Jan 2025 13:06:54 +0100 Subject: [PATCH 6/6] Update web tests for #2136 --- web/test/tests/IndexIntegrationTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/web/test/tests/IndexIntegrationTest.java b/web/test/tests/IndexIntegrationTest.java index 0469b8fc0..dce6a2e33 100644 --- a/web/test/tests/IndexIntegrationTest.java +++ b/web/test/tests/IndexIntegrationTest.java @@ -56,18 +56,18 @@ public static Collection data() { { "spatial.label:Westfalen", /*->*/ 8 }, { "spatial.label:Westfälen", /*->*/ 8 }, { "subject.componentList.id:1113670827", /*->*/ 0 }, - { "subject.componentList.type:PlaceOrGeographicName", /*->*/ 24 }, + { "subject.componentList.type:PlaceOrGeographicName", /*->*/ 25 }, { "publication.location:Berlin", /*->*/ 16 }, - { "subject.notation:914.3", /*->*/ 6 }, + { "subject.notation:914.3", /*->*/ 7 }, { "subject.notation:914", /*->*/ 0 }, - { "subject.notation:914*", /*->*/ 6 }, + { "subject.notation:914*", /*->*/ 7 }, { "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#\\!\"", /*->*/ 143 }, - { "inCollection.id:\"https\\://nrw.digibib.net/search/hbzvk/\"", /*->*/ 162 }, + { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 144 }, + { "inCollection.id:\"https\\://nrw.digibib.net/search/hbzvk/\"", /*->*/ 163 }, { "inCollection.id:NWBib", /*->*/ 0 }, { "publication.publishedBy:Quedenfeldt", /*->*/ 2 }, { "publication.publishedBy:Quedenfeld", /*->*/ 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#\\!\"", /*->*/ 17 }, + { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 18 }, { "\"Reader-friendly\"", /*->*/ 1}, { "\"Reader friendly\"", /*->*/ 1}, // all q tests are related to DigiBib @@ -127,7 +127,7 @@ public static Collection data() { { "q.all:21914664", /*->*/ 1 }, { "q.all:2191\\-4664", /*->*/ 0 }, // search with hyphens not possible, different to lobid general search { "q.all:HT072067630", /*->*/ 0 }, - { "q.all:(Erleben \\- Verstehen & Lernen)", /*->*/ 3 }, + { "q.all:(Erleben \\- Verstehen & Lernen)", /*->*/ 4 }, { "q.all:(Lexicography \\: Selected Papers)", /*->*/ 1 }, { "contribution.agent.label.digibib:Westfalen", /*->*/ 3 }, { "contribution.agent.label.digibib:Westfälen", /*->*/ 3 },