From 970613f7ce5b76bde2d0fe186ef7176d9d48fcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 26 Jul 2023 13:37:10 +0200 Subject: [PATCH 01/15] Use a macro for publication #1830 --- src/main/resources/alma/fix/macros.fix | 74 +++++++++++++++++++ .../resources/alma/fix/titleRelatedFields.fix | 73 +----------------- 2 files changed, 75 insertions(+), 72 deletions(-) diff --git a/src/main/resources/alma/fix/macros.fix b/src/main/resources/alma/fix/macros.fix index 7b52f7bb3..db12fba34 100644 --- a/src/main/resources/alma/fix/macros.fix +++ b/src/main/resources/alma/fix/macros.fix @@ -324,4 +324,78 @@ do put_macro("subjectLabel") copy_field("$i.z","subject[].$last.label.$append") copy_field("$i.v","subject[].$last.label.$append") join_field("subject[].$last.label"," / ") +end + +do put_macro("publication") + do list(path:"$[field]", "var":"$i") + add_field("publication[].$append.test","") + copy_field("362??.a","publication[].$last.publicationHistory") + do list(path: "$i.c", "var":"$j") + replace_all("$j", "\\[|\\]|ca. |c ", "") + unless exists("publication[].$last.startDate") + if any_match("$j",".*?([01]\\d{3}|20\\d{2}).*") + paste("publication[].$last.startDate", "$j") + end + end + unless exists("publication[].$last.endDate") + if any_match("$j",".*-[ ]?([01]\\d{3}|20\\d{2})$") + paste("publication[].$last.endDate", "$j") + end + end + end + # TODO is there a way to distinguish PublicationEvent and SecondaryPublicationEvent? + set_array("publication[].$last.type[]","PublicationEvent") + set_array("publication[].$last.location[]") + copy_field("$i.a", "publication[].$last.location[].$append") + set_array("publication[].$last.publishedBy[]") + copy_field("$i.b", "publication[].$last.publishedBy[].$append") + set_array("publication[].$last.frequency[]") + if any_match("leader","^.{6}(a[bis]|m[bis]).*$") # checks if continous ressource + unless any_match("008","^.{18}[#\\| u].*$") # filters out not matching values and also the value unknown + copy_field("008","publication[].$last.frequency[].$append.id") + replace_all("publication[].$last.frequency[].$last.id", "^.{18}(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") + end + elsif any_match("006","^s.*$") + do list(path: "006", "var":"$z") + if any_match("$z","^s.*$") + unless any_match("$z","^.[#\\| u].*$") + copy_field("$z","publication[].$last.frequency[].$append.id") + replace_all("publication[].$last.frequency[].$last.id", "^.(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") + end + end + end + end + set_array("publication[].$last.note[]") + copy_field("515??.a","publication[].$last.note[].$append") + if exists("$i.6") + copy_field("$i.6","$i.linkageTest") + do list(path:"880??","var":"$880") + if in ("$i.linkageTest","$880.linkageTest") + if in ("$880.@script.id","alternateGraphicRepresentation[].*.script.id") + do list(path:"alternateGraphicRepresentation[]","var":"$AGR") + if in ("$880.@script.id","$AGR.script.id") + unless exists("$AGR.record.publication[]") + set_array("$AGR.record.publication[]") + end + add_field ("$AGR.record.publication[].$append.dummi","") + set_array("$AGR.record.publication[].$last.location[]") + copy_field("$880.a", "$AGR.record.publication[].$last.location[].$append") + set_array("$AGR.record.publication[].$last.publishedBy[]") + copy_field("$880.b", "$AGR.record.publication[].$last.publishedBy[].$append") + end + end + else + copy_field("$880.@script.id","alternateGraphicRepresentation[].$append.script.id") + copy_field("$880.@script.label","alternateGraphicRepresentation[].$last.script.label") + set_array("alternateGraphicRepresentation[].$last.publication[]") + add_field ("alternateGraphicRepresentation[].$last.publication[].$append.dummi","") + set_array("alternateGraphicRepresentation[].$last.publication[].$last.location[]") + copy_field("$880.a", "alternateGraphicRepresentation[].$last.publication[].$last.location[].$append") + set_array("alternateGraphicRepresentation[].$last.publication[].$last.publishedBy[]") + copy_field("$880.b", "alternateGraphicRepresentation[].$last.publication[].$last.publishedBy[].$append") + end + end + end + end + end end \ No newline at end of file diff --git a/src/main/resources/alma/fix/titleRelatedFields.fix b/src/main/resources/alma/fix/titleRelatedFields.fix index d7d161ced..2c6817287 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -223,78 +223,7 @@ end # 515 - Numbering Peculiarities Note (R) set_array("publication[]") -do list(path:"260[ 23] |264[ 23][ 1]", "var":"$i") - add_field("publication[].$append.test","") - copy_field("362??.a","publication[].$last.publicationHistory") - do list(path: "$i.c", "var":"$j") - replace_all("$j", "\\[|\\]|ca. |c ", "") - unless exists("publication[].$last.startDate") - if any_match("$j",".*?([01]\\d{3}|20\\d{2}).*") - paste("publication[].$last.startDate", "$j") - end - end - unless exists("publication[].$last.endDate") - if any_match("$j",".*-[ ]?([01]\\d{3}|20\\d{2})$") - paste("publication[].$last.endDate", "$j") - end - end - end - # TODO is there a way to distinguish PublicationEvent and SecondaryPublicationEvent? - set_array("publication[].$last.type[]","PublicationEvent") - set_array("publication[].$last.location[]") - copy_field("$i.a", "publication[].$last.location[].$append") - set_array("publication[].$last.publishedBy[]") - copy_field("$i.b", "publication[].$last.publishedBy[].$append") - set_array("publication[].$last.frequency[]") - if any_match("leader","^.{6}(a[bis]|m[bis]).*$") # checks if continous ressource - unless any_match("008","^.{18}[#\\| u].*$") # filters out not matching values and also the value unknown - copy_field("008","publication[].$last.frequency[].$append.id") - replace_all("publication[].$last.frequency[].$last.id", "^.{18}(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") - end - elsif any_match("006","^s.*$") - do list(path: "006", "var":"$z") - if any_match("$z","^s.*$") - unless any_match("$z","^.[#\\| u].*$") - copy_field("$z","publication[].$last.frequency[].$append.id") - replace_all("publication[].$last.frequency[].$last.id", "^.(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") - end - end - end - end - set_array("publication[].$last.note[]") - copy_field("515??.a","publication[].$last.note[].$append") - if exists("$i.6") - copy_field("$i.6","$i.linkageTest") - do list(path:"880??","var":"$880") - if in ("$i.linkageTest","$880.linkageTest") - if in ("$880.@script.id","alternateGraphicRepresentation[].*.script.id") - do list(path:"alternateGraphicRepresentation[]","var":"$AGR") - if in ("$880.@script.id","$AGR.script.id") - unless exists("$AGR.record.publication[]") - set_array("$AGR.record.publication[]") - end - add_field ("$AGR.record.publication[].$append.dummi","") - set_array("$AGR.record.publication[].$last.location[]") - copy_field("$880.a", "$AGR.record.publication[].$last.location[].$append") - set_array("$AGR.record.publication[].$last.publishedBy[]") - copy_field("$880.b", "$AGR.record.publication[].$last.publishedBy[].$append") - end - end - else - copy_field("$880.@script.id","alternateGraphicRepresentation[].$append.script.id") - copy_field("$880.@script.label","alternateGraphicRepresentation[].$last.script.label") - set_array("alternateGraphicRepresentation[].$last.publication[]") - add_field ("alternateGraphicRepresentation[].$last.publication[].$append.dummi","") - set_array("alternateGraphicRepresentation[].$last.publication[].$last.location[]") - copy_field("$880.a", "alternateGraphicRepresentation[].$last.publication[].$last.location[].$append") - set_array("alternateGraphicRepresentation[].$last.publication[].$last.publishedBy[]") - copy_field("$880.b", "alternateGraphicRepresentation[].$last.publication[].$last.publishedBy[].$append") - end - end - end - end -end - +call_macro("publication",field:"260[ 23] |264[ 23][ 1]") do list(path:"500 ", "var":"$i") if any_match("$i.a", "^.*saṃ. \\d{4}=(\\d{4}).*Chr.*") From 7224c90e531168630099e3dece1346ae32c9ba3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 26 Jul 2023 13:41:21 +0200 Subject: [PATCH 02/15] Prefer 264 over 260 for publiation #1830 --- src/main/resources/alma/fix/titleRelatedFields.fix | 6 +++++- src/test/resources/alma-fix/99370763882706441.json | 5 ----- src/test/resources/alma-fix/99371123630706441.json | 5 ----- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/main/resources/alma/fix/titleRelatedFields.fix b/src/main/resources/alma/fix/titleRelatedFields.fix index 2c6817287..ab131fae3 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -223,7 +223,11 @@ end # 515 - Numbering Peculiarities Note (R) set_array("publication[]") -call_macro("publication",field:"260[ 23] |264[ 23][ 1]") +if exists("264[ 23][ 1]") + call_macro("publication",field:"264[ 23][ 1]") +else + call_macro("publication",field:"260[ 23] ") +end do list(path:"500 ", "var":"$i") if any_match("$i.a", "^.*saṃ. \\d{4}=(\\d{4}).*Chr.*") diff --git a/src/test/resources/alma-fix/99370763882706441.json b/src/test/resources/alma-fix/99370763882706441.json index 87a333bdb..90593e060 100644 --- a/src/test/resources/alma-fix/99370763882706441.json +++ b/src/test/resources/alma-fix/99370763882706441.json @@ -5,11 +5,6 @@ "oclcNumber" : [ "70765802" ], "title" : "Lexicology, Semantics and Lexicography : Selected Papers from the Fourth G.L. Brook Symposium, Manchester, August 1998", "publication" : [ { - "startDate" : "2000", - "type" : [ "PublicationEvent" ], - "location" : [ "Philadelphia, PA, USA" ], - "publishedBy" : [ "John Benjamins Publishing Company" ] - }, { "type" : [ "PublicationEvent" ], "publishedBy" : [ "John Benjamins Publishing Company" ] } ], diff --git a/src/test/resources/alma-fix/99371123630706441.json b/src/test/resources/alma-fix/99371123630706441.json index b88a9c548..2cde95ce1 100644 --- a/src/test/resources/alma-fix/99371123630706441.json +++ b/src/test/resources/alma-fix/99371123630706441.json @@ -5,11 +5,6 @@ "title" : "Perspektive Nord", "otherTitleInformation" : [ "zu theorie und praxis einer modernen didaktik der landeskunde : beiträge zur 2. Konferenz des Netzwerks Landeskunde Nord in Stockholm am 24./25. Januar 2014" ], "publication" : [ { - "startDate" : "2015", - "type" : [ "PublicationEvent" ], - "location" : [ "Bern" ], - "publishedBy" : [ "Peter Lang International Academic Publishing Group" ] - }, { "startDate" : "2015", "type" : [ "PublicationEvent" ], "location" : [ "Frankfurt am Main, [Germany] :" ], From 506dadfe8de6725263bd0dc71a538b20dd0d0136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 26 Jul 2023 14:26:51 +0200 Subject: [PATCH 03/15] Only add fields outside of 264 or 260 to the first `publication`-object #1830 Relates to `frequency`,`publicationHistory`,`note` and the mapping of indian pub dates. --- src/main/resources/alma/fix/macros.fix | 20 ---------- .../resources/alma/fix/titleRelatedFields.fix | 39 +++++++++++++++---- .../alma-fix/990052965140206441.json | 4 +- .../alma-fix/990053976760206441.json | 9 +---- .../alma-fix/990054215550206441.json | 4 +- .../alma-fix/990054301770206441.json | 4 +- .../alma-fix/990054345550206441.json | 2 +- .../alma-fix/990055981810206441.json | 9 +---- .../alma-fix/990103770440206441.json | 2 +- .../alma-fix/990103899140206441.json | 4 +- .../alma-fix/990104908070206441.json | 4 +- .../alma-fix/990108740950206441.json | 18 ++------- .../alma-fix/990108873860206441.json | 4 +- .../alma-fix/990108874370206441.json | 4 +- .../alma-fix/990109712970206441.json | 10 +---- .../alma-fix/990113537330206441.json | 4 +- .../alma-fix/990133067580206441.json | 4 +- .../alma-fix/990136041660206441.json | 2 +- .../alma-fix/990183054020206441.json | 2 +- .../alma-fix/990184127410206441.json | 4 +- .../alma-fix/990193229450206441.json | 6 +-- .../alma-fix/990196925330206441.json | 2 +- .../alma-fix/990197023370206441.json | 4 +- .../alma-fix/990199611280206441.json | 4 +- .../alma-fix/990210093550206441.json | 4 +- .../alma-fix/990213906490206441.json | 2 +- .../alma-fix/991005935279706485.json | 2 +- .../resources/alma-fix/99370678063606441.json | 2 +- .../resources/alma-fix/99370682219806441.json | 2 +- .../resources/alma-fix/99370694196806441.json | 4 +- .../resources/alma-fix/99370699582506441.json | 4 +- .../resources/alma-fix/99371107766906441.json | 15 +++---- .../resources/alma-fix/99371147104906441.json | 2 +- .../resources/alma-fix/99371981001306441.json | 2 +- 34 files changed, 89 insertions(+), 119 deletions(-) diff --git a/src/main/resources/alma/fix/macros.fix b/src/main/resources/alma/fix/macros.fix index db12fba34..18cbf8a2f 100644 --- a/src/main/resources/alma/fix/macros.fix +++ b/src/main/resources/alma/fix/macros.fix @@ -329,7 +329,6 @@ end do put_macro("publication") do list(path:"$[field]", "var":"$i") add_field("publication[].$append.test","") - copy_field("362??.a","publication[].$last.publicationHistory") do list(path: "$i.c", "var":"$j") replace_all("$j", "\\[|\\]|ca. |c ", "") unless exists("publication[].$last.startDate") @@ -343,30 +342,11 @@ do put_macro("publication") end end end - # TODO is there a way to distinguish PublicationEvent and SecondaryPublicationEvent? set_array("publication[].$last.type[]","PublicationEvent") set_array("publication[].$last.location[]") copy_field("$i.a", "publication[].$last.location[].$append") set_array("publication[].$last.publishedBy[]") copy_field("$i.b", "publication[].$last.publishedBy[].$append") - set_array("publication[].$last.frequency[]") - if any_match("leader","^.{6}(a[bis]|m[bis]).*$") # checks if continous ressource - unless any_match("008","^.{18}[#\\| u].*$") # filters out not matching values and also the value unknown - copy_field("008","publication[].$last.frequency[].$append.id") - replace_all("publication[].$last.frequency[].$last.id", "^.{18}(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") - end - elsif any_match("006","^s.*$") - do list(path: "006", "var":"$z") - if any_match("$z","^s.*$") - unless any_match("$z","^.[#\\| u].*$") - copy_field("$z","publication[].$last.frequency[].$append.id") - replace_all("publication[].$last.frequency[].$last.id", "^.(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") - end - end - end - end - set_array("publication[].$last.note[]") - copy_field("515??.a","publication[].$last.note[].$append") if exists("$i.6") copy_field("$i.6","$i.linkageTest") do list(path:"880??","var":"$880") diff --git a/src/main/resources/alma/fix/titleRelatedFields.fix b/src/main/resources/alma/fix/titleRelatedFields.fix index ab131fae3..c211f1fa1 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -224,16 +224,41 @@ end set_array("publication[]") if exists("264[ 23][ 1]") - call_macro("publication",field:"264[ 23][ 1]") + call_macro("publication",field:"2643[ 1]") # 3 - Current/Latest + call_macro("publication",field:"2642[ 1]") # 2 - Intervening + call_macro("publication",field:"264 [ 1]") # # - Not applicable/No information provided/Earliest else - call_macro("publication",field:"260[ 23] ") + call_macro("publication",field:"2603[ 1]") # 3 - Current/Latest + call_macro("publication",field:"2602[ 1]") # 2 - Intervening + call_macro("publication",field:"260 [ 1]") # # - Not applicable/No information provided/Earliest end -do list(path:"500 ", "var":"$i") - if any_match("$i.a", "^.*saṃ. \\d{4}=(\\d{4}).*Chr.*") - remove_field("publication[].$last.startDate") - copy_field("$i.a","publication[].$last.startDate") - replace_all("publication[].$last.startDate","^.*saṃ. \\d{4}=(\\d{4}).*Chr.*","$1") +if exists("publication[].$first") + copy_field("362??.a","publication[].$first.publicationHistory") + set_array("publication[].$first.frequency[]") + if any_match("leader","^.{6}(a[bis]|m[bis]).*$") # checks if continous ressource + unless any_match("008","^.{18}[#\\| u].*$") # filters out not matching values and also the value unknown + copy_field("008","publication[].$first.frequency[].$append.id") + replace_all("publication[].$first.frequency[].$last.id", "^.{18}(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") + end + elsif any_match("006","^s.*$") + do list(path: "006", "var":"$z") + if any_match("$z","^s.*$") + unless any_match("$z","^.[#\\| u].*$") + copy_field("$z","publication[].$first.frequency[].$append.id") + replace_all("publication[].$first.frequency[].$last.id", "^.(.).*$", "http://marc21rdf.info/terms/continuingfre#$1") + end + end + end + end + set_array("publication[].$first.note[]") + copy_field("515??.a","publication[].$first.note[].$append") + do list(path:"500 ", "var":"$i") + if any_match("$i.a", "^.*saṃ. \\d{4}=(\\d{4}).*Chr.*") + remove_field("publication[].$first.startDate") + copy_field("$i.a","publication[].$first.startDate") + replace_all("publication[].$first.startDate","^.*saṃ. \\d{4}=(\\d{4}).*Chr.*","$1") + end end end diff --git a/src/test/resources/alma-fix/990052965140206441.json b/src/test/resources/alma-fix/990052965140206441.json index 81049a4d3..24e720bee 100644 --- a/src/test/resources/alma-fix/990052965140206441.json +++ b/src/test/resources/alma-fix/990052965140206441.json @@ -6,10 +6,10 @@ "oclcNumber" : [ "183288969" ], "title" : "Zweckverband Naturpark Kottenforst-Ville", "publication" : [ { - "publicationHistory" : "1.1985 - 4.2001; damit Ersch. eingest.", "type" : [ "PublicationEvent" ], "location" : [ "Köln [i.e.] Pulheim" ], - "publishedBy" : [ "Rheinland-Verl." ] + "publishedBy" : [ "Rheinland-Verl." ], + "publicationHistory" : "1.1985 - 4.2001; damit Ersch. eingest." } ], "describedBy" : { "id" : "http://lobid.org/resources/990052965140206441", diff --git a/src/test/resources/alma-fix/990053976760206441.json b/src/test/resources/alma-fix/990053976760206441.json index bd599eece..d94ea4283 100644 --- a/src/test/resources/alma-fix/990053976760206441.json +++ b/src/test/resources/alma-fix/990053976760206441.json @@ -9,25 +9,20 @@ "hbzId" : "HT000312236", "title" : "Physik in der Schule", "publication" : [ { - "publicationHistory" : "2.1964,7 - 38.2000", "startDate" : "1964", "endDate" : "2000", "type" : [ "PublicationEvent" ], "location" : [ "Berlin" ], "publishedBy" : [ "Pädagogischer Zeitschriftenverl." ], + "publicationHistory" : "2.1964,7 - 38.2000", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#m", "label" : "monatlich" } ] }, { - "publicationHistory" : "2.1964,7 - 38.2000", "type" : [ "PublicationEvent" ], "location" : [ "Berlin" ], - "publishedBy" : [ "Verl. Volk & Wissen" ], - "frequency" : [ { - "id" : "http://marc21rdf.info/terms/continuingfre#m", - "label" : "monatlich" - } ] + "publishedBy" : [ "Verl. Volk & Wissen" ] } ], "shortTitle" : [ "Phys. Sch." ], "describedBy" : { diff --git a/src/test/resources/alma-fix/990054215550206441.json b/src/test/resources/alma-fix/990054215550206441.json index b5f0ca94a..5ab9826cf 100644 --- a/src/test/resources/alma-fix/990054215550206441.json +++ b/src/test/resources/alma-fix/990054215550206441.json @@ -11,12 +11,12 @@ "alternativeTitle" : [ "Bulletin annuel de statistiques des transports pour l'Europe et l'Amérique du Nord", "Ežegodnyj bjulleten' statistiki transporta dlja Evropy i Severnoj Ameriki", "Annual bulletin of transport statistics for Europe ( Hauptsacht. bis 44.1994 )", "Bulletin annuel de statistiques de transports européens ( Parallelsacht. bis 44.1994 )", "Ežegodnyj bjulleten' evropejskoj statistiki transporta ( Parallelsacht. bis 44.1994 )" ], "otherTitleInformation" : [ "= Bulletin annuel de statistiques des transports pour l'Europe et l'Amérique du Nord = Ežegodnyj bjulleten' statistiki transporta dlja Evropy i Severnoj Ameriki" ], "publication" : [ { - "publicationHistory" : "6.1954(1955) - 52.2004", "startDate" : "1955", "endDate" : "2004", "type" : [ "PublicationEvent" ], "location" : [ "Genève [u.a.]" ], - "publishedBy" : [ "UN" ] + "publishedBy" : [ "UN" ], + "publicationHistory" : "6.1954(1955) - 52.2004" } ], "describedBy" : { "id" : "http://lobid.org/resources/990054215550206441", diff --git a/src/test/resources/alma-fix/990054301770206441.json b/src/test/resources/alma-fix/990054301770206441.json index 2b19f8a52..25b3eeb18 100644 --- a/src/test/resources/alma-fix/990054301770206441.json +++ b/src/test/resources/alma-fix/990054301770206441.json @@ -11,12 +11,12 @@ "alternativeTitle" : [ "Reisen in Deutschland / 2", "Bayern ( Sachl. Benennung bis 25.1975 )" ], "otherTitleInformation" : [ "deutsches Handbuch für Fremdenverkehr" ], "publication" : [ { - "publicationHistory" : "19.[1966] - 34.1984", "startDate" : "1966", "endDate" : "1984", "type" : [ "PublicationEvent" ], "location" : [ "Darmstadt" ], - "publishedBy" : [ "Jaeger" ] + "publishedBy" : [ "Jaeger" ], + "publicationHistory" : "19.[1966] - 34.1984" } ], "describedBy" : { "id" : "http://lobid.org/resources/990054301770206441", diff --git a/src/test/resources/alma-fix/990054345550206441.json b/src/test/resources/alma-fix/990054345550206441.json index b256ee377..80fa8aa1d 100644 --- a/src/test/resources/alma-fix/990054345550206441.json +++ b/src/test/resources/alma-fix/990054345550206441.json @@ -10,11 +10,11 @@ "title" : "Eilendorfer Heimatblätter", "otherTitleInformation" : [ "Jahresschrift des Heimatvereins Eilendorf 1983 e.V" ], "publication" : [ { - "publicationHistory" : "1.1983(1984) -", "startDate" : "1984", "type" : [ "PublicationEvent" ], "location" : [ "Aachen-Eilendorf" ], "publishedBy" : [ "Heimatverein" ], + "publicationHistory" : "1.1983(1984) -", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#z", "label" : "unregelmäßig oder sonstige Erscheinungsfrequenz" diff --git a/src/test/resources/alma-fix/990055981810206441.json b/src/test/resources/alma-fix/990055981810206441.json index a5431e883..5b4e527e7 100644 --- a/src/test/resources/alma-fix/990055981810206441.json +++ b/src/test/resources/alma-fix/990055981810206441.json @@ -10,25 +10,20 @@ "title" : "Bochumer Zeitpunkte", "otherTitleInformation" : [ "Beiträge zur Stadtgeschichte, Heimatkunde und Denkmalpflege" ], "publication" : [ { - "publicationHistory" : "1.1991 -", "startDate" : "1991", "type" : [ "PublicationEvent" ], "location" : [ "Bochum" ], "publishedBy" : [ "Kortum-Gesellschaft Bochum" ], + "publicationHistory" : "1.1991 -", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#z", "label" : "unregelmäßig oder sonstige Erscheinungsfrequenz" } ] }, { - "publicationHistory" : "1.1991 -", "startDate" : "1991", "type" : [ "PublicationEvent" ], "location" : [ "Bochum" ], - "publishedBy" : [ "Kracht" ], - "frequency" : [ { - "id" : "http://marc21rdf.info/terms/continuingfre#z", - "label" : "unregelmäßig oder sonstige Erscheinungsfrequenz" - } ] + "publishedBy" : [ "Kracht" ] } ], "describedBy" : { "id" : "http://lobid.org/resources/990055981810206441", diff --git a/src/test/resources/alma-fix/990103770440206441.json b/src/test/resources/alma-fix/990103770440206441.json index 195301bd9..faa579d37 100644 --- a/src/test/resources/alma-fix/990103770440206441.json +++ b/src/test/resources/alma-fix/990103770440206441.json @@ -8,11 +8,11 @@ "hbzId" : "HT012224491", "title" : "Wettersbacher Anzeiger", "publication" : [ { - "publicationHistory" : "Nachgewiesen 1979 -", "startDate" : "1972", "type" : [ "PublicationEvent" ], "location" : [ "Weil der Stadt" ], "publishedBy" : [ "Nussbaum" ], + "publicationHistory" : "Nachgewiesen 1979 -", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#w", "label" : "wöchentlich" diff --git a/src/test/resources/alma-fix/990103899140206441.json b/src/test/resources/alma-fix/990103899140206441.json index 938525199..a8d7503ac 100644 --- a/src/test/resources/alma-fix/990103899140206441.json +++ b/src/test/resources/alma-fix/990103899140206441.json @@ -8,12 +8,12 @@ "hbzId" : "HT012237361", "title" : "Statistische Berichte des Statistischen Landesamtes Rheinland-Pfalz, L. IV. 6: Finanzen und Steuern. Einheitswerte des Grundvermögens nach der Hauptfeststellung : Gemeindeergebnisse", "publication" : [ { - "publicationHistory" : "1964(1975); damit Ersch. eingest.", "startDate" : "1975", "endDate" : "1975", "type" : [ "PublicationEvent" ], "location" : [ "Bad Ems" ], - "publishedBy" : [ "Statist. Landesamt" ] + "publishedBy" : [ "Statist. Landesamt" ], + "publicationHistory" : "1964(1975); damit Ersch. eingest." } ], "describedBy" : { "id" : "http://lobid.org/resources/990103899140206441", diff --git a/src/test/resources/alma-fix/990104908070206441.json b/src/test/resources/alma-fix/990104908070206441.json index 8eabfc78a..c00278b19 100644 --- a/src/test/resources/alma-fix/990104908070206441.json +++ b/src/test/resources/alma-fix/990104908070206441.json @@ -10,11 +10,11 @@ "alternativeTitle" : [ "Appropriation acts ( Nebent. d. Mikrofiche-Ausg. )" ], "otherTitleInformation" : [ "passed at the session of ..." ], "publication" : [ { - "publicationHistory" : "Nachgewiesen 1911 -", "startDate" : "1911", "type" : [ "PublicationEvent" ], "location" : [ "Harrisburg, Pa." ], - "publishedBy" : [ "[Verlag nicht ermittelbar]" ] + "publishedBy" : [ "[Verlag nicht ermittelbar]" ], + "publicationHistory" : "Nachgewiesen 1911 -" }, { "type" : [ "SecondaryPublicationEvent" ], "location" : [ "Buffalo, NY" ], diff --git a/src/test/resources/alma-fix/990108740950206441.json b/src/test/resources/alma-fix/990108740950206441.json index 0198aeed3..8e61c2385 100644 --- a/src/test/resources/alma-fix/990108740950206441.json +++ b/src/test/resources/alma-fix/990108740950206441.json @@ -9,37 +9,25 @@ "title" : "Tauben- und Hühnerzeitung", "otherTitleInformation" : [ "Organ der gesammten Haus-Federviehzucht, mit Inbegriff der Sangvögel" ], "publication" : [ { - "publicationHistory" : "2.1857,28(11.Juli) - 7.1862 nachgewiesen", "startDate" : "1861", "endDate" : "1862", "type" : [ "PublicationEvent" ], "location" : [ "Berlin" ], "publishedBy" : [ "Schotte" ], + "publicationHistory" : "2.1857,28(11.Juli) - 7.1862 nachgewiesen", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#w", "label" : "wöchentlich" } ], "note" : [ "Periodizität: wöchentl." ] }, { - "publicationHistory" : "2.1857,28(11.Juli) - 7.1862 nachgewiesen", "type" : [ "PublicationEvent" ], "location" : [ "Berlin" ], - "publishedBy" : [ "Janke" ], - "frequency" : [ { - "id" : "http://marc21rdf.info/terms/continuingfre#w", - "label" : "wöchentlich" - } ], - "note" : [ "Periodizität: wöchentl." ] + "publishedBy" : [ "Janke" ] }, { - "publicationHistory" : "2.1857,28(11.Juli) - 7.1862 nachgewiesen", "type" : [ "PublicationEvent" ], "location" : [ "Berlin" ], - "publishedBy" : [ "Voss" ], - "frequency" : [ { - "id" : "http://marc21rdf.info/terms/continuingfre#w", - "label" : "wöchentlich" - } ], - "note" : [ "Periodizität: wöchentl." ] + "publishedBy" : [ "Voss" ] } ], "describedBy" : { "id" : "http://lobid.org/resources/990108740950206441", diff --git a/src/test/resources/alma-fix/990108873860206441.json b/src/test/resources/alma-fix/990108873860206441.json index 9c5ea5f60..2de0d8fe2 100644 --- a/src/test/resources/alma-fix/990108873860206441.json +++ b/src/test/resources/alma-fix/990108873860206441.json @@ -9,11 +9,11 @@ "hbzId" : "HT012734833", "title" : "Behavioural pharmacology", "publication" : [ { - "publicationHistory" : "1.1989 -", "startDate" : "1989", "type" : [ "PublicationEvent" ], "location" : [ "Philadelphia, Pa." ], - "publishedBy" : [ "Lippincott Williams & Wilkins" ] + "publishedBy" : [ "Lippincott Williams & Wilkins" ], + "publicationHistory" : "1.1989 -" } ], "shortTitle" : [ "Behav Pharmacol" ], "describedBy" : { diff --git a/src/test/resources/alma-fix/990108874370206441.json b/src/test/resources/alma-fix/990108874370206441.json index d46896a91..afa31cc8d 100644 --- a/src/test/resources/alma-fix/990108874370206441.json +++ b/src/test/resources/alma-fix/990108874370206441.json @@ -8,12 +8,12 @@ "hbzId" : "HT012734884", "title" : "Yearbook of anthropology", "publication" : [ { - "publicationHistory" : "1.1955", "startDate" : "1955", "endDate" : "1955", "type" : [ "PublicationEvent" ], "location" : [ "New York, NY" ], - "publishedBy" : [ "Found." ] + "publishedBy" : [ "Found." ], + "publicationHistory" : "1.1955" } ], "shortTitle" : [ "Yearb Anthropol" ], "describedBy" : { diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index 50573853c..8965097b9 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -9,27 +9,21 @@ "title" : "Bonner Beethoven-Studien", "otherTitleInformation" : [ "Mitteilungen aus dem Beethoven-Haus und Beethoven-Archiv Bonn" ], "publication" : [ { - "publicationHistory" : "1.1999 - 2.2001; 3.2003; 4.2005 - 8.2009; 9.2011 -", "startDate" : "1999", "type" : [ "PublicationEvent" ], "location" : [ "Bonn", "Leinfelden-Echterdingen" ], "publishedBy" : [ "Verl. Beethoven-Haus", "Carus" ], + "publicationHistory" : "1.1999 - 2.2001; 3.2003; 4.2005 - 8.2009; 9.2011 -", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#a", "label" : "jährlich" } ], "note" : [ "Ersch. jährl.; 2000 u. 2002 u. 2004 u. 2010 nicht ersch." ] }, { - "publicationHistory" : "1.1999 - 2.2001; 3.2003; 4.2005 - 8.2009; 9.2011 -", "startDate" : "2006", "type" : [ "PublicationEvent" ], "location" : [ "Bonn" ], - "publishedBy" : [ "Verl. Beethoven-Haus" ], - "frequency" : [ { - "id" : "http://marc21rdf.info/terms/continuingfre#a", - "label" : "jährlich" - } ], - "note" : [ "Ersch. jährl.; 2000 u. 2002 u. 2004 u. 2010 nicht ersch." ] + "publishedBy" : [ "Verl. Beethoven-Haus" ] } ], "describedBy" : { "id" : "http://lobid.org/resources/990109712970206441", diff --git a/src/test/resources/alma-fix/990113537330206441.json b/src/test/resources/alma-fix/990113537330206441.json index ccc0c930c..e290e46f9 100644 --- a/src/test/resources/alma-fix/990113537330206441.json +++ b/src/test/resources/alma-fix/990113537330206441.json @@ -10,12 +10,12 @@ "title" : "Mainz", "otherTitleInformation" : [ "Programm" ], "publication" : [ { - "publicationHistory" : "1999 - 2004; damit Ersch. eingest.", "startDate" : "1999", "endDate" : "2004", "type" : [ "PublicationEvent" ], "location" : [ "Mainz" ], - "publishedBy" : [ "[Verlag nicht ermittelbar]" ] + "publishedBy" : [ "[Verlag nicht ermittelbar]" ], + "publicationHistory" : "1999 - 2004; damit Ersch. eingest." } ], "describedBy" : { "id" : "http://lobid.org/resources/990113537330206441", diff --git a/src/test/resources/alma-fix/990133067580206441.json b/src/test/resources/alma-fix/990133067580206441.json index 864357d0d..9fbda375c 100644 --- a/src/test/resources/alma-fix/990133067580206441.json +++ b/src/test/resources/alma-fix/990133067580206441.json @@ -9,11 +9,11 @@ "title" : "Nordrhein-Westfälische Bibliographie", "otherTitleInformation" : [ "Regionale Literaturdokumentation ab Berichtsjahr ..." ], "publication" : [ { - "publicationHistory" : "1983 -", "startDate" : "1983", "type" : [ "PublicationEvent" ], "location" : [ "Köln" ], - "publishedBy" : [ "HBZ" ] + "publishedBy" : [ "HBZ" ], + "publicationHistory" : "1983 -" } ], "describedBy" : { "id" : "http://lobid.org/resources/990133067580206441", diff --git a/src/test/resources/alma-fix/990136041660206441.json b/src/test/resources/alma-fix/990136041660206441.json index 1d63ae2ef..fda587bda 100644 --- a/src/test/resources/alma-fix/990136041660206441.json +++ b/src/test/resources/alma-fix/990136041660206441.json @@ -10,12 +10,12 @@ "alternativeTitle" : [ "Die Heimatzeitung", "Heimatzeitung für die Verbandsgemeinde Vallendar" ], "otherTitleInformation" : [ "die Heimatzeitung" ], "publication" : [ { - "publicationHistory" : "2005,1/20 - 2007,13", "startDate" : "2005", "endDate" : "2007", "type" : [ "PublicationEvent" ], "location" : [ "Sinzig" ], "publishedBy" : [ "Krupp" ], + "publicationHistory" : "2005,1/20 - 2007,13", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#w", "label" : "wöchentlich" diff --git a/src/test/resources/alma-fix/990183054020206441.json b/src/test/resources/alma-fix/990183054020206441.json index a87c1594a..fd36e48b4 100644 --- a/src/test/resources/alma-fix/990183054020206441.json +++ b/src/test/resources/alma-fix/990183054020206441.json @@ -10,11 +10,11 @@ "alternativeTitle" : [ "LWL - für die Menschen. Für Westfalen-Lippe" ], "otherTitleInformation" : [ "für das Jahr ..." ], "publication" : [ { - "publicationHistory" : "2004(2005) -", "startDate" : "2005", "type" : [ "PublicationEvent" ], "location" : [ "Münster" ], "publishedBy" : [ "Landschaftsverb. Westfalen-Lippe" ], + "publicationHistory" : "2004(2005) -", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#a", "label" : "jährlich" diff --git a/src/test/resources/alma-fix/990184127410206441.json b/src/test/resources/alma-fix/990184127410206441.json index 24ef8a4fa..b1562a329 100644 --- a/src/test/resources/alma-fix/990184127410206441.json +++ b/src/test/resources/alma-fix/990184127410206441.json @@ -10,12 +10,12 @@ "title" : "Wohnungsmarktbericht", "otherTitleInformation" : [ "Fortschreibung mit Stand ..." ], "publication" : [ { - "publicationHistory" : "2002=2001(2002) - 2004=2003(2004)", "startDate" : "2002", "endDate" : "2004", "type" : [ "PublicationEvent" ], "location" : [ "Düsseldorf" ], - "publishedBy" : [ "Amt für Wohnungswesen" ] + "publishedBy" : [ "Amt für Wohnungswesen" ], + "publicationHistory" : "2002=2001(2002) - 2004=2003(2004)" } ], "describedBy" : { "id" : "http://lobid.org/resources/990184127410206441", diff --git a/src/test/resources/alma-fix/990193229450206441.json b/src/test/resources/alma-fix/990193229450206441.json index 57dae2ab0..c1b266a66 100644 --- a/src/test/resources/alma-fix/990193229450206441.json +++ b/src/test/resources/alma-fix/990193229450206441.json @@ -10,21 +10,19 @@ "title" : "Westfälische Bibliographie zur Geschichte, Landeskunde und Volkskunde", "alternativeTitle" : [ "Veröffentlichungen der Historischen Kommission für Westfalen / Westfälische Bibliographie zur Geschichte, Landeskunde und Volkskunde" ], "publication" : [ { - "publicationHistory" : "1.1951/55; 2.1961/90; 3.1977; 4.2004=Register; damit Ersch. eingest.", "startDate" : "1951", "endDate" : "2004", "type" : [ "PublicationEvent" ], "location" : [ "Münster" ], "publishedBy" : [ "Regensberg", "Historische Kommission, Landschaftsverband Westfalen-Lippe" ], + "publicationHistory" : "1.1951/55; 2.1961/90; 3.1977; 4.2004=Register; damit Ersch. eingest.", "note" : [ "Ersch. in Lfg; springende Ersch.-Jahre" ] }, { - "publicationHistory" : "1.1951/55; 2.1961/90; 3.1977; 4.2004=Register; damit Ersch. eingest.", "startDate" : "1951", "endDate" : "1977", "type" : [ "PublicationEvent" ], "location" : [ "Münster" ], - "publishedBy" : [ "Regensberg" ], - "note" : [ "Ersch. in Lfg; springende Ersch.-Jahre" ] + "publishedBy" : [ "Regensberg" ] }, { "type" : [ "SecondaryPublicationEvent" ], "description" : [ "Digitalisierte Ausg." ] diff --git a/src/test/resources/alma-fix/990196925330206441.json b/src/test/resources/alma-fix/990196925330206441.json index 9e2cab00a..ccf1f0e0c 100644 --- a/src/test/resources/alma-fix/990196925330206441.json +++ b/src/test/resources/alma-fix/990196925330206441.json @@ -9,12 +9,12 @@ "title" : "The Geneva gazette", "alternativeTitle" : [ "Early American newspapers / The Geneva gazette" ], "publication" : [ { - "publicationHistory" : "1809,21.Juni - 1810,26.Dez.[?]", "startDate" : "1809", "endDate" : "1810", "type" : [ "PublicationEvent" ], "location" : [ "Geneva, NY" ], "publishedBy" : [ "[Verlag nicht ermittelbar]" ], + "publicationHistory" : "1809,21.Juni - 1810,26.Dez.[?]", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#w", "label" : "wöchentlich" diff --git a/src/test/resources/alma-fix/990197023370206441.json b/src/test/resources/alma-fix/990197023370206441.json index 9b26c98e2..dde9fa0eb 100644 --- a/src/test/resources/alma-fix/990197023370206441.json +++ b/src/test/resources/alma-fix/990197023370206441.json @@ -8,12 +8,12 @@ "hbzId" : "HT017664407", "title" : "Aegyptische Nachrichten", "publication" : [ { - "publicationHistory" : "1912,Jan.-Dez.; mehr nicht digitalisiert", "startDate" : "1912", "endDate" : "1912", "type" : [ "PublicationEvent" ], "location" : [ "Kairo" ], - "publishedBy" : [ "[Verlag nicht ermittelbar]" ] + "publishedBy" : [ "[Verlag nicht ermittelbar]" ], + "publicationHistory" : "1912,Jan.-Dez.; mehr nicht digitalisiert" }, { "type" : [ "SecondaryPublicationEvent" ], "location" : [ "Berlin" ], diff --git a/src/test/resources/alma-fix/990199611280206441.json b/src/test/resources/alma-fix/990199611280206441.json index d50312078..44cdddd9a 100644 --- a/src/test/resources/alma-fix/990199611280206441.json +++ b/src/test/resources/alma-fix/990199611280206441.json @@ -8,11 +8,11 @@ "title" : "Advances in special education", "otherTitleInformation" : [ "a research annual" ], "publication" : [ { - "publicationHistory" : "1.1980 - 3.1981; 4.1984 -", "startDate" : "1980", "type" : [ "PublicationEvent" ], "location" : [ "Greenwich, Conn." ], - "publishedBy" : [ "JAI Pr." ] + "publishedBy" : [ "JAI Pr." ], + "publicationHistory" : "1.1980 - 3.1981; 4.1984 -" } ], "describedBy" : { "id" : "http://lobid.org/resources/990199611280206441", diff --git a/src/test/resources/alma-fix/990210093550206441.json b/src/test/resources/alma-fix/990210093550206441.json index 7b0947f61..194142a66 100644 --- a/src/test/resources/alma-fix/990210093550206441.json +++ b/src/test/resources/alma-fix/990210093550206441.json @@ -9,11 +9,11 @@ "hbzId" : "HT018839495", "title" : "Classics in linguistics", "publication" : [ { - "publicationHistory" : "1-", "startDate" : "2015", "type" : [ "PublicationEvent" ], "location" : [ "Berlin" ], - "publishedBy" : [ "Language Science Press" ] + "publishedBy" : [ "Language Science Press" ], + "publicationHistory" : "1-" } ], "describedBy" : { "id" : "http://lobid.org/resources/990210093550206441", diff --git a/src/test/resources/alma-fix/990213906490206441.json b/src/test/resources/alma-fix/990213906490206441.json index 759aebf67..9d792061f 100644 --- a/src/test/resources/alma-fix/990213906490206441.json +++ b/src/test/resources/alma-fix/990213906490206441.json @@ -8,12 +8,12 @@ "hbzId" : "HT019128882", "title" : "Das Lied von Eis und Feuer", "publication" : [ { - "publicationHistory" : "Band 1, Heft 1 (2016)-Band 10, Heft 19 (2019) = Ausgabe 1-Ausgabe 46 ; damit Erscheinen eingestellt", "startDate" : "2016", "endDate" : "2019", "type" : [ "PublicationEvent" ], "location" : [ "Leipzig" ], "publishedBy" : [ "[Deutsche Zentralbücherei für Blinde (DZB)]" ], + "publicationHistory" : "Band 1, Heft 1 (2016)-Band 10, Heft 19 (2019) = Ausgabe 1-Ausgabe 46 ; damit Erscheinen eingestellt", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#w", "label" : "wöchentlich" diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index 25f7f884d..866b35c58 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -10,12 +10,12 @@ "title" : "Wirtschaft & Erziehung", "alternativeTitle" : [ "Wirtschaft und Erziehung", "Organ für kaufmännisches Bildungswesen", "Monatsschrift des Bundesverbandes der Lehrerinnen und Lehrer an Wirtschaftsschulen (VLW) e.V.", "Wirtschaft und Erziehung ( Hauptsacht. bis 64.2012,6 )" ], "publication" : [ { - "publicationHistory" : "1.1949-70. Jahrgang, Ausgabe 2 (2018)", "startDate" : "1949", "endDate" : "2018", "type" : [ "PublicationEvent" ], "location" : [ "Wolfenbüttel" ], "publishedBy" : [ "Heckner" ], + "publicationHistory" : "1.1949-70. Jahrgang, Ausgabe 2 (2018)", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#m", "label" : "monatlich" diff --git a/src/test/resources/alma-fix/99370678063606441.json b/src/test/resources/alma-fix/99370678063606441.json index 8de969d8b..954a62ac4 100644 --- a/src/test/resources/alma-fix/99370678063606441.json +++ b/src/test/resources/alma-fix/99370678063606441.json @@ -9,10 +9,10 @@ "title" : "ABI-Technik", "alternativeTitle" : [ "A.B.I.-Technik" ], "publication" : [ { - "publicationHistory" : "Began in 1981.", "type" : [ "PublicationEvent" ], "location" : [ "Berlin, Germany :" ], "publishedBy" : [ "De Gruyter" ], + "publicationHistory" : "Began in 1981.", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#q", "label" : "vierteljährlich" diff --git a/src/test/resources/alma-fix/99370682219806441.json b/src/test/resources/alma-fix/99370682219806441.json index 26373c928..eda11a701 100644 --- a/src/test/resources/alma-fix/99370682219806441.json +++ b/src/test/resources/alma-fix/99370682219806441.json @@ -11,11 +11,11 @@ "alternativeTitle" : [ "Kirche weltweit", "Mitteilungsblatt des Leipziger Missionswerkes der Evangelisch-Lutherischen Landeskirchen Mecklenburgs, Sachsens, Thüringens" ], "otherTitleInformation" : [ "Mitteilungsblatt des Leipziger Missionswerkes der Evangelisch-Lutherischen Landeskirche Sachsens und der Evangelischen Kirche in Mitteldeutschland" ], "publication" : [ { - "publicationHistory" : "Nachgewiesen 2006 -", "startDate" : "2006", "type" : [ "PublicationEvent" ], "location" : [ "Leipzig", "Dresden" ], "publishedBy" : [ "Evangelisch-Lutherisches Missionswerk Leipzig e.V. (LMW)", "SLUB" ], + "publicationHistory" : "Nachgewiesen 2006 -", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#q", "label" : "vierteljährlich" diff --git a/src/test/resources/alma-fix/99370694196806441.json b/src/test/resources/alma-fix/99370694196806441.json index 8a9eb8282..340229fbb 100644 --- a/src/test/resources/alma-fix/99370694196806441.json +++ b/src/test/resources/alma-fix/99370694196806441.json @@ -11,11 +11,11 @@ "alternativeTitle" : [ "Informationen für die rheinischen Museen" ], "otherTitleInformation" : [ "Informationen für die rheinischen Museen" ], "publication" : [ { - "publicationHistory" : "1.2012 -", "startDate" : "2012", "type" : [ "PublicationEvent" ], "location" : [ "Köln-Deutz" ], - "publishedBy" : [ "LVR-Dezernat Kultur und Umwelt" ] + "publishedBy" : [ "LVR-Dezernat Kultur und Umwelt" ], + "publicationHistory" : "1.2012 -" } ], "describedBy" : { "id" : "http://lobid.org/resources/99370694196806441", diff --git a/src/test/resources/alma-fix/99370699582506441.json b/src/test/resources/alma-fix/99370699582506441.json index 3ef93f3ee..93e02a6b7 100644 --- a/src/test/resources/alma-fix/99370699582506441.json +++ b/src/test/resources/alma-fix/99370699582506441.json @@ -10,11 +10,11 @@ "alternativeTitle" : [ "BUW-Output", "BUW-Output", "Output" ], "otherTitleInformation" : [ "Forschungsmagazin = Research bulletin / Universität Wuppertal ; hrsg. im Auftrag des Rektorates" ], "publication" : [ { - "publicationHistory" : "2009 -", "startDate" : "2009", "type" : [ "PublicationEvent" ], "location" : [ "Wuppertal" ], - "publishedBy" : [ "BUW" ] + "publishedBy" : [ "BUW" ], + "publicationHistory" : "2009 -" } ], "describedBy" : { "id" : "http://lobid.org/resources/99370699582506441", diff --git a/src/test/resources/alma-fix/99371107766906441.json b/src/test/resources/alma-fix/99371107766906441.json index 7224f2f01..1358279d2 100644 --- a/src/test/resources/alma-fix/99371107766906441.json +++ b/src/test/resources/alma-fix/99371107766906441.json @@ -4,23 +4,18 @@ "oclcNumber" : [ "945571548" ], "title" : "The natural family", "publication" : [ { - "publicationHistory" : "Began with volume 30, number 3 (2016).", - "type" : [ "PublicationEvent" ], - "location" : [ "Rockford, IL :" ], - "publishedBy" : [ "Howard Center for Family, Religion & Society" ], - "frequency" : [ { - "id" : "http://marc21rdf.info/terms/continuingfre#a", - "label" : "jährlich" - } ] - }, { - "publicationHistory" : "Began with volume 30, number 3 (2016).", "type" : [ "PublicationEvent" ], "location" : [ "Rockford, Illinois :" ], "publishedBy" : [ "The International Organization for the Family" ], + "publicationHistory" : "Began with volume 30, number 3 (2016).", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#a", "label" : "jährlich" } ] + }, { + "type" : [ "PublicationEvent" ], + "location" : [ "Rockford, IL :" ], + "publishedBy" : [ "Howard Center for Family, Religion & Society" ] } ], "describedBy" : { "id" : "http://lobid.org/resources/99371107766906441", diff --git a/src/test/resources/alma-fix/99371147104906441.json b/src/test/resources/alma-fix/99371147104906441.json index 715e0480f..61ded17a8 100644 --- a/src/test/resources/alma-fix/99371147104906441.json +++ b/src/test/resources/alma-fix/99371147104906441.json @@ -6,11 +6,11 @@ "title" : "Information & media", "alternativeTitle" : [ "Information and media" ], "publication" : [ { - "publicationHistory" : "Began with: Vol. 91 (2021).", "startDate" : "2021", "type" : [ "PublicationEvent" ], "location" : [ "Vilnius :" ], "publishedBy" : [ "Vilnius University Press" ], + "publicationHistory" : "Began with: Vol. 91 (2021).", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#f", "label" : "halbjährlich" diff --git a/src/test/resources/alma-fix/99371981001306441.json b/src/test/resources/alma-fix/99371981001306441.json index 780cd9171..fbfcd5d5c 100644 --- a/src/test/resources/alma-fix/99371981001306441.json +++ b/src/test/resources/alma-fix/99371981001306441.json @@ -9,11 +9,11 @@ "title" : "Smart grids and sustainable energy", "alternativeTitle" : [ "Technology and economics of smart grids and sustainable energy ( Abweichender Titel in Volume 8, issue 1 (March 2023) teils )" ], "publication" : [ { - "publicationHistory" : "Volume 8, issue 1 (March 2023)-", "startDate" : "2023", "type" : [ "PublicationEvent" ], "location" : [ "Singapore" ], "publishedBy" : [ "Springer Nature Singapore" ], + "publicationHistory" : "Volume 8, issue 1 (March 2023)-", "frequency" : [ { "id" : "http://marc21rdf.info/terms/continuingfre#z", "label" : "unregelmäßig oder sonstige Erscheinungsfrequenz" From 549db600a1d5c67ba03bc8ccb0ec12967045fcb6 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Thu, 7 Sep 2023 11:39:45 +0200 Subject: [PATCH 04/15] Add some documentation #1830 and #1886 --- src/main/resources/alma/fix/titleRelatedFields.fix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/alma/fix/titleRelatedFields.fix b/src/main/resources/alma/fix/titleRelatedFields.fix index c211f1fa1..d53e5ea70 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -221,6 +221,7 @@ end # 264 - Production, Publication, Distribution, Manufacture, and Copyright Notice (R) - Subfield: $a (R), $b (R), $c (R) # 008,18 for frequency # 515 - Numbering Peculiarities Note (R) +# Prefer 264 over 260 since it can create duplicate info and 260 is discontinued in RDA. set_array("publication[]") if exists("264[ 23][ 1]") @@ -233,6 +234,8 @@ else call_macro("publication",field:"260 [ 1]") # # - Not applicable/No information provided/Earliest end +# Only add additional publication info to the first publication-object since it is the latest. + if exists("publication[].$first") copy_field("362??.a","publication[].$first.publicationHistory") set_array("publication[].$first.frequency[]") From 7dc4ed8494677d9b6e46d45d21ac5a48a6911a4a Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 1 Aug 2023 16:14:21 +0200 Subject: [PATCH 05/15] Move lookup for prod dewey and use put map for it #1848 --- .../org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java | 2 +- src/main/resources/alma/fix/maps.fix | 3 +++ src/main/resources/alma/fix/subjects.fix | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java b/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java index ea825f739..7f8e8a3bd 100644 --- a/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java +++ b/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java @@ -115,7 +115,7 @@ public void run() { fixVariables.put("createEndTime", "1"); // 1 <=> true fixVariables.put("institution-code", "DE-605"); // the './' is mandatory to get play to use the "conf" directory. Base is the root directory of the fix, which is "alma": - fixVariables.put("deweyLabels", "./../deweyLabels.tsv"); + fixVariables.put("deweyLabels", "./maps/deweyLabels.tsv"); fixVariables.put("nwbib-spatial", "./../nwbib-spatial.tsv"); fixVariables.put("wd_itemLabelTypesCoordinates", "./../wd_itemLabelTypesCoordinates.tsv"); fixVariables.put("maps-institutions.tsv", "./maps/institutions.tsv"); diff --git a/src/main/resources/alma/fix/maps.fix b/src/main/resources/alma/fix/maps.fix index 154a064f9..8a4979a00 100644 --- a/src/main/resources/alma/fix/maps.fix +++ b/src/main/resources/alma/fix/maps.fix @@ -19,6 +19,9 @@ put_filemap("$[nwbibWikidataLabelTypeCoords.tsv]","nwbibWikidataLabel", sep_char put_filemap("$[nwbibWikidataLabelTypeCoords.tsv]","nwbibWikidataTypes", sep_char:"\t",key_column:"0",value_column:"3",expected_columns:"-1") put_filemap("$[nwbibWikidataLabelTypeCoords.tsv]","nwbibWikidataGeodata", sep_char:"\t",key_column:"0",value_column:"4",expected_columns:"-1") +# DDC & DNB-Sachgruppen +put_filemap("$[deweyLabels]","deweyLabels",sep_char:"\t") + # Library Classifications put_filemap("$[classification.tsv]","classificationCode2Label", sep_char:"\t",key_column:"0",value_column:"1",expected_columns:"-1") put_filemap("$[classification.tsv]","classificationCode2Uri", sep_char:"\t",key_column:"0",value_column:"2",expected_columns:"-1") diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index 014088464..44c5983b4 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -242,7 +242,7 @@ do list(path:"0820 |08200", "var":"$i") do list(path:"$i.a", "var": "$j") unless exists("subject[].$last.label") copy_field("$i.a","subject[].$last.label") - lookup("subject[].$last.label", "$[deweyLabels]","sep_char":"\t") + lookup("subject[].$last.label", "deweyLabels") copy_field("$i.a","subject[].$last.notation") end end From c7a415a8bd5f93c17276599798068c26af93c29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 15 Sep 2023 13:06:16 +0200 Subject: [PATCH 06/15] Catch multiple DDC if $a is repeated #1848 --- src/main/resources/alma/fix/subjects.fix | 17 ++++++++--------- .../resources/alma-fix/99370746459806441.json | 8 ++++++++ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index 44c5983b4..67667dcbd 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -236,17 +236,16 @@ end # 082 - Dewey Decimal Classification Number (R) - Subfield: $a (R), $2 (NR) do list(path:"0820 |08200", "var":"$i") - set_array("subject[].$append.type[]","Concept") - add_field("subject[].$last.source.label","Dewey-Dezimalklassifikation") - add_field("subject[].$last.source.id","https://d-nb.info/gnd/4149423-4") do list(path:"$i.a", "var": "$j") - unless exists("subject[].$last.label") - copy_field("$i.a","subject[].$last.label") - lookup("subject[].$last.label", "deweyLabels") - copy_field("$i.a","subject[].$last.notation") - end + set_array("subject[].$append.type[]","Concept") + add_field("subject[].$last.source.label","Dewey-Dezimalklassifikation") + add_field("subject[].$last.source.id","https://d-nb.info/gnd/4149423-4") + copy_field("$j","subject[].$last.label") + lookup("subject[].$last.label", "deweyLabels") + copy_field("$j","subject[].$last.notation") + copy_field("$i.2","subject[].$last.version") + copy_field("$i.2","subject[].$last.version") end - copy_field("$i.2","subject[].$last.version") end # 084 - Other Classification Number (R) - Subfield: $a (R), $2 (NR) diff --git a/src/test/resources/alma-fix/99370746459806441.json b/src/test/resources/alma-fix/99370746459806441.json index 1c85aac0d..3e4f12aa9 100644 --- a/src/test/resources/alma-fix/99370746459806441.json +++ b/src/test/resources/alma-fix/99370746459806441.json @@ -98,6 +98,14 @@ "id" : "https://www.wikidata.org/wiki/Q47524318" }, "label" : "Logic, Symbolic and mathematical." + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "511.3/05", + "notation" : "511.3/05" }, { "type" : [ "Concept" ], "source" : { From ff52898a7fa0447f24ae5dadf9e13a8798c6306a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 15 Sep 2023 14:33:07 +0200 Subject: [PATCH 07/15] Use delete-option with lookup #1848 --- src/main/resources/alma/fix/subjects.fix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index 67667dcbd..d910832fa 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -241,7 +241,7 @@ do list(path:"0820 |08200", "var":"$i") add_field("subject[].$last.source.label","Dewey-Dezimalklassifikation") add_field("subject[].$last.source.id","https://d-nb.info/gnd/4149423-4") copy_field("$j","subject[].$last.label") - lookup("subject[].$last.label", "deweyLabels") + lookup("subject[].$last.label", "deweyLabels", delete:"true") copy_field("$j","subject[].$last.notation") copy_field("$i.2","subject[].$last.version") copy_field("$i.2","subject[].$last.version") From 8c9861951c36773ab5d57711a2de4096eb295133 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 29 Aug 2023 15:51:12 +0200 Subject: [PATCH 08/15] Change classification names for DNB and ZDB DDC Sachgruppen #1848 --- src/main/resources/alma/fix/subjects.fix | 12 ++++++- .../resources/alma/maps/classification.tsv | 4 +-- .../alma-fix/990053976760206441.json | 27 ++++++++++------ .../alma-fix/990054215550206441.json | 8 ++--- .../alma-fix/990054301770206441.json | 16 +++++----- .../alma-fix/990054345550206441.json | 22 ++++++++++--- .../alma-fix/990055981810206441.json | 24 +++++++------- .../alma-fix/990103770440206441.json | 20 ++++++------ .../alma-fix/990103899140206441.json | 4 +-- .../alma-fix/990104908070206441.json | 4 +-- .../alma-fix/990108740950206441.json | 12 +++---- .../alma-fix/990108873860206441.json | 4 +-- .../alma-fix/990108874370206441.json | 4 +-- .../alma-fix/990109712970206441.json | 11 +++++-- .../alma-fix/990113537330206441.json | 4 +-- .../alma-fix/990133067580206441.json | 12 +++---- .../alma-fix/990136041660206441.json | 12 +++---- .../alma-fix/990183054020206441.json | 15 ++++++--- .../alma-fix/990184127410206441.json | 4 +-- .../alma-fix/990193229450206441.json | 4 +-- .../alma-fix/990196925330206441.json | 4 +-- .../alma-fix/990204246530206441.json | 4 +-- .../alma-fix/990206060640206441.json | 4 +-- .../alma-fix/990209515320206441.json | 4 +-- .../alma-fix/990209817770206441.json | 4 +-- .../alma-fix/990210950050206441.json | 4 +-- .../alma-fix/990213367870206441.json | 4 +-- .../alma-fix/990213906490206441.json | 22 ++++++++++--- .../alma-fix/990217478660206441.json | 4 +-- .../alma-fix/990223521400206441.json | 4 +-- .../alma-fix/991005935279706485.json | 32 +++++++++---------- .../resources/alma-fix/99371050452706441.json | 4 +-- .../resources/alma-fix/99371981001306441.json | 8 ++--- 33 files changed, 192 insertions(+), 133 deletions(-) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index d910832fa..c9594a6bf 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -244,7 +244,6 @@ do list(path:"0820 |08200", "var":"$i") lookup("subject[].$last.label", "deweyLabels", delete:"true") copy_field("$j","subject[].$last.notation") copy_field("$i.2","subject[].$last.version") - copy_field("$i.2","subject[].$last.version") end end @@ -291,6 +290,17 @@ do list(path:"084??", "var":"$i") add_field("subject[].$last.source.label", "RPB-Sachsystematik") replace_all("subject[].$last.notation","rpb(.*)","$1") end + elsif any_match("$i.2", "sdnb|zdbs") + if any_equal("$i.q","DE-600") + add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") + add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") + elsif any_equal("$i.2","zdbs") + add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") + add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") + else + add_field("subject[].$last.source.label","Sachgruppen der DNB") + add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049") + end else copy_field("$i.2", "subject[].$last.source.label") lookup("subject[].$last.source.label","classificationCode2Label") diff --git a/src/main/resources/alma/maps/classification.tsv b/src/main/resources/alma/maps/classification.tsv index d8c06a339..eed98aa0b 100644 --- a/src/main/resources/alma/maps/classification.tsv +++ b/src/main/resources/alma/maps/classification.tsv @@ -1,5 +1,5 @@ udc UDC (Universal Decimal Classification) https://d-nb.info/gnd/4114037-0 -sdnb DNB (Systematik der Deutschen Nationalbibliographie) http://bartoc.org/en/node/18497 +sdnb Sachgruppen der DNB https://bartoc.org/en/node/20049 methepp Methode Eppelsheimer bkl BK (Basisklassifikation) http://bartoc.org/en/node/18785 rvk RVK (Regensburger Verbundklassifikation) https://d-nb.info/gnd/4449787-8 @@ -17,4 +17,4 @@ stub Systematik der TUB München http://bartoc.org/en/node/495 dopaed DOPAED der UB Erlangen ifzs IFZ-Systematik http://bartoc.org/en/node/1245 sbb Systematik der Bayerischen Bibliographie http://bartoc.org/en/node/1983 -zdbs ZDB-Systematik http://bartoc.org/en/node/18915 +zdbs DDC-Sachgruppen der ZDB https://zeitschriftendatenbank.de/fileadmin/user_upload/ZDB/pdf/zdbformat/5080.pdf diff --git a/src/test/resources/alma-fix/990053976760206441.json b/src/test/resources/alma-fix/990053976760206441.json index bd599eece..bc407dcbc 100644 --- a/src/test/resources/alma-fix/990053976760206441.json +++ b/src/test/resources/alma-fix/990053976760206441.json @@ -125,29 +125,29 @@ "notation" : "22", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "29", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "78", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "370", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "PHY 002z", @@ -170,12 +170,19 @@ "label" : "RVK (Regensburger Verbundklassifikation)", "id" : "https://d-nb.info/gnd/4449787-8" } + }, { + "notation" : "370", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + } }, { "notation" : "530", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990054215550206441.json b/src/test/resources/alma-fix/990054215550206441.json index b5f0ca94a..9be3659cc 100644 --- a/src/test/resources/alma-fix/990054215550206441.json +++ b/src/test/resources/alma-fix/990054215550206441.json @@ -114,15 +114,15 @@ "notation" : "050", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "310", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990054301770206441.json b/src/test/resources/alma-fix/990054301770206441.json index 2b19f8a52..63fb5178f 100644 --- a/src/test/resources/alma-fix/990054301770206441.json +++ b/src/test/resources/alma-fix/990054301770206441.json @@ -108,29 +108,29 @@ "notation" : "40", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "61", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "640", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "910", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990054345550206441.json b/src/test/resources/alma-fix/990054345550206441.json index b256ee377..56c752224 100644 --- a/src/test/resources/alma-fix/990054345550206441.json +++ b/src/test/resources/alma-fix/990054345550206441.json @@ -134,15 +134,29 @@ "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" + } + }, { + "notation" : "914.3", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + } + }, { + "notation" : "943", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990055981810206441.json b/src/test/resources/alma-fix/990055981810206441.json index a5431e883..a680988bb 100644 --- a/src/test/resources/alma-fix/990055981810206441.json +++ b/src/test/resources/alma-fix/990055981810206441.json @@ -118,36 +118,36 @@ "notation" : "61", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "63", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "900", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "910", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "id" : "https://nwbib.de/subjects#N240000", @@ -171,8 +171,8 @@ "notation" : "060", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990103770440206441.json b/src/test/resources/alma-fix/990103770440206441.json index 195301bd9..b4f00507d 100644 --- a/src/test/resources/alma-fix/990103770440206441.json +++ b/src/test/resources/alma-fix/990103770440206441.json @@ -104,36 +104,36 @@ "notation" : "340", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "350", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "070", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "subjectslabels" : [ "Gemeindebrief" ], diff --git a/src/test/resources/alma-fix/990103899140206441.json b/src/test/resources/alma-fix/990103899140206441.json index 938525199..cc72d083c 100644 --- a/src/test/resources/alma-fix/990103899140206441.json +++ b/src/test/resources/alma-fix/990103899140206441.json @@ -94,8 +94,8 @@ "notation" : "310", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990104908070206441.json b/src/test/resources/alma-fix/990104908070206441.json index 8eabfc78a..726242e93 100644 --- a/src/test/resources/alma-fix/990104908070206441.json +++ b/src/test/resources/alma-fix/990104908070206441.json @@ -100,8 +100,8 @@ "notation" : "330", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990108740950206441.json b/src/test/resources/alma-fix/990108740950206441.json index 0198aeed3..22aa538a7 100644 --- a/src/test/resources/alma-fix/990108740950206441.json +++ b/src/test/resources/alma-fix/990108740950206441.json @@ -122,22 +122,22 @@ "notation" : "070", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "630", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "640", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990108873860206441.json b/src/test/resources/alma-fix/990108873860206441.json index 9c5ea5f60..79e7fb116 100644 --- a/src/test/resources/alma-fix/990108873860206441.json +++ b/src/test/resources/alma-fix/990108873860206441.json @@ -112,8 +112,8 @@ "notation" : "610", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990108874370206441.json b/src/test/resources/alma-fix/990108874370206441.json index d46896a91..858707b2b 100644 --- a/src/test/resources/alma-fix/990108874370206441.json +++ b/src/test/resources/alma-fix/990108874370206441.json @@ -123,8 +123,8 @@ "notation" : "390", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index 50573853c..30fce407a 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -148,8 +148,15 @@ "notation" : "780", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" + } + }, { + "notation" : "780", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990113537330206441.json b/src/test/resources/alma-fix/990113537330206441.json index ccc0c930c..e0321bb74 100644 --- a/src/test/resources/alma-fix/990113537330206441.json +++ b/src/test/resources/alma-fix/990113537330206441.json @@ -97,8 +97,8 @@ "notation" : "380", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990133067580206441.json b/src/test/resources/alma-fix/990133067580206441.json index 864357d0d..c438a3828 100644 --- a/src/test/resources/alma-fix/990133067580206441.json +++ b/src/test/resources/alma-fix/990133067580206441.json @@ -123,22 +123,22 @@ "notation" : "010", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990136041660206441.json b/src/test/resources/alma-fix/990136041660206441.json index 1d63ae2ef..f26a90a72 100644 --- a/src/test/resources/alma-fix/990136041660206441.json +++ b/src/test/resources/alma-fix/990136041660206441.json @@ -139,22 +139,22 @@ "notation" : "050", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990183054020206441.json b/src/test/resources/alma-fix/990183054020206441.json index a87c1594a..040b22609 100644 --- a/src/test/resources/alma-fix/990183054020206441.json +++ b/src/test/resources/alma-fix/990183054020206441.json @@ -122,15 +122,22 @@ "notation" : "360", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "610", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" + } + }, { + "notation" : "610", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990184127410206441.json b/src/test/resources/alma-fix/990184127410206441.json index 24ef8a4fa..4df16db15 100644 --- a/src/test/resources/alma-fix/990184127410206441.json +++ b/src/test/resources/alma-fix/990184127410206441.json @@ -130,8 +130,8 @@ "notation" : "300", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990193229450206441.json b/src/test/resources/alma-fix/990193229450206441.json index 57dae2ab0..e1b265d45 100644 --- a/src/test/resources/alma-fix/990193229450206441.json +++ b/src/test/resources/alma-fix/990193229450206441.json @@ -152,8 +152,8 @@ "notation" : "900", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990196925330206441.json b/src/test/resources/alma-fix/990196925330206441.json index 9e2cab00a..25c4bc50e 100644 --- a/src/test/resources/alma-fix/990196925330206441.json +++ b/src/test/resources/alma-fix/990196925330206441.json @@ -105,8 +105,8 @@ "notation" : "070", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990204246530206441.json b/src/test/resources/alma-fix/990204246530206441.json index ab822f293..81ce5dc5a 100644 --- a/src/test/resources/alma-fix/990204246530206441.json +++ b/src/test/resources/alma-fix/990204246530206441.json @@ -125,8 +125,8 @@ "notation" : "900", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990206060640206441.json b/src/test/resources/alma-fix/990206060640206441.json index 70663b00e..b57940416 100644 --- a/src/test/resources/alma-fix/990206060640206441.json +++ b/src/test/resources/alma-fix/990206060640206441.json @@ -112,8 +112,8 @@ "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "330", diff --git a/src/test/resources/alma-fix/990209515320206441.json b/src/test/resources/alma-fix/990209515320206441.json index c20f2162d..e3d9aed0e 100644 --- a/src/test/resources/alma-fix/990209515320206441.json +++ b/src/test/resources/alma-fix/990209515320206441.json @@ -83,8 +83,8 @@ "notation" : "785.13", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } } ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990209817770206441.json b/src/test/resources/alma-fix/990209817770206441.json index 26a7f1f2c..bd942df85 100644 --- a/src/test/resources/alma-fix/990209817770206441.json +++ b/src/test/resources/alma-fix/990209817770206441.json @@ -94,8 +94,8 @@ "notation" : "900", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "id" : "https://nwbib.de/subjects#N102000", diff --git a/src/test/resources/alma-fix/990210950050206441.json b/src/test/resources/alma-fix/990210950050206441.json index c4191a78d..b2a577a9d 100644 --- a/src/test/resources/alma-fix/990210950050206441.json +++ b/src/test/resources/alma-fix/990210950050206441.json @@ -105,8 +105,8 @@ "notation" : "700", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "id" : "https://nwbib.de/subjects#N841070", diff --git a/src/test/resources/alma-fix/990213367870206441.json b/src/test/resources/alma-fix/990213367870206441.json index a1b1deb1d..1304c36e3 100644 --- a/src/test/resources/alma-fix/990213367870206441.json +++ b/src/test/resources/alma-fix/990213367870206441.json @@ -103,8 +103,8 @@ "notation" : "720", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } } ], "subjectslabels" : [ "CDF/CIF-Test", "Frost-Tausalzwiderstand", "Hochleistungsbeton" ], diff --git a/src/test/resources/alma-fix/990213906490206441.json b/src/test/resources/alma-fix/990213906490206441.json index 759aebf67..98086f753 100644 --- a/src/test/resources/alma-fix/990213906490206441.json +++ b/src/test/resources/alma-fix/990213906490206441.json @@ -101,15 +101,29 @@ "notation" : "830", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "B", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" + } + }, { + "notation" : "830", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + } + }, { + "notation" : "B", + "type" : [ "Concept" ], + "source" : { + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990217478660206441.json b/src/test/resources/alma-fix/990217478660206441.json index 7881c77bd..f7bf907ee 100644 --- a/src/test/resources/alma-fix/990217478660206441.json +++ b/src/test/resources/alma-fix/990217478660206441.json @@ -188,8 +188,8 @@ "notation" : "720", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/990223521400206441.json b/src/test/resources/alma-fix/990223521400206441.json index 57d41cc01..87dc9d13b 100644 --- a/src/test/resources/alma-fix/990223521400206441.json +++ b/src/test/resources/alma-fix/990223521400206441.json @@ -196,8 +196,8 @@ "notation" : "004", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "type" : [ "ComplexSubject" ], diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index 25f7f884d..5e9e94e66 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -159,57 +159,57 @@ "notation" : "22", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "17", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "370", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "330", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "notation" : "280", "type" : [ "Concept" ], "source" : { - "label" : "ZDB-Systematik", - "id" : "http://bartoc.org/en/node/18915" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "370", "type" : [ "Concept" ], "source" : { - "label" : "ZDB-Systematik", - "id" : "http://bartoc.org/en/node/18915" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "330", "type" : [ "Concept" ], "source" : { - "label" : "ZDB-Systematik", - "id" : "http://bartoc.org/en/node/18915" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "630", "type" : [ "Concept" ], "source" : { - "label" : "ZDB-Systematik", - "id" : "http://bartoc.org/en/node/18915" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/99371050452706441.json b/src/test/resources/alma-fix/99371050452706441.json index 2f6ac910d..b75f785ce 100644 --- a/src/test/resources/alma-fix/99371050452706441.json +++ b/src/test/resources/alma-fix/99371050452706441.json @@ -156,8 +156,8 @@ "notation" : "340", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "Sachgruppen der DNB", + "id" : "https://bartoc.org/en/node/20049" } }, { "id" : "https://nwbib.de/subjects#N584000", diff --git a/src/test/resources/alma-fix/99371981001306441.json b/src/test/resources/alma-fix/99371981001306441.json index 780cd9171..a73c2fff0 100644 --- a/src/test/resources/alma-fix/99371981001306441.json +++ b/src/test/resources/alma-fix/99371981001306441.json @@ -107,15 +107,15 @@ "notation" : "333.7", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } }, { "notation" : "621.3", "type" : [ "Concept" ], "source" : { - "label" : "DNB (Systematik der Deutschen Nationalbibliographie)", - "id" : "http://bartoc.org/en/node/18497" + "label" : "DDC-Sachgruppen der ZDB", + "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" } } ], "medium" : [ { From 75f74cf82018b2000e4119686957616fd181b4d4 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 29 Aug 2023 16:11:06 +0200 Subject: [PATCH 09/15] Distinguish between old classification system and DDC based #1848 --- src/main/resources/alma/fix/subjects.fix | 23 +++++++++++-------- .../alma-fix/990053976760206441.json | 12 +++++----- .../alma-fix/990054301770206441.json | 8 +++---- .../alma-fix/990055981810206441.json | 8 +++---- .../alma-fix/991005935279706485.json | 8 +++---- 5 files changed, 32 insertions(+), 27 deletions(-) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index c9594a6bf..47d9f26c9 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -291,15 +291,20 @@ do list(path:"084??", "var":"$i") replace_all("subject[].$last.notation","rpb(.*)","$1") end elsif any_match("$i.2", "sdnb|zdbs") - if any_equal("$i.q","DE-600") - add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") - add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") - elsif any_equal("$i.2","zdbs") - add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") - add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") - else - add_field("subject[].$last.source.label","Sachgruppen der DNB") - add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049") + if any_match("$j","\\d{3}(\\.\\d{1,3})?|[BKS]") + if any_equal("$i.q","DE-600") + add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") + add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") + elsif any_equal("$i.2","zdbs") + add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") + add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") + else + add_field("subject[].$last.source.label","Sachgruppen der DNB") + add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049") + end + elsif any_match("$j","\\d{2}") + add_field("subject[].$last.source.label","Systematik der DNB (bis 2003)") + add_field("subject[].$last.source.id","https://bartoc.org/en/node/18497") end else copy_field("$i.2", "subject[].$last.source.label") diff --git a/src/test/resources/alma-fix/990053976760206441.json b/src/test/resources/alma-fix/990053976760206441.json index bc407dcbc..32cae887c 100644 --- a/src/test/resources/alma-fix/990053976760206441.json +++ b/src/test/resources/alma-fix/990053976760206441.json @@ -125,22 +125,22 @@ "notation" : "22", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "29", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "78", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "370", diff --git a/src/test/resources/alma-fix/990054301770206441.json b/src/test/resources/alma-fix/990054301770206441.json index 63fb5178f..4eb5d43e6 100644 --- a/src/test/resources/alma-fix/990054301770206441.json +++ b/src/test/resources/alma-fix/990054301770206441.json @@ -108,15 +108,15 @@ "notation" : "40", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "61", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "640", diff --git a/src/test/resources/alma-fix/990055981810206441.json b/src/test/resources/alma-fix/990055981810206441.json index a680988bb..568e74bdf 100644 --- a/src/test/resources/alma-fix/990055981810206441.json +++ b/src/test/resources/alma-fix/990055981810206441.json @@ -118,15 +118,15 @@ "notation" : "61", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "63", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "900", diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index 5e9e94e66..cd599091a 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -159,15 +159,15 @@ "notation" : "22", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "17", "type" : [ "Concept" ], "source" : { - "label" : "Sachgruppen der DNB", - "id" : "https://bartoc.org/en/node/20049" + "label" : "Systematik der DNB (bis 2003)", + "id" : "https://bartoc.org/en/node/18497" } }, { "notation" : "370", From f96379cb28c88377ad4698d66ddec8d3986e3e56 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 29 Aug 2023 16:39:04 +0200 Subject: [PATCH 10/15] Introduce lookup for DDC Sachgruppen der DNB and ZDB Based on https://www.dnb.de/SharedDocs/Downloads/DE/Professionell/DDC/ddcSachgruppenMundTAb2020.pdf?__blob=publicationFile&v=1 and https://www.dnb.de/SharedDocs/Downloads/DE/Professionell/DDC/ddcSachgruppenDNBAb2013.pdf?__blob=publicationFile&v=7 --- .../run/AlmaMarcXmlFix2lobidJsonEs.java | 1 + src/main/resources/alma/fix/maps.fix | 1 + src/main/resources/alma/fix/subjects.fix | 2 + .../resources/alma/maps/dnbSachgruppen.tsv | 177 ++++++++++++++++++ .../AlmaMarc21XmlToLobidJsonMetafixTest.java | 1 + .../alma-fix/990053976760206441.json | 9 +- .../alma-fix/990054215550206441.json | 6 +- .../alma-fix/990054301770206441.json | 6 +- .../alma-fix/990054345550206441.json | 12 +- .../alma-fix/990055981810206441.json | 12 +- .../alma-fix/990103770440206441.json | 15 +- .../alma-fix/990103899140206441.json | 3 +- .../alma-fix/990104908070206441.json | 3 +- .../alma-fix/990108740950206441.json | 9 +- .../alma-fix/990108873860206441.json | 3 +- .../alma-fix/990108874370206441.json | 3 +- .../alma-fix/990109712970206441.json | 6 +- .../alma-fix/990113537330206441.json | 3 +- .../alma-fix/990133067580206441.json | 9 +- .../alma-fix/990136041660206441.json | 9 +- .../alma-fix/990183054020206441.json | 9 +- .../alma-fix/990184127410206441.json | 3 +- .../alma-fix/990193229450206441.json | 3 +- .../alma-fix/990196925330206441.json | 3 +- .../alma-fix/990204246530206441.json | 3 +- .../alma-fix/990206060640206441.json | 3 +- .../alma-fix/990209515320206441.json | 3 +- .../alma-fix/990209817770206441.json | 3 +- .../alma-fix/990210950050206441.json | 3 +- .../alma-fix/990213367870206441.json | 3 +- .../alma-fix/990213906490206441.json | 12 +- .../alma-fix/990217478660206441.json | 3 +- .../alma-fix/990223521400206441.json | 3 +- .../alma-fix/991005935279706485.json | 21 ++- .../resources/alma-fix/99371050452706441.json | 3 +- .../resources/alma-fix/99371981001306441.json | 6 +- 36 files changed, 310 insertions(+), 64 deletions(-) create mode 100644 src/main/resources/alma/maps/dnbSachgruppen.tsv diff --git a/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java b/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java index 7f8e8a3bd..69c8f129a 100644 --- a/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java +++ b/src/main/java/org/lobid/resources/run/AlmaMarcXmlFix2lobidJsonEs.java @@ -116,6 +116,7 @@ public void run() { fixVariables.put("institution-code", "DE-605"); // the './' is mandatory to get play to use the "conf" directory. Base is the root directory of the fix, which is "alma": fixVariables.put("deweyLabels", "./maps/deweyLabels.tsv"); + fixVariables.put("dnbSachgruppen", "./maps/dnbSachgruppen.tsv"); fixVariables.put("nwbib-spatial", "./../nwbib-spatial.tsv"); fixVariables.put("wd_itemLabelTypesCoordinates", "./../wd_itemLabelTypesCoordinates.tsv"); fixVariables.put("maps-institutions.tsv", "./maps/institutions.tsv"); diff --git a/src/main/resources/alma/fix/maps.fix b/src/main/resources/alma/fix/maps.fix index 8a4979a00..498aabd5a 100644 --- a/src/main/resources/alma/fix/maps.fix +++ b/src/main/resources/alma/fix/maps.fix @@ -21,6 +21,7 @@ put_filemap("$[nwbibWikidataLabelTypeCoords.tsv]","nwbibWikidataGeodata", sep_ch # DDC & DNB-Sachgruppen put_filemap("$[deweyLabels]","deweyLabels",sep_char:"\t") +put_filemap("$[dnbSachgruppen]","dnbSachgruppen",sep_char:"\t") # Library Classifications put_filemap("$[classification.tsv]","classificationCode2Label", 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 47d9f26c9..157991ed7 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -302,6 +302,8 @@ do list(path:"084??", "var":"$i") add_field("subject[].$last.source.label","Sachgruppen der DNB") add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049") end + copy_field("$j","subject[].$last.label") + lookup("subject[].$last.label", "dnbSachgruppen", delete:"true") elsif any_match("$j","\\d{2}") add_field("subject[].$last.source.label","Systematik der DNB (bis 2003)") add_field("subject[].$last.source.id","https://bartoc.org/en/node/18497") diff --git a/src/main/resources/alma/maps/dnbSachgruppen.tsv b/src/main/resources/alma/maps/dnbSachgruppen.tsv new file mode 100644 index 000000000..ec1520b31 --- /dev/null +++ b/src/main/resources/alma/maps/dnbSachgruppen.tsv @@ -0,0 +1,177 @@ +000 Allgemeines, Wissenschaft +004 Informatik +010 Bibliografien +020 Bibliotheks- und Informationswissenschaft +030 Enzyklopädien +050 Zeitschriften, fortlaufende Sammelwerke +060 Organisationen, Museumswissenschaft +070 Nachrichtenmedien, Journalismus, Verlagswesen +080 Allgemeine Sammelwerke +090 Handschriften, seltene Bücher +100 Philosophie +130 Parapsychologie, Okkultismus +150 Psychologie +200 Religion, Religionsphilosophie +220 Bibel +230 Theologie, Christentum +290 Andere Religionen +300 Sozialwissenschaften, Soziologie, Anthropologie +310 Allgemeine Statistiken +320 Politik +330 Wirtschaft +333.7 Natürliche Ressourcen, Energie und Umwelt +340 Recht +350 Öffentliche Verwaltung +355 Militär +360 Soziale Probleme, Sozialdienste, Versicherungen +370 Erziehung, Schul- und Bildungswesen +380 Handel, Kommunikation, Verkehr +390 Bräuche, Etikette, Folklore +400 Sprache, Linguistik +420 Englisch +430 Deutsch +439 Andere germanische Sprachen +440 Französisch, romanische Sprachen allgemein +450 Italienisch, Rumänisch, Rätoromanisch +460 Spanisch, Portugiesisch +470 Latein +480 Griechisch +490 Andere Sprachen +491.8 Slawische Sprachen +500 Naturwissenschaften +510 Mathematik +520 Astronomie, Kartografie +530 Physik +540 Chemie +550 Geowissenschaften +560 Paläontologie +570 Biowissenschaften, Biologie +580 Pflanzen (Botanik) +590 Tiere (Zoologie) +600 Technik +610 Medizin, Gesundheit +620 Ingenieurwissenschaften und Maschinenbau +621.3 Elektrotechnik, Elektronik +624 Ingenieurbau und Umwelttechnik +630 Landwirtschaft, Veterinärmedizin +640 Hauswirtschaft und Familienleben +650 Management +660 Technische Chemie +670 Industrielle und handwerkliche Fertigung +690 Hausbau, Bauhandwerk +700 Künste, Bildende Kunst allgemein +710 Landschaftsgestaltung, Raumplanung +720 Architektur +730 Plastik, Numismatik, Keramik, Metallkunst +740 Grafik, angewandte Kunst +741.5 Comics, Cartoons, Karikaturen +750 Malerei +760 Druckgrafik, Drucke +770 Fotografie, Video, Computerkunst +780 Musik +790 Freizeitgestaltung, Darstellende Kunst +791 Öffentliche Darbietungen, Film, Rundfunk +792 Theater, Tanz +793 Spiel +796 Sport +800 Literatur, Rhetorik, Literaturwissenschaft +810 Englische Literatur Amerikas +820 Englische Literatur +830 Deutsche Literatur +839 Literatur in anderen germanischen Sprachen +840 Französische Literatur +850 Italienische, rumänische, rätoromanische Literatur +860 Spanische und portugiesische Literatur +870 Lateinische Literatur +880 Griechische Literatur +890 Literatur in anderen Sprachen +891.8 Slawische Literatur +900 Geschichte +910 Geografie, Reisen +914.3 Geografie, Reisen (Deutschland) +914.94 Geografie, Reisen (Schweiz) +914.36 Geografie, Reisen (Österreich +920 Biografie, Genealogie, Heraldik +930 Alte Geschichte, Archäologie +940 Geschichte Europas +943 Geschichte Deutschlands +949.4 Geschichte der Schweiz +943.6 Geschichte Österreichs +950 Geschichte Asiens +960 Geschichte Afrikas +970 Geschichte Nordamerikas +980 Geschichte Südamerikas +990 Geschichte der übrigen Welt +B Belletristik +K Kinder- und Jugendliteratur +S Schulbücher +780 Musik allgemein +780.7 Unterrichtswerke +780.9 Musik allgemein mit zeitlichem, regionalem oder biografischem Bezug +781 Musik nach Gattungen +781.54 Hintergrund- und Stimmungsmusik +781.542 Filmmusik +781.556 Ballettmusik +781.62 Volksmusik +781.64 Unterhaltungsmusik +781.642 Countrymusik +781.643 Blues und Soul +781.646 Reggae +781.648 Electronica +781.649 Rap +781.65 Jazz +781.666 Rockmusik +781.687 Klassische Musik +782 Vokalmusik +782.1 Musikalische Bühnenwerke +782.22 Geistliche Vokalmusik +782.25 Geistliche Lieder +782.4 Weltliche Vokalmusik +782.5 Chormusik für gemischte Stimmen +782.6 Chormusik für Frauenstimmen +782.7 Chormusik für Kinder- und Jugendstimmen +782.8 Chormusik für Männerstimmen +783 Vokalmusik für Einzelstimmen +784 Orchestermusik +784.23 Orchester mit Soloinstrument(en) +784.8 Blasorchester +785 Kammermusik +785.12 Duos +785.13 Trios +785.14 Quartette +785.15 Quintette und mehr +786 Tasten- und Schlaginstrumente, mechanische und elektronische Instrumente +786.2 Klavier +786.4 Cembalo +786.5 Orgel +786.6 mechanische Instrumente +786.7 elektronische Instrumente +786.8 Schlaginstrumente +787 Saiteninstrumente +787.2 Violine +787.3 Viola +787.4 Violoncello +787.5 Kontrabass +787.6 andere Streichinstrumente +787.8 Zupfinstrumente +787.838 Laute +787.849 Mandoline +787.871 Gitarre +787.9 Harfe +788 Blasinstrumente +788.3 Flöten +788.321 Querflöte +788.361 Blockflöte +788.4 Rohrblattinstrumente +788.521 Oboe +788.581 Fagott +788.621 Klarinette +788.716 Saxophon +788.8 Akkordeon, Mundharmonika +788.92 Trompete +788.93 Posaune +788.94 Horn +788.96 Kornett +788.97 Flügelhorn +788.98 Tuba +788.99 andere Blechblasinstrumente \ No newline at end of file diff --git a/src/test/java/org/lobid/resources/AlmaMarc21XmlToLobidJsonMetafixTest.java b/src/test/java/org/lobid/resources/AlmaMarc21XmlToLobidJsonMetafixTest.java index 72db2a1c1..99379889b 100644 --- a/src/test/java/org/lobid/resources/AlmaMarc21XmlToLobidJsonMetafixTest.java +++ b/src/test/java/org/lobid/resources/AlmaMarc21XmlToLobidJsonMetafixTest.java @@ -60,6 +60,7 @@ public void setup() { fixVariables.put("createEndTime", "0"); // 0 <=> false fixVariables.put("institution-code", "DE-605"); fixVariables.put("deweyLabels", "src/test/resources/deweyLabels.tsv"); + fixVariables.put("dnbSachgruppen", "src/main/resources/alma/maps/dnbSachgruppen.tsv"); fixVariables.put("nwbib-spatial", "src/main/resources/nwbib-spatial.tsv"); fixVariables.put("wd_itemLabelTypesCoordinates", "src/main/resources/wd_itemLabelTypesCoordinates.tsv"); fixVariables.put("classification.tsv", "src/main/resources/alma/maps/classification.tsv"); diff --git a/src/test/resources/alma-fix/990053976760206441.json b/src/test/resources/alma-fix/990053976760206441.json index 32cae887c..90efb79f0 100644 --- a/src/test/resources/alma-fix/990053976760206441.json +++ b/src/test/resources/alma-fix/990053976760206441.json @@ -148,7 +148,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Erziehung, Schul- und Bildungswesen" }, { "notation" : "PHY 002z", "type" : [ "Concept" ], @@ -176,14 +177,16 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Erziehung, Schul- und Bildungswesen" }, { "notation" : "530", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Physik" }, { "type" : [ "ComplexSubject" ], "label" : "Physikunterricht", diff --git a/src/test/resources/alma-fix/990054215550206441.json b/src/test/resources/alma-fix/990054215550206441.json index 9be3659cc..e10602e2d 100644 --- a/src/test/resources/alma-fix/990054215550206441.json +++ b/src/test/resources/alma-fix/990054215550206441.json @@ -116,14 +116,16 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Zeitschriften, fortlaufende Sammelwerke" }, { "notation" : "310", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Allgemeine Statistiken" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990054301770206441.json b/src/test/resources/alma-fix/990054301770206441.json index 4eb5d43e6..62d42c3ca 100644 --- a/src/test/resources/alma-fix/990054301770206441.json +++ b/src/test/resources/alma-fix/990054301770206441.json @@ -124,14 +124,16 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Hauswirtschaft und Familienleben" }, { "notation" : "910", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geografie, Reisen" }, { "type" : [ "ComplexSubject" ], "label" : "Deutschland (Bundesrepublik) | Tourismus | Adressbuch", diff --git a/src/test/resources/alma-fix/990054345550206441.json b/src/test/resources/alma-fix/990054345550206441.json index 56c752224..a847c4bab 100644 --- a/src/test/resources/alma-fix/990054345550206441.json +++ b/src/test/resources/alma-fix/990054345550206441.json @@ -136,28 +136,32 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geschichte Deutschlands" }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geografie, Reisen (Deutschland)" }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geografie, Reisen (Deutschland)" }, { "notation" : "943", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geschichte Deutschlands" }, { "type" : [ "ComplexSubject" ], "label" : "Aachen-Eilendorf | Heimatkunde | Zeitschrift", diff --git a/src/test/resources/alma-fix/990055981810206441.json b/src/test/resources/alma-fix/990055981810206441.json index 568e74bdf..d284cdbc1 100644 --- a/src/test/resources/alma-fix/990055981810206441.json +++ b/src/test/resources/alma-fix/990055981810206441.json @@ -134,21 +134,24 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geschichte" }, { "notation" : "910", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geografie, Reisen" }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geografie, Reisen (Deutschland)" }, { "id" : "https://nwbib.de/subjects#N240000", "label" : "Geschichte", @@ -173,7 +176,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Organisationen, Museumswissenschaft" }, { "type" : [ "ComplexSubject" ], "label" : "Bochum | Geschichte | Zeitschrift", diff --git a/src/test/resources/alma-fix/990103770440206441.json b/src/test/resources/alma-fix/990103770440206441.json index b4f00507d..d3e83da79 100644 --- a/src/test/resources/alma-fix/990103770440206441.json +++ b/src/test/resources/alma-fix/990103770440206441.json @@ -106,35 +106,40 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Recht" }, { "notation" : "350", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Öffentliche Verwaltung" }, { "notation" : "070", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geografie, Reisen (Deutschland)" }, { "notation" : "943", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geschichte Deutschlands" } ], "subjectslabels" : [ "Gemeindebrief" ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990103899140206441.json b/src/test/resources/alma-fix/990103899140206441.json index cc72d083c..597d6f503 100644 --- a/src/test/resources/alma-fix/990103899140206441.json +++ b/src/test/resources/alma-fix/990103899140206441.json @@ -96,7 +96,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Allgemeine Statistiken" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990104908070206441.json b/src/test/resources/alma-fix/990104908070206441.json index 726242e93..a886af64d 100644 --- a/src/test/resources/alma-fix/990104908070206441.json +++ b/src/test/resources/alma-fix/990104908070206441.json @@ -102,7 +102,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Wirtschaft" } ], "medium" : [ { "label" : "Mikroformat", diff --git a/src/test/resources/alma-fix/990108740950206441.json b/src/test/resources/alma-fix/990108740950206441.json index 22aa538a7..e6b9b21d1 100644 --- a/src/test/resources/alma-fix/990108740950206441.json +++ b/src/test/resources/alma-fix/990108740950206441.json @@ -124,21 +124,24 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" }, { "notation" : "630", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Landwirtschaft, Veterinärmedizin" }, { "notation" : "640", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Hauswirtschaft und Familienleben" } ], "medium" : [ { "label" : "Print", diff --git a/src/test/resources/alma-fix/990108873860206441.json b/src/test/resources/alma-fix/990108873860206441.json index 79e7fb116..971b8c03b 100644 --- a/src/test/resources/alma-fix/990108873860206441.json +++ b/src/test/resources/alma-fix/990108873860206441.json @@ -114,7 +114,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Medizin, Gesundheit" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990108874370206441.json b/src/test/resources/alma-fix/990108874370206441.json index 858707b2b..6fc605b50 100644 --- a/src/test/resources/alma-fix/990108874370206441.json +++ b/src/test/resources/alma-fix/990108874370206441.json @@ -125,7 +125,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Bräuche, Etikette, Folklore" }, { "type" : [ "ComplexSubject" ], "label" : "Anthropologie | Zeitschrift | Online-Ressource", diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index 30fce407a..75cefec41 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -150,14 +150,16 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Musik allgemein" }, { "notation" : "780", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Musik allgemein" }, { "type" : [ "ComplexSubject" ], "label" : "Beethoven, Ludwig van", diff --git a/src/test/resources/alma-fix/990113537330206441.json b/src/test/resources/alma-fix/990113537330206441.json index e0321bb74..dd363d2b8 100644 --- a/src/test/resources/alma-fix/990113537330206441.json +++ b/src/test/resources/alma-fix/990113537330206441.json @@ -99,7 +99,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Handel, Kommunikation, Verkehr" } ], "medium" : [ { "label" : "Print", diff --git a/src/test/resources/alma-fix/990133067580206441.json b/src/test/resources/alma-fix/990133067580206441.json index c438a3828..1c42588a8 100644 --- a/src/test/resources/alma-fix/990133067580206441.json +++ b/src/test/resources/alma-fix/990133067580206441.json @@ -125,21 +125,24 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Bibliografien" }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geografie, Reisen (Deutschland)" }, { "notation" : "943", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geschichte Deutschlands" }, { "type" : [ "ComplexSubject" ], "label" : "Nordrhein-Westfalen | Landeskunde | Regionalliteratur", diff --git a/src/test/resources/alma-fix/990136041660206441.json b/src/test/resources/alma-fix/990136041660206441.json index f26a90a72..07b5c30b4 100644 --- a/src/test/resources/alma-fix/990136041660206441.json +++ b/src/test/resources/alma-fix/990136041660206441.json @@ -141,21 +141,24 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Zeitschriften, fortlaufende Sammelwerke" }, { "notation" : "914.3", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geografie, Reisen (Deutschland)" }, { "notation" : "943", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geschichte Deutschlands" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990183054020206441.json b/src/test/resources/alma-fix/990183054020206441.json index 040b22609..5a0d42b9d 100644 --- a/src/test/resources/alma-fix/990183054020206441.json +++ b/src/test/resources/alma-fix/990183054020206441.json @@ -124,21 +124,24 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Soziale Probleme, Sozialdienste, Versicherungen" }, { "notation" : "610", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Medizin, Gesundheit" }, { "notation" : "610", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Medizin, Gesundheit" }, { "type" : [ "ComplexSubject" ], "label" : "PsychiatrieVerbund Westfalen. Beschwerdekommission | Bericht", diff --git a/src/test/resources/alma-fix/990184127410206441.json b/src/test/resources/alma-fix/990184127410206441.json index 4df16db15..86fae409a 100644 --- a/src/test/resources/alma-fix/990184127410206441.json +++ b/src/test/resources/alma-fix/990184127410206441.json @@ -132,7 +132,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Sozialwissenschaften, Soziologie, Anthropologie" }, { "type" : [ "ComplexSubject" ], "label" : "Düsseldorf | Wohnungsmarkt | Online-Publikation | Zeitschrift", diff --git a/src/test/resources/alma-fix/990193229450206441.json b/src/test/resources/alma-fix/990193229450206441.json index e1b265d45..4187e504e 100644 --- a/src/test/resources/alma-fix/990193229450206441.json +++ b/src/test/resources/alma-fix/990193229450206441.json @@ -154,7 +154,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Geschichte" }, { "type" : [ "ComplexSubject" ], "label" : "Westfalen | Landeskunde | Bibliographie 1800-1940 | Online-Publikation", diff --git a/src/test/resources/alma-fix/990196925330206441.json b/src/test/resources/alma-fix/990196925330206441.json index 25c4bc50e..0787a47e8 100644 --- a/src/test/resources/alma-fix/990196925330206441.json +++ b/src/test/resources/alma-fix/990196925330206441.json @@ -107,7 +107,8 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" } ], "medium" : [ { "label" : "Mikroformat", diff --git a/src/test/resources/alma-fix/990204246530206441.json b/src/test/resources/alma-fix/990204246530206441.json index 81ce5dc5a..5f6be2228 100644 --- a/src/test/resources/alma-fix/990204246530206441.json +++ b/src/test/resources/alma-fix/990204246530206441.json @@ -127,7 +127,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geschichte" }, { "type" : [ "ComplexSubject" ], "label" : "Mötsch, Johannes", diff --git a/src/test/resources/alma-fix/990206060640206441.json b/src/test/resources/alma-fix/990206060640206441.json index b57940416..b3f6b7b85 100644 --- a/src/test/resources/alma-fix/990206060640206441.json +++ b/src/test/resources/alma-fix/990206060640206441.json @@ -114,7 +114,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geschichte Deutschlands" }, { "notation" : "330", "type" : [ "Concept" ], diff --git a/src/test/resources/alma-fix/990209515320206441.json b/src/test/resources/alma-fix/990209515320206441.json index e3d9aed0e..37bfbd720 100644 --- a/src/test/resources/alma-fix/990209515320206441.json +++ b/src/test/resources/alma-fix/990209515320206441.json @@ -85,7 +85,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Trios" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990209817770206441.json b/src/test/resources/alma-fix/990209817770206441.json index bd942df85..2a1868efd 100644 --- a/src/test/resources/alma-fix/990209817770206441.json +++ b/src/test/resources/alma-fix/990209817770206441.json @@ -96,7 +96,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Geschichte" }, { "id" : "https://nwbib.de/subjects#N102000", "label" : "Landesbeschreibungen", diff --git a/src/test/resources/alma-fix/990210950050206441.json b/src/test/resources/alma-fix/990210950050206441.json index b2a577a9d..782204e53 100644 --- a/src/test/resources/alma-fix/990210950050206441.json +++ b/src/test/resources/alma-fix/990210950050206441.json @@ -107,7 +107,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Künste, Bildende Kunst allgemein" }, { "id" : "https://nwbib.de/subjects#N841070", "label" : "Künstler", diff --git a/src/test/resources/alma-fix/990213367870206441.json b/src/test/resources/alma-fix/990213367870206441.json index 1304c36e3..8e346fb01 100644 --- a/src/test/resources/alma-fix/990213367870206441.json +++ b/src/test/resources/alma-fix/990213367870206441.json @@ -105,7 +105,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Architektur" } ], "subjectslabels" : [ "CDF/CIF-Test", "Frost-Tausalzwiderstand", "Hochleistungsbeton" ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990213906490206441.json b/src/test/resources/alma-fix/990213906490206441.json index 98086f753..99fea4af4 100644 --- a/src/test/resources/alma-fix/990213906490206441.json +++ b/src/test/resources/alma-fix/990213906490206441.json @@ -103,28 +103,32 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Deutsche Literatur" }, { "notation" : "B", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Belletristik" }, { "notation" : "830", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Deutsche Literatur" }, { "notation" : "B", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Belletristik" } ], "medium" : [ { "label" : "Blindenschrift", diff --git a/src/test/resources/alma-fix/990217478660206441.json b/src/test/resources/alma-fix/990217478660206441.json index f7bf907ee..43b63288f 100644 --- a/src/test/resources/alma-fix/990217478660206441.json +++ b/src/test/resources/alma-fix/990217478660206441.json @@ -190,7 +190,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Architektur" }, { "type" : [ "ComplexSubject" ], "label" : "Architektur | Wahrnehmung | Architekturtheorie", diff --git a/src/test/resources/alma-fix/990223521400206441.json b/src/test/resources/alma-fix/990223521400206441.json index 87dc9d13b..f8a388537 100644 --- a/src/test/resources/alma-fix/990223521400206441.json +++ b/src/test/resources/alma-fix/990223521400206441.json @@ -198,7 +198,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Informatik" }, { "type" : [ "ComplexSubject" ], "label" : "JavaScript", diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index cd599091a..fc7b828c4 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -161,7 +161,8 @@ "source" : { "label" : "Systematik der DNB (bis 2003)", "id" : "https://bartoc.org/en/node/18497" - } + }, + "label" : "280" }, { "notation" : "17", "type" : [ "Concept" ], @@ -175,42 +176,48 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Erziehung, Schul- und Bildungswesen" }, { "notation" : "330", "type" : [ "Concept" ], "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Wirtschaft" }, { "notation" : "280", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "280" }, { "notation" : "370", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Erziehung, Schul- und Bildungswesen" }, { "notation" : "330", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Wirtschaft" }, { "notation" : "630", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Landwirtschaft, Veterinärmedizin" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/99371050452706441.json b/src/test/resources/alma-fix/99371050452706441.json index b75f785ce..63b7c5d8d 100644 --- a/src/test/resources/alma-fix/99371050452706441.json +++ b/src/test/resources/alma-fix/99371050452706441.json @@ -158,7 +158,8 @@ "source" : { "label" : "Sachgruppen der DNB", "id" : "https://bartoc.org/en/node/20049" - } + }, + "label" : "Recht" }, { "id" : "https://nwbib.de/subjects#N584000", "label" : "Naturschutz. Landschaftspflege", diff --git a/src/test/resources/alma-fix/99371981001306441.json b/src/test/resources/alma-fix/99371981001306441.json index a73c2fff0..463d7ab02 100644 --- a/src/test/resources/alma-fix/99371981001306441.json +++ b/src/test/resources/alma-fix/99371981001306441.json @@ -109,14 +109,16 @@ "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Natürliche Ressourcen, Energie und Umwelt" }, { "notation" : "621.3", "type" : [ "Concept" ], "source" : { "label" : "DDC-Sachgruppen der ZDB", "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" - } + }, + "label" : "Elektrotechnik, Elektronik" } ], "medium" : [ { "label" : "Datenträger", From ed506b0a6910996eaefaaa30b0c1ef9e9b63af76 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 5 Sep 2023 10:35:01 +0200 Subject: [PATCH 11/15] Delete delete option #1848 Workaround because of https://github.com/metafacture/metafacture-fix/issues/321 --- src/main/resources/alma/fix/subjects.fix | 2 +- src/test/resources/alma-fix/991005935279706485.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index 157991ed7..c91d4eb0e 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -303,7 +303,7 @@ do list(path:"084??", "var":"$i") add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049") end copy_field("$j","subject[].$last.label") - lookup("subject[].$last.label", "dnbSachgruppen", delete:"true") + lookup("subject[].$last.label", "dnbSachgruppen") elsif any_match("$j","\\d{2}") add_field("subject[].$last.source.label","Systematik der DNB (bis 2003)") add_field("subject[].$last.source.id","https://bartoc.org/en/node/18497") diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index fc7b828c4..058224510 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -161,8 +161,7 @@ "source" : { "label" : "Systematik der DNB (bis 2003)", "id" : "https://bartoc.org/en/node/18497" - }, - "label" : "280" + } }, { "notation" : "17", "type" : [ "Concept" ], From 34d6e6119ff01588f16a65648eca9988a423d26c Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 5 Sep 2023 10:41:22 +0200 Subject: [PATCH 12/15] Add DDC Sachgrupen as genuin DDC too #1848 --- src/main/resources/alma/fix/subjects.fix | 8 +++ .../alma-fix/990053976760206441.json | 18 +++++++ .../alma-fix/990054215550206441.json | 18 +++++++ .../alma-fix/990054301770206441.json | 18 +++++++ .../alma-fix/990054345550206441.json | 18 +++++++ .../alma-fix/990055981810206441.json | 36 +++++++++++++ .../alma-fix/990103770440206441.json | 45 ++++++++++++++++ .../alma-fix/990103899140206441.json | 9 ++++ .../alma-fix/990104908070206441.json | 9 ++++ .../alma-fix/990108740950206441.json | 27 ++++++++++ .../alma-fix/990108873860206441.json | 9 ++++ .../alma-fix/990108874370206441.json | 9 ++++ .../alma-fix/990109712970206441.json | 9 ++++ .../alma-fix/990113537330206441.json | 9 ++++ .../alma-fix/990133067580206441.json | 27 ++++++++++ .../alma-fix/990136041660206441.json | 27 ++++++++++ .../alma-fix/990183054020206441.json | 18 +++++++ .../alma-fix/990184127410206441.json | 9 ++++ .../alma-fix/990193229450206441.json | 9 ++++ .../alma-fix/990196925330206441.json | 9 ++++ .../alma-fix/990204246530206441.json | 9 ++++ .../alma-fix/990206060640206441.json | 9 ++++ .../alma-fix/990209515320206441.json | 9 ++++ .../alma-fix/990209817770206441.json | 9 ++++ .../alma-fix/990210950050206441.json | 9 ++++ .../alma-fix/990213367870206441.json | 9 ++++ .../alma-fix/990213906490206441.json | 18 +++++++ .../alma-fix/990217478660206441.json | 9 ++++ .../alma-fix/990223521400206441.json | 9 ++++ .../alma-fix/991005935279706485.json | 54 +++++++++++++++++++ .../resources/alma-fix/99371050452706441.json | 9 ++++ .../resources/alma-fix/99371981001306441.json | 18 +++++++ 32 files changed, 512 insertions(+) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index c91d4eb0e..3aaf947b0 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -304,6 +304,14 @@ do list(path:"084??", "var":"$i") end copy_field("$j","subject[].$last.label") lookup("subject[].$last.label", "dnbSachgruppen") + # Also use all DNB and ZDB Sachgruppen as DDC too. + set_array("subject[].$append.type[]","Concept") + add_field("subject[].$last.source.label","Dewey-Dezimalklassifikation") + add_field("subject[].$last.source.id","https://d-nb.info/gnd/4149423-4") + copy_field("$j","subject[].$last.label") + lookup("subject[].$last.label", "deweyLabels") + copy_field("$j","subject[].$last.notation") + copy_field("$i.2","subject[].$last.version") elsif any_match("$j","\\d{2}") add_field("subject[].$last.source.label","Systematik der DNB (bis 2003)") add_field("subject[].$last.source.id","https://bartoc.org/en/node/18497") diff --git a/src/test/resources/alma-fix/990053976760206441.json b/src/test/resources/alma-fix/990053976760206441.json index 90efb79f0..9ae24df30 100644 --- a/src/test/resources/alma-fix/990053976760206441.json +++ b/src/test/resources/alma-fix/990053976760206441.json @@ -150,6 +150,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Erziehung, Schul- und Bildungswesen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Bildung und Erziehung", + "notation" : "370", + "version" : "sdnb" }, { "notation" : "PHY 002z", "type" : [ "Concept" ], @@ -187,6 +196,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Physik" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Physik", + "notation" : "530", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Physikunterricht", diff --git a/src/test/resources/alma-fix/990054215550206441.json b/src/test/resources/alma-fix/990054215550206441.json index e10602e2d..818372626 100644 --- a/src/test/resources/alma-fix/990054215550206441.json +++ b/src/test/resources/alma-fix/990054215550206441.json @@ -118,6 +118,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Zeitschriften, fortlaufende Sammelwerke" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Allgemeine fortlaufende Sammelwerke", + "notation" : "050", + "version" : "sdnb" }, { "notation" : "310", "type" : [ "Concept" ], @@ -126,6 +135,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Allgemeine Statistiken" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Sammlungen allgemeiner Statistiken", + "notation" : "310", + "version" : "sdnb" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990054301770206441.json b/src/test/resources/alma-fix/990054301770206441.json index 62d42c3ca..83b54dac5 100644 --- a/src/test/resources/alma-fix/990054301770206441.json +++ b/src/test/resources/alma-fix/990054301770206441.json @@ -126,6 +126,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Hauswirtschaft und Familienleben" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "640", + "notation" : "640", + "version" : "sdnb" }, { "notation" : "910", "type" : [ "Concept" ], @@ -134,6 +143,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Geografie, Reisen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geografie & Reisen", + "notation" : "910", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Deutschland (Bundesrepublik) | Tourismus | Adressbuch", diff --git a/src/test/resources/alma-fix/990054345550206441.json b/src/test/resources/alma-fix/990054345550206441.json index a847c4bab..16e72e81a 100644 --- a/src/test/resources/alma-fix/990054345550206441.json +++ b/src/test/resources/alma-fix/990054345550206441.json @@ -138,6 +138,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Geschichte Deutschlands" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Deutschland und benachbarte mitteleuropäische Länder", + "notation" : "943", + "version" : "sdnb" }, { "notation" : "914.3", "type" : [ "Concept" ], @@ -146,6 +155,15 @@ "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" }, { "notation" : "914.3", "type" : [ "Concept" ], diff --git a/src/test/resources/alma-fix/990055981810206441.json b/src/test/resources/alma-fix/990055981810206441.json index d284cdbc1..0e3a54870 100644 --- a/src/test/resources/alma-fix/990055981810206441.json +++ b/src/test/resources/alma-fix/990055981810206441.json @@ -136,6 +136,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Geschichte" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geschichte, Geografie und Hilfswissenschaften", + "notation" : "900", + "version" : "sdnb" }, { "notation" : "910", "type" : [ "Concept" ], @@ -144,6 +153,15 @@ "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" ], @@ -152,6 +170,15 @@ "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#N240000", "label" : "Geschichte", @@ -178,6 +205,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Organisationen, Museumswissenschaft" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "060", + "notation" : "060", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Bochum | Geschichte | Zeitschrift", diff --git a/src/test/resources/alma-fix/990103770440206441.json b/src/test/resources/alma-fix/990103770440206441.json index d3e83da79..97eaad989 100644 --- a/src/test/resources/alma-fix/990103770440206441.json +++ b/src/test/resources/alma-fix/990103770440206441.json @@ -108,6 +108,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Recht" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Recht", + "notation" : "340", + "version" : "sdnb" }, { "notation" : "350", "type" : [ "Concept" ], @@ -116,6 +125,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Öffentliche Verwaltung" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Öffentliche Verwaltung und Militärwissenschaft", + "notation" : "350", + "version" : "sdnb" }, { "notation" : "070", "type" : [ "Concept" ], @@ -124,6 +142,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Dokumentarische Medien, publizistische Medien, Unterrichtsmedien; Journalismus; Verlagswesen", + "notation" : "070", + "version" : "sdnb" }, { "notation" : "914.3", "type" : [ "Concept" ], @@ -132,6 +159,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "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" }, { "notation" : "943", "type" : [ "Concept" ], @@ -140,6 +176,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Geschichte Deutschlands" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Deutschland und benachbarte mitteleuropäische Länder", + "notation" : "943", + "version" : "sdnb" } ], "subjectslabels" : [ "Gemeindebrief" ], "medium" : [ { diff --git a/src/test/resources/alma-fix/990103899140206441.json b/src/test/resources/alma-fix/990103899140206441.json index 597d6f503..4c7cfff5d 100644 --- a/src/test/resources/alma-fix/990103899140206441.json +++ b/src/test/resources/alma-fix/990103899140206441.json @@ -98,6 +98,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Allgemeine Statistiken" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Sammlungen allgemeiner Statistiken", + "notation" : "310", + "version" : "sdnb" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990104908070206441.json b/src/test/resources/alma-fix/990104908070206441.json index a886af64d..7c1870941 100644 --- a/src/test/resources/alma-fix/990104908070206441.json +++ b/src/test/resources/alma-fix/990104908070206441.json @@ -104,6 +104,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Wirtschaft" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Wirtschaft", + "notation" : "330", + "version" : "sdnb" } ], "medium" : [ { "label" : "Mikroformat", diff --git a/src/test/resources/alma-fix/990108740950206441.json b/src/test/resources/alma-fix/990108740950206441.json index e6b9b21d1..aa4c4a40d 100644 --- a/src/test/resources/alma-fix/990108740950206441.json +++ b/src/test/resources/alma-fix/990108740950206441.json @@ -126,6 +126,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Dokumentarische Medien, publizistische Medien, Unterrichtsmedien; Journalismus; Verlagswesen", + "notation" : "070", + "version" : "sdnb" }, { "notation" : "630", "type" : [ "Concept" ], @@ -134,6 +143,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Landwirtschaft, Veterinärmedizin" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "630", + "notation" : "630", + "version" : "sdnb" }, { "notation" : "640", "type" : [ "Concept" ], @@ -142,6 +160,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Hauswirtschaft und Familienleben" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "640", + "notation" : "640", + "version" : "sdnb" } ], "medium" : [ { "label" : "Print", diff --git a/src/test/resources/alma-fix/990108873860206441.json b/src/test/resources/alma-fix/990108873860206441.json index 971b8c03b..191e29373 100644 --- a/src/test/resources/alma-fix/990108873860206441.json +++ b/src/test/resources/alma-fix/990108873860206441.json @@ -116,6 +116,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Medizin, Gesundheit" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Medizin und Gesundheit", + "notation" : "610", + "version" : "sdnb" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990108874370206441.json b/src/test/resources/alma-fix/990108874370206441.json index 6fc605b50..f45dfc288 100644 --- a/src/test/resources/alma-fix/990108874370206441.json +++ b/src/test/resources/alma-fix/990108874370206441.json @@ -127,6 +127,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Bräuche, Etikette, Folklore" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "390", + "notation" : "390", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Anthropologie | Zeitschrift | Online-Ressource", diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index 75cefec41..e03c2eeaf 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -152,6 +152,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Musik allgemein" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Musik", + "notation" : "780", + "version" : "sdnb" }, { "notation" : "780", "type" : [ "Concept" ], diff --git a/src/test/resources/alma-fix/990113537330206441.json b/src/test/resources/alma-fix/990113537330206441.json index dd363d2b8..8433707cc 100644 --- a/src/test/resources/alma-fix/990113537330206441.json +++ b/src/test/resources/alma-fix/990113537330206441.json @@ -101,6 +101,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Handel, Kommunikation, Verkehr" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Handel, Kommunikation, Verkehr", + "notation" : "380", + "version" : "sdnb" } ], "medium" : [ { "label" : "Print", diff --git a/src/test/resources/alma-fix/990133067580206441.json b/src/test/resources/alma-fix/990133067580206441.json index 1c42588a8..585191869 100644 --- a/src/test/resources/alma-fix/990133067580206441.json +++ b/src/test/resources/alma-fix/990133067580206441.json @@ -127,6 +127,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Bibliografien" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "010", + "notation" : "010", + "version" : "sdnb" }, { "notation" : "914.3", "type" : [ "Concept" ], @@ -135,6 +144,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "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" }, { "notation" : "943", "type" : [ "Concept" ], @@ -143,6 +161,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Geschichte Deutschlands" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Deutschland und benachbarte mitteleuropäische Länder", + "notation" : "943", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Nordrhein-Westfalen | Landeskunde | Regionalliteratur", diff --git a/src/test/resources/alma-fix/990136041660206441.json b/src/test/resources/alma-fix/990136041660206441.json index 07b5c30b4..0ff8e7f83 100644 --- a/src/test/resources/alma-fix/990136041660206441.json +++ b/src/test/resources/alma-fix/990136041660206441.json @@ -143,6 +143,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Zeitschriften, fortlaufende Sammelwerke" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Allgemeine fortlaufende Sammelwerke", + "notation" : "050", + "version" : "sdnb" }, { "notation" : "914.3", "type" : [ "Concept" ], @@ -151,6 +160,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "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" }, { "notation" : "943", "type" : [ "Concept" ], @@ -159,6 +177,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Geschichte Deutschlands" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Deutschland und benachbarte mitteleuropäische Länder", + "notation" : "943", + "version" : "sdnb" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990183054020206441.json b/src/test/resources/alma-fix/990183054020206441.json index 5a0d42b9d..d62752518 100644 --- a/src/test/resources/alma-fix/990183054020206441.json +++ b/src/test/resources/alma-fix/990183054020206441.json @@ -126,6 +126,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Soziale Probleme, Sozialdienste, Versicherungen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Soziale Probleme und Sozialdienste; Verbände", + "notation" : "360", + "version" : "sdnb" }, { "notation" : "610", "type" : [ "Concept" ], @@ -134,6 +143,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Medizin, Gesundheit" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Medizin und Gesundheit", + "notation" : "610", + "version" : "sdnb" }, { "notation" : "610", "type" : [ "Concept" ], diff --git a/src/test/resources/alma-fix/990184127410206441.json b/src/test/resources/alma-fix/990184127410206441.json index 86fae409a..79aafe6fb 100644 --- a/src/test/resources/alma-fix/990184127410206441.json +++ b/src/test/resources/alma-fix/990184127410206441.json @@ -134,6 +134,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Sozialwissenschaften, Soziologie, Anthropologie" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "300", + "notation" : "300", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Düsseldorf | Wohnungsmarkt | Online-Publikation | Zeitschrift", diff --git a/src/test/resources/alma-fix/990193229450206441.json b/src/test/resources/alma-fix/990193229450206441.json index 4187e504e..8f24811e1 100644 --- a/src/test/resources/alma-fix/990193229450206441.json +++ b/src/test/resources/alma-fix/990193229450206441.json @@ -156,6 +156,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Geschichte" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geschichte, Geografie und Hilfswissenschaften", + "notation" : "900", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Westfalen | Landeskunde | Bibliographie 1800-1940 | Online-Publikation", diff --git a/src/test/resources/alma-fix/990196925330206441.json b/src/test/resources/alma-fix/990196925330206441.json index 0787a47e8..c6ee9556f 100644 --- a/src/test/resources/alma-fix/990196925330206441.json +++ b/src/test/resources/alma-fix/990196925330206441.json @@ -109,6 +109,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Dokumentarische Medien, publizistische Medien, Unterrichtsmedien; Journalismus; Verlagswesen", + "notation" : "070", + "version" : "sdnb" } ], "medium" : [ { "label" : "Mikroformat", diff --git a/src/test/resources/alma-fix/990204246530206441.json b/src/test/resources/alma-fix/990204246530206441.json index 5f6be2228..477bf5af2 100644 --- a/src/test/resources/alma-fix/990204246530206441.json +++ b/src/test/resources/alma-fix/990204246530206441.json @@ -129,6 +129,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Geschichte" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geschichte, Geografie und Hilfswissenschaften", + "notation" : "900", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Mötsch, Johannes", diff --git a/src/test/resources/alma-fix/990206060640206441.json b/src/test/resources/alma-fix/990206060640206441.json index b3f6b7b85..b5f17c763 100644 --- a/src/test/resources/alma-fix/990206060640206441.json +++ b/src/test/resources/alma-fix/990206060640206441.json @@ -116,6 +116,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Geschichte Deutschlands" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Deutschland und benachbarte mitteleuropäische Länder", + "notation" : "943", + "version" : "sdnb" }, { "notation" : "330", "type" : [ "Concept" ], diff --git a/src/test/resources/alma-fix/990209515320206441.json b/src/test/resources/alma-fix/990209515320206441.json index 37bfbd720..e366ae3db 100644 --- a/src/test/resources/alma-fix/990209515320206441.json +++ b/src/test/resources/alma-fix/990209515320206441.json @@ -87,6 +87,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Trios" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Trios", + "notation" : "785.13", + "version" : "sdnb" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/990209817770206441.json b/src/test/resources/alma-fix/990209817770206441.json index 2a1868efd..350e356c3 100644 --- a/src/test/resources/alma-fix/990209817770206441.json +++ b/src/test/resources/alma-fix/990209817770206441.json @@ -98,6 +98,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Geschichte" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Geschichte, Geografie und Hilfswissenschaften", + "notation" : "900", + "version" : "sdnb" }, { "id" : "https://nwbib.de/subjects#N102000", "label" : "Landesbeschreibungen", diff --git a/src/test/resources/alma-fix/990210950050206441.json b/src/test/resources/alma-fix/990210950050206441.json index 782204e53..5f86a7271 100644 --- a/src/test/resources/alma-fix/990210950050206441.json +++ b/src/test/resources/alma-fix/990210950050206441.json @@ -109,6 +109,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Künste, Bildende Kunst allgemein" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Künste", + "notation" : "700", + "version" : "sdnb" }, { "id" : "https://nwbib.de/subjects#N841070", "label" : "Künstler", diff --git a/src/test/resources/alma-fix/990213367870206441.json b/src/test/resources/alma-fix/990213367870206441.json index 8e346fb01..272bb0e94 100644 --- a/src/test/resources/alma-fix/990213367870206441.json +++ b/src/test/resources/alma-fix/990213367870206441.json @@ -107,6 +107,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Architektur" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "720", + "notation" : "720", + "version" : "sdnb" } ], "subjectslabels" : [ "CDF/CIF-Test", "Frost-Tausalzwiderstand", "Hochleistungsbeton" ], "hasItem" : [ { diff --git a/src/test/resources/alma-fix/990213906490206441.json b/src/test/resources/alma-fix/990213906490206441.json index 99fea4af4..1d8f81c16 100644 --- a/src/test/resources/alma-fix/990213906490206441.json +++ b/src/test/resources/alma-fix/990213906490206441.json @@ -105,6 +105,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Deutsche Literatur" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "830", + "notation" : "830", + "version" : "sdnb" }, { "notation" : "B", "type" : [ "Concept" ], @@ -113,6 +122,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Belletristik" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "B", + "notation" : "B", + "version" : "sdnb" }, { "notation" : "830", "type" : [ "Concept" ], diff --git a/src/test/resources/alma-fix/990217478660206441.json b/src/test/resources/alma-fix/990217478660206441.json index 43b63288f..e475f1395 100644 --- a/src/test/resources/alma-fix/990217478660206441.json +++ b/src/test/resources/alma-fix/990217478660206441.json @@ -192,6 +192,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Architektur" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "720", + "notation" : "720", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "Architektur | Wahrnehmung | Architekturtheorie", diff --git a/src/test/resources/alma-fix/990223521400206441.json b/src/test/resources/alma-fix/990223521400206441.json index f8a388537..88494300c 100644 --- a/src/test/resources/alma-fix/990223521400206441.json +++ b/src/test/resources/alma-fix/990223521400206441.json @@ -200,6 +200,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Informatik" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "004", + "notation" : "004", + "version" : "sdnb" }, { "type" : [ "ComplexSubject" ], "label" : "JavaScript", diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index 058224510..110c2b0dc 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -177,6 +177,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Erziehung, Schul- und Bildungswesen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Bildung und Erziehung", + "notation" : "370", + "version" : "sdnb" }, { "notation" : "330", "type" : [ "Concept" ], @@ -185,6 +194,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Wirtschaft" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Wirtschaft", + "notation" : "330", + "version" : "sdnb" }, { "notation" : "280", "type" : [ "Concept" ], @@ -193,6 +211,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "280" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "280", + "notation" : "280", + "version" : "zdbs" }, { "notation" : "370", "type" : [ "Concept" ], @@ -201,6 +228,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Erziehung, Schul- und Bildungswesen" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Bildung und Erziehung", + "notation" : "370", + "version" : "zdbs" }, { "notation" : "330", "type" : [ "Concept" ], @@ -209,6 +245,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Wirtschaft" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Wirtschaft", + "notation" : "330", + "version" : "zdbs" }, { "notation" : "630", "type" : [ "Concept" ], @@ -217,6 +262,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Landwirtschaft, Veterinärmedizin" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "630", + "notation" : "630", + "version" : "zdbs" } ], "hasItem" : [ { "label" : "lobid Bestandsressource", diff --git a/src/test/resources/alma-fix/99371050452706441.json b/src/test/resources/alma-fix/99371050452706441.json index 63b7c5d8d..3c94338ec 100644 --- a/src/test/resources/alma-fix/99371050452706441.json +++ b/src/test/resources/alma-fix/99371050452706441.json @@ -160,6 +160,15 @@ "id" : "https://bartoc.org/en/node/20049" }, "label" : "Recht" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Recht", + "notation" : "340", + "version" : "sdnb" }, { "id" : "https://nwbib.de/subjects#N584000", "label" : "Naturschutz. Landschaftspflege", diff --git a/src/test/resources/alma-fix/99371981001306441.json b/src/test/resources/alma-fix/99371981001306441.json index 463d7ab02..b039c3559 100644 --- a/src/test/resources/alma-fix/99371981001306441.json +++ b/src/test/resources/alma-fix/99371981001306441.json @@ -111,6 +111,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Natürliche Ressourcen, Energie und Umwelt" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "Landflächen, Naturräume für Freizeit und Erholung, Naturreservate, Energie", + "notation" : "333.7", + "version" : "sdnb" }, { "notation" : "621.3", "type" : [ "Concept" ], @@ -119,6 +128,15 @@ "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" }, "label" : "Elektrotechnik, Elektronik" + }, { + "type" : [ "Concept" ], + "source" : { + "label" : "Dewey-Dezimalklassifikation", + "id" : "https://d-nb.info/gnd/4149423-4" + }, + "label" : "621.3", + "notation" : "621.3", + "version" : "sdnb" } ], "medium" : [ { "label" : "Datenträger", From 3afbfef21b735888ca45cac93014f8522b098ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Fri, 15 Sep 2023 14:56:59 +0200 Subject: [PATCH 13/15] Delete id for DDC-Sachgruppen der ZDB since none exists #1848 --- src/main/resources/alma/fix/subjects.fix | 2 -- src/test/resources/alma-fix/990053976760206441.json | 6 ++---- src/test/resources/alma-fix/990054215550206441.json | 3 +-- src/test/resources/alma-fix/990054301770206441.json | 3 +-- src/test/resources/alma-fix/990054345550206441.json | 6 ++---- src/test/resources/alma-fix/990055981810206441.json | 3 +-- src/test/resources/alma-fix/990103770440206441.json | 9 +++------ src/test/resources/alma-fix/990103899140206441.json | 3 +-- src/test/resources/alma-fix/990104908070206441.json | 3 +-- src/test/resources/alma-fix/990108740950206441.json | 9 +++------ src/test/resources/alma-fix/990108873860206441.json | 3 +-- src/test/resources/alma-fix/990108874370206441.json | 3 +-- src/test/resources/alma-fix/990109712970206441.json | 3 +-- src/test/resources/alma-fix/990113537330206441.json | 3 +-- src/test/resources/alma-fix/990133067580206441.json | 9 +++------ src/test/resources/alma-fix/990136041660206441.json | 6 ++---- src/test/resources/alma-fix/990183054020206441.json | 3 +-- src/test/resources/alma-fix/990184127410206441.json | 3 +-- src/test/resources/alma-fix/990193229450206441.json | 3 +-- src/test/resources/alma-fix/990196925330206441.json | 3 +-- src/test/resources/alma-fix/990213906490206441.json | 6 ++---- src/test/resources/alma-fix/991005935279706485.json | 12 ++++-------- src/test/resources/alma-fix/99371981001306441.json | 6 ++---- 23 files changed, 36 insertions(+), 74 deletions(-) diff --git a/src/main/resources/alma/fix/subjects.fix b/src/main/resources/alma/fix/subjects.fix index 3aaf947b0..2f01bd1bd 100644 --- a/src/main/resources/alma/fix/subjects.fix +++ b/src/main/resources/alma/fix/subjects.fix @@ -294,10 +294,8 @@ do list(path:"084??", "var":"$i") if any_match("$j","\\d{3}(\\.\\d{1,3})?|[BKS]") if any_equal("$i.q","DE-600") add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") - add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") elsif any_equal("$i.2","zdbs") add_field("subject[].$last.source.label","DDC-Sachgruppen der ZDB") - add_field("subject[].$last.source.id","https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf") else add_field("subject[].$last.source.label","Sachgruppen der DNB") add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049") diff --git a/src/test/resources/alma-fix/990053976760206441.json b/src/test/resources/alma-fix/990053976760206441.json index 9ae24df30..5783f318a 100644 --- a/src/test/resources/alma-fix/990053976760206441.json +++ b/src/test/resources/alma-fix/990053976760206441.json @@ -184,16 +184,14 @@ "notation" : "370", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Erziehung, Schul- und Bildungswesen" }, { "notation" : "530", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Physik" }, { diff --git a/src/test/resources/alma-fix/990054215550206441.json b/src/test/resources/alma-fix/990054215550206441.json index 818372626..e5e8e68c2 100644 --- a/src/test/resources/alma-fix/990054215550206441.json +++ b/src/test/resources/alma-fix/990054215550206441.json @@ -131,8 +131,7 @@ "notation" : "310", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Allgemeine Statistiken" }, { diff --git a/src/test/resources/alma-fix/990054301770206441.json b/src/test/resources/alma-fix/990054301770206441.json index 83b54dac5..8ed121fbb 100644 --- a/src/test/resources/alma-fix/990054301770206441.json +++ b/src/test/resources/alma-fix/990054301770206441.json @@ -139,8 +139,7 @@ "notation" : "910", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geografie, Reisen" }, { diff --git a/src/test/resources/alma-fix/990054345550206441.json b/src/test/resources/alma-fix/990054345550206441.json index 16e72e81a..618be8514 100644 --- a/src/test/resources/alma-fix/990054345550206441.json +++ b/src/test/resources/alma-fix/990054345550206441.json @@ -168,16 +168,14 @@ "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geografie, Reisen (Deutschland)" }, { "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geschichte Deutschlands" }, { diff --git a/src/test/resources/alma-fix/990055981810206441.json b/src/test/resources/alma-fix/990055981810206441.json index 0e3a54870..7f75f1885 100644 --- a/src/test/resources/alma-fix/990055981810206441.json +++ b/src/test/resources/alma-fix/990055981810206441.json @@ -201,8 +201,7 @@ "notation" : "060", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Organisationen, Museumswissenschaft" }, { diff --git a/src/test/resources/alma-fix/990103770440206441.json b/src/test/resources/alma-fix/990103770440206441.json index 97eaad989..d6393c12e 100644 --- a/src/test/resources/alma-fix/990103770440206441.json +++ b/src/test/resources/alma-fix/990103770440206441.json @@ -138,8 +138,7 @@ "notation" : "070", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" }, { @@ -155,8 +154,7 @@ "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geografie, Reisen (Deutschland)" }, { @@ -172,8 +170,7 @@ "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geschichte Deutschlands" }, { diff --git a/src/test/resources/alma-fix/990103899140206441.json b/src/test/resources/alma-fix/990103899140206441.json index 4c7cfff5d..885b77291 100644 --- a/src/test/resources/alma-fix/990103899140206441.json +++ b/src/test/resources/alma-fix/990103899140206441.json @@ -94,8 +94,7 @@ "notation" : "310", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Allgemeine Statistiken" }, { diff --git a/src/test/resources/alma-fix/990104908070206441.json b/src/test/resources/alma-fix/990104908070206441.json index 7c1870941..fe2d0d60b 100644 --- a/src/test/resources/alma-fix/990104908070206441.json +++ b/src/test/resources/alma-fix/990104908070206441.json @@ -100,8 +100,7 @@ "notation" : "330", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Wirtschaft" }, { diff --git a/src/test/resources/alma-fix/990108740950206441.json b/src/test/resources/alma-fix/990108740950206441.json index aa4c4a40d..822bd9320 100644 --- a/src/test/resources/alma-fix/990108740950206441.json +++ b/src/test/resources/alma-fix/990108740950206441.json @@ -122,8 +122,7 @@ "notation" : "070", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" }, { @@ -139,8 +138,7 @@ "notation" : "630", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Landwirtschaft, Veterinärmedizin" }, { @@ -156,8 +154,7 @@ "notation" : "640", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Hauswirtschaft und Familienleben" }, { diff --git a/src/test/resources/alma-fix/990108873860206441.json b/src/test/resources/alma-fix/990108873860206441.json index 191e29373..0d90d95d8 100644 --- a/src/test/resources/alma-fix/990108873860206441.json +++ b/src/test/resources/alma-fix/990108873860206441.json @@ -112,8 +112,7 @@ "notation" : "610", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Medizin, Gesundheit" }, { diff --git a/src/test/resources/alma-fix/990108874370206441.json b/src/test/resources/alma-fix/990108874370206441.json index f45dfc288..e968a767a 100644 --- a/src/test/resources/alma-fix/990108874370206441.json +++ b/src/test/resources/alma-fix/990108874370206441.json @@ -123,8 +123,7 @@ "notation" : "390", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Bräuche, Etikette, Folklore" }, { diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index e03c2eeaf..31c0ef375 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -165,8 +165,7 @@ "notation" : "780", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Musik allgemein" }, { diff --git a/src/test/resources/alma-fix/990113537330206441.json b/src/test/resources/alma-fix/990113537330206441.json index 8433707cc..02b3f33f3 100644 --- a/src/test/resources/alma-fix/990113537330206441.json +++ b/src/test/resources/alma-fix/990113537330206441.json @@ -97,8 +97,7 @@ "notation" : "380", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Handel, Kommunikation, Verkehr" }, { diff --git a/src/test/resources/alma-fix/990133067580206441.json b/src/test/resources/alma-fix/990133067580206441.json index 585191869..2b09c7847 100644 --- a/src/test/resources/alma-fix/990133067580206441.json +++ b/src/test/resources/alma-fix/990133067580206441.json @@ -123,8 +123,7 @@ "notation" : "010", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Bibliografien" }, { @@ -140,8 +139,7 @@ "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geografie, Reisen (Deutschland)" }, { @@ -157,8 +155,7 @@ "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geschichte Deutschlands" }, { diff --git a/src/test/resources/alma-fix/990136041660206441.json b/src/test/resources/alma-fix/990136041660206441.json index 0ff8e7f83..17ba05d29 100644 --- a/src/test/resources/alma-fix/990136041660206441.json +++ b/src/test/resources/alma-fix/990136041660206441.json @@ -156,8 +156,7 @@ "notation" : "914.3", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geografie, Reisen (Deutschland)" }, { @@ -173,8 +172,7 @@ "notation" : "943", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geschichte Deutschlands" }, { diff --git a/src/test/resources/alma-fix/990183054020206441.json b/src/test/resources/alma-fix/990183054020206441.json index d62752518..8132b86b1 100644 --- a/src/test/resources/alma-fix/990183054020206441.json +++ b/src/test/resources/alma-fix/990183054020206441.json @@ -156,8 +156,7 @@ "notation" : "610", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Medizin, Gesundheit" }, { diff --git a/src/test/resources/alma-fix/990184127410206441.json b/src/test/resources/alma-fix/990184127410206441.json index 79aafe6fb..bfcde2569 100644 --- a/src/test/resources/alma-fix/990184127410206441.json +++ b/src/test/resources/alma-fix/990184127410206441.json @@ -130,8 +130,7 @@ "notation" : "300", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Sozialwissenschaften, Soziologie, Anthropologie" }, { diff --git a/src/test/resources/alma-fix/990193229450206441.json b/src/test/resources/alma-fix/990193229450206441.json index 8f24811e1..2f911d081 100644 --- a/src/test/resources/alma-fix/990193229450206441.json +++ b/src/test/resources/alma-fix/990193229450206441.json @@ -152,8 +152,7 @@ "notation" : "900", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Geschichte" }, { diff --git a/src/test/resources/alma-fix/990196925330206441.json b/src/test/resources/alma-fix/990196925330206441.json index c6ee9556f..b40d1999b 100644 --- a/src/test/resources/alma-fix/990196925330206441.json +++ b/src/test/resources/alma-fix/990196925330206441.json @@ -105,8 +105,7 @@ "notation" : "070", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Nachrichtenmedien, Journalismus, Verlagswesen" }, { diff --git a/src/test/resources/alma-fix/990213906490206441.json b/src/test/resources/alma-fix/990213906490206441.json index 1d8f81c16..285aeeb15 100644 --- a/src/test/resources/alma-fix/990213906490206441.json +++ b/src/test/resources/alma-fix/990213906490206441.json @@ -135,16 +135,14 @@ "notation" : "830", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Deutsche Literatur" }, { "notation" : "B", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Belletristik" } ], diff --git a/src/test/resources/alma-fix/991005935279706485.json b/src/test/resources/alma-fix/991005935279706485.json index 110c2b0dc..3ab1bd80e 100644 --- a/src/test/resources/alma-fix/991005935279706485.json +++ b/src/test/resources/alma-fix/991005935279706485.json @@ -207,8 +207,7 @@ "notation" : "280", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "280" }, { @@ -224,8 +223,7 @@ "notation" : "370", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Erziehung, Schul- und Bildungswesen" }, { @@ -241,8 +239,7 @@ "notation" : "330", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Wirtschaft" }, { @@ -258,8 +255,7 @@ "notation" : "630", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Landwirtschaft, Veterinärmedizin" }, { diff --git a/src/test/resources/alma-fix/99371981001306441.json b/src/test/resources/alma-fix/99371981001306441.json index b039c3559..dd26329bb 100644 --- a/src/test/resources/alma-fix/99371981001306441.json +++ b/src/test/resources/alma-fix/99371981001306441.json @@ -107,8 +107,7 @@ "notation" : "333.7", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Natürliche Ressourcen, Energie und Umwelt" }, { @@ -124,8 +123,7 @@ "notation" : "621.3", "type" : [ "Concept" ], "source" : { - "label" : "DDC-Sachgruppen der ZDB", - "id" : "https://zeitschriftendatenbank.de//fileadmin/user_upload/ZDB/pdf/ggr/AH_DDC_Sachgruppen.pdf" + "label" : "DDC-Sachgruppen der ZDB" }, "label" : "Elektrotechnik, Elektronik" }, { From 204bc3628b85831bd3a833f836f07e697865b55b Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 19 Sep 2023 14:55:44 +0200 Subject: [PATCH 14/15] Add fallback for some publication info #1830 --- .../resources/alma/fix/titleRelatedFields.fix | 22 +++++++++++++++++++ .../resources/alma-fix/99370763882706441.json | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/main/resources/alma/fix/titleRelatedFields.fix b/src/main/resources/alma/fix/titleRelatedFields.fix index d53e5ea70..3dfc88ba1 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -263,6 +263,28 @@ if exists("publication[].$first") replace_all("publication[].$first.startDate","^.*saṃ. \\d{4}=(\\d{4}).*Chr.*","$1") end end + # Add fallbacks for missing publication dates and other publication info. + do list(path:"260[ 3][ 1]", "var":"$i") + do list(path: "$i.c", "var":"$j") + replace_all("$j", "\\[|\\]|ca. |c ", "") + unless exists("publication[].$first.startDate") + if any_match("$j",".*?([01]\\d{3}|20\\d{2}).*") + paste("publication[].$first.startDate", "$j") + end + end + unless exists("publication[].$first.endDate") + if any_match("$j",".*-[ ]?([01]\\d{3}|20\\d{2})$") + paste("publication[].$last.endDate", "$j") + end + end + unless exists("publication[].$first.location[].1") + copy_field("$i.a", "publication[].$first.location[].$append") + end + unless exists("publication[].$first.publishedBy[].1") + copy_field("$i.b", "publication[].$first.publishedBy[].$append") + end + end + end end diff --git a/src/test/resources/alma-fix/99370763882706441.json b/src/test/resources/alma-fix/99370763882706441.json index 90593e060..177a01303 100644 --- a/src/test/resources/alma-fix/99370763882706441.json +++ b/src/test/resources/alma-fix/99370763882706441.json @@ -6,7 +6,9 @@ "title" : "Lexicology, Semantics and Lexicography : Selected Papers from the Fourth G.L. Brook Symposium, Manchester, August 1998", "publication" : [ { "type" : [ "PublicationEvent" ], - "publishedBy" : [ "John Benjamins Publishing Company" ] + "location" : [ "Philadelphia, PA, USA" ], + "publishedBy" : [ "John Benjamins Publishing Company" ], + "startDate" : "2000" } ], "describedBy" : { "id" : "http://lobid.org/resources/99370763882706441", From 6f176fcb920323b7f900026e29345b9c37c1e1cf Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Tue, 19 Sep 2023 15:02:23 +0200 Subject: [PATCH 15/15] Add additional fallback for publication date #1886 Suggested by https://github.com/hbz/lobid-resources/issues/1806#issue-1771114702 --- .../resources/alma/fix/titleRelatedFields.fix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/main/resources/alma/fix/titleRelatedFields.fix b/src/main/resources/alma/fix/titleRelatedFields.fix index 3dfc88ba1..5e1da3911 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -285,6 +285,22 @@ if exists("publication[].$first") end end end + unless exists("publication[].$first.startDate[]") + if any_match("008","^.{6}[brestikm](\\d{4}).*$") + copy_field("008","@008startDate") + replace_all("@008startDate","^.{7}(\\d{4}).*$","$1") + copy_field("@008startDate","publication[].$first.startDate") + end + end + unless exists("publication[].$first.endDate[]") + if any_match("008","^.{6}[km]\\d{4}(\\d{4}).*$") + copy_field("008","@008endDate") + replace_all("@008endDate","^.{11}(\\d{4}).*$","$1") + unless any_equal("@008endDate","9999") + copy_field("@008endDate","publication[].$first.endDate") + end + end + end end