diff --git a/conf/output/test-output-50.json b/conf/output/test-output-50.json index b1cdcb91..ef2c374f 100644 --- a/conf/output/test-output-50.json +++ b/conf/output/test-output-50.json @@ -8,6 +8,10 @@ "id" : "http://lobid.org/resources/HT013494180#!", "type" : [ "Collection" ], "label" : "Rheinland-Pfälzische Bibliographie" + }, { + "id" : "http://lobid.org/resources/HT013678171#!", + "type" : [ "Collection" ], + "label" : "BiblioVino" } ], "title" : "Weinkulturlandschaft Mosel : Dornen statt Reben", "extent" : "Ill.", diff --git a/conf/output/test-output-51.json b/conf/output/test-output-51.json index bc140c87..73b72f04 100644 --- a/conf/output/test-output-51.json +++ b/conf/output/test-output-51.json @@ -7,6 +7,10 @@ "id" : "http://lobid.org/resources/HT013494180#!", "type" : [ "Collection" ], "label" : "Rheinland-Pfälzische Bibliographie" + }, { + "id" : "http://lobid.org/resources/HT013678171#!", + "type" : [ "Collection" ], + "label" : "BiblioVino" } ], "title" : "Weingeschäft im Umbruch : Pieroth setzt auf alten Namen und eine neue Vermarktungsstrategie, um auch neue Kundengruppen zu erreichen", "extent" : "Illustrationen", diff --git a/conf/output/test-output-58.json b/conf/output/test-output-58.json index 472c2ecd..dedcf30b 100644 --- a/conf/output/test-output-58.json +++ b/conf/output/test-output-58.json @@ -1,38 +1,71 @@ { "@context" : "http://lobid.org/resources/context.jsonld", - "type" : [ "BibliographicResource", "Article" ], - "rpbId" : "RPB036t0115179", - "id" : "https://lobid.org/resources/RPB036t0115179", + "type" : [ "BibliographicResource", "Book" ], + "rpbId" : "RPB929w18032522", + "id" : "https://lobid.org/resources/RPB929w18032522", + "biblioVinoId" : "Nr32522", "inCollection" : [ { - "id" : "http://lobid.org/resources/HT013494180#!", + "id" : "http://lobid.org/resources/HT013678171#!", "type" : [ "Collection" ], - "label" : "Rheinland-Pfälzische Bibliographie" + "label" : "BiblioVino" } ], - "title" : "Beiträge zur Wormser Stadtbeschreibung des Hochmittelalters", - "note" : [ "[Wichtige Arbeit für die historische Topographie der Stadt Worms im Früh- und Hochmittelalter Umsichtige Quelleninterpretation und Anwendung der patrozinienkundlichen Methode führen weit über die Ergebnisse der seitherigen Forschung hinaus So wird das Datum der Pfarreinteilung des Kernes der Stadt um mindestens 2 Jahrhunderte zurückverlegt Aufhellung der ältesten Geschichte der Kirchen in der Stadt (St Rupert St Lambert St Magnus St Johann Dom) sowie der Vorstädte (Liebfrauen Amandus Remigius im Norden Andreas im Westen St Michael und St Caecilia im Süden) - Besiedlung der Vorstädte sowie Besiedlung der Stadt im 11-13 Jh]" ], + "title" : "Einfluss von Lesetermin und Mostbehandlung auf die Alterung von Weißwein, am Beispiel von Vitis vinifera L. cv. Riesling.", + "responsibilityStatement" : [ "Aus f39x: Geisenheim: Ges. zur Förderung der Forschungsanst. Geisenheim 2013." ], "publication" : [ { - "startDate" : "1952", "type" : [ "PublicationEvent" ] } ], "subject" : [ { - "id" : "http://purl.org/lobid/rpb#n560100", - "label" : "Platzhalter Schlagwortlabel", - "type" : [ "Concept" ], - "source" : { - "id" : "http://purl.org/lobid/rpb", - "label" : "Systematik der Rheinland-Pfälzischen Bibliographie" - } - } ], - "contribution" : [ { - "agent" : { - "id" : "https://d-nb.info/gnd/132394235", - "label" : "Gensicke, Hellmuth / 1917-2006" - }, - "role" : { - "id" : "http://id.loc.gov/vocabulary/relators/aut", - "label" : "Autor/in" - }, - "type" : [ "Contribution" ] - } ], - "bibliographicCitation" : "Der Wormsgau. Bd 3, H. 2 (Okt. 1952), 49-63" + "type" : [ "ComplexSubject" ], + "label" : "Most | Lebensmittelverarbeitung | Riesling | Chemie | Wein | Weinlese | Lebensmittelqualität", + "componentList" : [ { + "id" : "https://d-nb.info/gnd/4040354-3", + "label" : "Most", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://d-nb.info/gnd/4167045-0", + "label" : "Lebensmittelverarbeitung", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://d-nb.info/gnd/4138434-9", + "label" : "Riesling", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://d-nb.info/gnd/4009816-3", + "label" : "Chemie", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://d-nb.info/gnd/4065133-2", + "label" : "Wein", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://d-nb.info/gnd/4432509-5", + "label" : "Weinlese", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://d-nb.info/gnd/4343361-3", + "label" : "Lebensmittelqualität", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + } ] + } ] } diff --git a/conf/output/test-output-59.json b/conf/output/test-output-59.json index 8b82e131..472c2ecd 100644 --- a/conf/output/test-output-59.json +++ b/conf/output/test-output-59.json @@ -1,106 +1,38 @@ { "@context" : "http://lobid.org/resources/context.jsonld", - "type" : [ "BibliographicResource", "Book" ], - "rpbId" : "RPB929t930040", - "id" : "https://lobid.org/resources/RPB929t930040", + "type" : [ "BibliographicResource", "Article" ], + "rpbId" : "RPB036t0115179", + "id" : "https://lobid.org/resources/RPB036t0115179", "inCollection" : [ { "id" : "http://lobid.org/resources/HT013494180#!", "type" : [ "Collection" ], "label" : "Rheinland-Pfälzische Bibliographie" } ], - "title" : "Sein Werk - nicht das meine : Mutter Magdalena Damen und ihre Kongregation der Franziskanerinnen von Heythuysen im neunzehnten Jahrhundert", - "extent" : "305 S. : Ill.", - "note" : [ "1. dt. Ausg. u.d.T.: Cools, Angelita: Mutter Magdalena Damen und die Entwicklung ihrer Kongregation im neunzehnten Jahrhundert. - Betr. auch Kloster St. Clemens, Nonnenwerth im Rhein" ], - "responsibilityStatement" : [ "Angelita Cools ; Hildegard von de Wijnpersse. [Nach Bearb. durch Gian Ackermans ... ]" ], + "title" : "Beiträge zur Wormser Stadtbeschreibung des Hochmittelalters", + "note" : [ "[Wichtige Arbeit für die historische Topographie der Stadt Worms im Früh- und Hochmittelalter Umsichtige Quelleninterpretation und Anwendung der patrozinienkundlichen Methode führen weit über die Ergebnisse der seitherigen Forschung hinaus So wird das Datum der Pfarreinteilung des Kernes der Stadt um mindestens 2 Jahrhunderte zurückverlegt Aufhellung der ältesten Geschichte der Kirchen in der Stadt (St Rupert St Lambert St Magnus St Johann Dom) sowie der Vorstädte (Liebfrauen Amandus Remigius im Norden Andreas im Westen St Michael und St Caecilia im Süden) - Besiedlung der Vorstädte sowie Besiedlung der Stadt im 11-13 Jh]" ], "publication" : [ { - "location" : [ "Aachen" ], - "startDate" : "1992", - "publishedBy" : [ "Einhard [u.a.]" ], + "startDate" : "1952", "type" : [ "PublicationEvent" ] } ], "subject" : [ { - "id" : "http://purl.org/lobid/rpb#n611070", + "id" : "http://purl.org/lobid/rpb#n560100", "label" : "Platzhalter Schlagwortlabel", "type" : [ "Concept" ], "source" : { "id" : "http://purl.org/lobid/rpb", "label" : "Systematik der Rheinland-Pfälzischen Bibliographie" } - }, { - "type" : [ "ComplexSubject" ], - "label" : "Magdalena / Mutter / 1787-1858 | Geschichte 1800-", - "componentList" : [ { - "id" : "https://d-nb.info/gnd/119067552", - "label" : "Magdalena / Mutter / 1787-1858", - "source" : { - "id" : "https://d-nb.info/gnd/7749153-1", - "label" : "Gemeinsame Normdatei (GND)" - } - }, { - "id" : "https://rpb.lobid.org/sw/z48", - "label" : "Geschichte 1800-", - "source" : { - "id" : "http://rpb.lobid.org/sw", - "label" : "RPB-Sachsystematik" - } - } ] - }, { - "type" : [ "ComplexSubject" ], - "label" : "Kongregation der Franziskanerinnen von Heythuysen | Geschichte 1800-", - "componentList" : [ { - "id" : "https://rpb.lobid.org/sw/00Sn93k0040a", - "label" : "Kongregation der Franziskanerinnen von Heythuysen", - "source" : { - "id" : "http://rpb.lobid.org/sw", - "label" : "RPB-Sachsystematik" - } - }, { - "id" : "https://rpb.lobid.org/sw/z48", - "label" : "Geschichte 1800-", - "source" : { - "id" : "http://rpb.lobid.org/sw", - "label" : "RPB-Sachsystematik" - } - } ] - } ], - "spatial" : [ { - "id" : "https://rpb.lobid.org/spatial#n131000700701", - "label" : "n131000700701", - "type" : [ "Concept" ], - "source" : { - "id" : "https://rpb.lobid.org/spatial", - "label" : "RPB-Raumsystematik" - } } ], "contribution" : [ { "agent" : { - "id" : "https://rpb.lobid.org/agent/00Pn93k0040b", - "label" : "Cools, Angelita" + "id" : "https://d-nb.info/gnd/132394235", + "label" : "Gensicke, Hellmuth / 1917-2006" }, "role" : { "id" : "http://id.loc.gov/vocabulary/relators/aut", "label" : "Autor/in" }, "type" : [ "Contribution" ] - }, { - "agent" : { - "id" : "https://rpb.lobid.org/agent/00Pn93k0040c", - "label" : "Wijnpersse, Hildegard ¬van de¬" - }, - "role" : { - "id" : "http://id.loc.gov/vocabulary/relators/aut", - "label" : "Autor/in" - }, - "type" : [ "Contribution" ] - }, { - "agent" : { - "id" : "https://rpb.lobid.org/agent/00Pn93k0040d", - "label" : "Ackermans, Gian" - }, - "role" : { - "id" : "http://id.loc.gov/vocabulary/relators/edt", - "label" : "Bearb." - }, - "type" : [ "Contribution" ] - } ] + } ], + "bibliographicCitation" : "Der Wormsgau. Bd 3, H. 2 (Okt. 1952), 49-63" } diff --git a/conf/output/test-output-60.json b/conf/output/test-output-60.json index 875ecb41..8b82e131 100644 --- a/conf/output/test-output-60.json +++ b/conf/output/test-output-60.json @@ -1,24 +1,25 @@ { "@context" : "http://lobid.org/resources/context.jsonld", "type" : [ "BibliographicResource", "Book" ], - "rpbId" : "RPB929t920749", - "id" : "https://lobid.org/resources/RPB929t920749", + "rpbId" : "RPB929t930040", + "id" : "https://lobid.org/resources/RPB929t930040", "inCollection" : [ { "id" : "http://lobid.org/resources/HT013494180#!", "type" : [ "Collection" ], "label" : "Rheinland-Pfälzische Bibliographie" } ], - "title" : "Sachstand der heutigen Gewässerbelastung : Belastung der letzten Jahrzehnte ; Verhalten von Schadstoffen in Gewässern ; Schadensfälle", - "extent" : "28 Bl. : graph. Darst.", - "responsibilityStatement" : [ "Hubert Hellmann" ], + "title" : "Sein Werk - nicht das meine : Mutter Magdalena Damen und ihre Kongregation der Franziskanerinnen von Heythuysen im neunzehnten Jahrhundert", + "extent" : "305 S. : Ill.", + "note" : [ "1. dt. Ausg. u.d.T.: Cools, Angelita: Mutter Magdalena Damen und die Entwicklung ihrer Kongregation im neunzehnten Jahrhundert. - Betr. auch Kloster St. Clemens, Nonnenwerth im Rhein" ], + "responsibilityStatement" : [ "Angelita Cools ; Hildegard von de Wijnpersse. [Nach Bearb. durch Gian Ackermans ... ]" ], "publication" : [ { - "location" : [ "Koblenz" ], + "location" : [ "Aachen" ], "startDate" : "1992", - "publishedBy" : [ "Bundesanst. für Gewässerkunde" ], + "publishedBy" : [ "Einhard [u.a.]" ], "type" : [ "PublicationEvent" ] } ], "subject" : [ { - "id" : "http://purl.org/lobid/rpb#n142382", + "id" : "http://purl.org/lobid/rpb#n611070", "label" : "Platzhalter Schlagwortlabel", "type" : [ "Concept" ], "source" : { @@ -27,26 +28,44 @@ } }, { "type" : [ "ComplexSubject" ], - "label" : "Geschichte 1945- | Bericht", + "label" : "Magdalena / Mutter / 1787-1858 | Geschichte 1800-", "componentList" : [ { - "id" : "https://rpb.lobid.org/sw/z64", - "label" : "Geschichte 1945-", + "id" : "https://d-nb.info/gnd/119067552", + "label" : "Magdalena / Mutter / 1787-1858", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + }, { + "id" : "https://rpb.lobid.org/sw/z48", + "label" : "Geschichte 1800-", + "source" : { + "id" : "http://rpb.lobid.org/sw", + "label" : "RPB-Sachsystematik" + } + } ] + }, { + "type" : [ "ComplexSubject" ], + "label" : "Kongregation der Franziskanerinnen von Heythuysen | Geschichte 1800-", + "componentList" : [ { + "id" : "https://rpb.lobid.org/sw/00Sn93k0040a", + "label" : "Kongregation der Franziskanerinnen von Heythuysen", "source" : { "id" : "http://rpb.lobid.org/sw", "label" : "RPB-Sachsystematik" } }, { - "id" : "https://d-nb.info/gnd/4128022-2", - "label" : "Bericht", + "id" : "https://rpb.lobid.org/sw/z48", + "label" : "Geschichte 1800-", "source" : { - "id" : "https://d-nb.info/gnd/7749153-1", - "label" : "Gemeinsame Normdatei (GND)" + "id" : "http://rpb.lobid.org/sw", + "label" : "RPB-Sachsystematik" } } ] } ], "spatial" : [ { - "id" : "https://rpb.lobid.org/spatial#n22", - "label" : "n22", + "id" : "https://rpb.lobid.org/spatial#n131000700701", + "label" : "n131000700701", "type" : [ "Concept" ], "source" : { "id" : "https://rpb.lobid.org/spatial", @@ -55,13 +74,33 @@ } ], "contribution" : [ { "agent" : { - "id" : "https://rpb.lobid.org/agent/00Pn92k0749a", - "label" : "Hellmann, Hubert" + "id" : "https://rpb.lobid.org/agent/00Pn93k0040b", + "label" : "Cools, Angelita" }, "role" : { "id" : "http://id.loc.gov/vocabulary/relators/aut", "label" : "Autor/in" }, "type" : [ "Contribution" ] + }, { + "agent" : { + "id" : "https://rpb.lobid.org/agent/00Pn93k0040c", + "label" : "Wijnpersse, Hildegard ¬van de¬" + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "id" : "https://rpb.lobid.org/agent/00Pn93k0040d", + "label" : "Ackermans, Gian" + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/edt", + "label" : "Bearb." + }, + "type" : [ "Contribution" ] } ] } diff --git a/conf/output/test-output-61.json b/conf/output/test-output-61.json index e69de29b..875ecb41 100644 --- a/conf/output/test-output-61.json +++ b/conf/output/test-output-61.json @@ -0,0 +1,67 @@ +{ + "@context" : "http://lobid.org/resources/context.jsonld", + "type" : [ "BibliographicResource", "Book" ], + "rpbId" : "RPB929t920749", + "id" : "https://lobid.org/resources/RPB929t920749", + "inCollection" : [ { + "id" : "http://lobid.org/resources/HT013494180#!", + "type" : [ "Collection" ], + "label" : "Rheinland-Pfälzische Bibliographie" + } ], + "title" : "Sachstand der heutigen Gewässerbelastung : Belastung der letzten Jahrzehnte ; Verhalten von Schadstoffen in Gewässern ; Schadensfälle", + "extent" : "28 Bl. : graph. Darst.", + "responsibilityStatement" : [ "Hubert Hellmann" ], + "publication" : [ { + "location" : [ "Koblenz" ], + "startDate" : "1992", + "publishedBy" : [ "Bundesanst. für Gewässerkunde" ], + "type" : [ "PublicationEvent" ] + } ], + "subject" : [ { + "id" : "http://purl.org/lobid/rpb#n142382", + "label" : "Platzhalter Schlagwortlabel", + "type" : [ "Concept" ], + "source" : { + "id" : "http://purl.org/lobid/rpb", + "label" : "Systematik der Rheinland-Pfälzischen Bibliographie" + } + }, { + "type" : [ "ComplexSubject" ], + "label" : "Geschichte 1945- | Bericht", + "componentList" : [ { + "id" : "https://rpb.lobid.org/sw/z64", + "label" : "Geschichte 1945-", + "source" : { + "id" : "http://rpb.lobid.org/sw", + "label" : "RPB-Sachsystematik" + } + }, { + "id" : "https://d-nb.info/gnd/4128022-2", + "label" : "Bericht", + "source" : { + "id" : "https://d-nb.info/gnd/7749153-1", + "label" : "Gemeinsame Normdatei (GND)" + } + } ] + } ], + "spatial" : [ { + "id" : "https://rpb.lobid.org/spatial#n22", + "label" : "n22", + "type" : [ "Concept" ], + "source" : { + "id" : "https://rpb.lobid.org/spatial", + "label" : "RPB-Raumsystematik" + } + } ], + "contribution" : [ { + "agent" : { + "id" : "https://rpb.lobid.org/agent/00Pn92k0749a", + "label" : "Hellmann, Hubert" + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + } ] +} diff --git a/conf/rpb-titel-to-lobid.fix b/conf/rpb-titel-to-lobid.fix index 1ca3523b..eeceb245 100644 --- a/conf/rpb-titel-to-lobid.fix +++ b/conf/rpb-titel-to-lobid.fix @@ -1,10 +1,3 @@ -# Remove titles that are only in BiblioVino -# (see https://jira.hbz-nrw.de/browse/RPB-78) - -if all_equal("f18_", "nur BiblioVino") - reject() -end - # Remove empty fields vacuum() @@ -63,13 +56,19 @@ replace_all("biblioVinoId", "\\.", "") # ------- "inCollection" ------- -set_hash("coll") -set_field("coll.id", "http://lobid.org/resources/HT013494180#!") -set_array("coll.type[]") -add_field("coll.type[].$append", "Collection") -add_field("coll.label", "Rheinland-Pfälzische Bibliographie") set_array("inCollection[]") -move_field("coll", "inCollection[]") +unless all_equal("f18_", "nur BiblioVino") + set_field("inCollection[].$append.id", "http://lobid.org/resources/HT013494180#!") + set_array("inCollection[].$last.type[]") + add_field("inCollection[].$last.type[].$append", "Collection") + add_field("inCollection[].$last.label", "Rheinland-Pfälzische Bibliographie") +end +unless all_equal("f18_", "nur RPB") + set_field("inCollection[].$append.id", "http://lobid.org/resources/HT013678171#!") + set_array("inCollection[].$last.type[]") + add_field("inCollection[].$last.type[].$append", "Collection") + add_field("inCollection[].$last.label", "BiblioVino") +end # ------- "title" field ------- if is_string("f20_")