From deedcd50fd8e2564aa8787f2d655cf23fe5f8428 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Wed, 26 Feb 2025 11:03:28 +0100 Subject: [PATCH] Outcomment describedBy transformation RPB-225 This needs to be adjusted with regard to the strapi indexing. --- .../fix/describedBy.fix | 234 +++++++++--------- conf/output/test-hebis-to-lobid-output-0.json | 44 ---- conf/output/test-hebis-to-lobid-output-1.json | 44 ---- .../output/test-hebis-to-lobid-output-10.json | 44 ---- .../output/test-hebis-to-lobid-output-11.json | 44 ---- .../output/test-hebis-to-lobid-output-12.json | 44 ---- .../output/test-hebis-to-lobid-output-13.json | 44 ---- conf/output/test-hebis-to-lobid-output-2.json | 44 ---- conf/output/test-hebis-to-lobid-output-3.json | 44 ---- conf/output/test-hebis-to-lobid-output-4.json | 44 ---- conf/output/test-hebis-to-lobid-output-5.json | 44 ---- conf/output/test-hebis-to-lobid-output-6.json | 44 ---- conf/output/test-hebis-to-lobid-output-7.json | 44 ---- conf/output/test-hebis-to-lobid-output-8.json | 44 ---- conf/output/test-hebis-to-lobid-output-9.json | 44 ---- 15 files changed, 118 insertions(+), 732 deletions(-) diff --git a/conf/hebisMarc2lobid-transformation/fix/describedBy.fix b/conf/hebisMarc2lobid-transformation/fix/describedBy.fix index 9c16228..2d7a64f 100644 --- a/conf/hebisMarc2lobid-transformation/fix/describedBy.fix +++ b/conf/hebisMarc2lobid-transformation/fix/describedBy.fix @@ -1,116 +1,118 @@ - -copy_field("almaMmsId", "describedBy.id") -prepend("describedBy.id", "http://lobid.org/resources/") - -copy_field("almaMmsId", "describedBy.label") -prepend("describedBy.label", "Webseite der hbz-Ressource ") - -add_array("describedBy.type[]", "BibliographicDescription") - - -add_field("describedBy.inDataset.id","http://lobid.org/resources/dataset#!") - -add_field("describedBy.inDataset.label","lobid-resources – Der hbz-Verbundkatalog als Linked Open Data") - -add_array("describedBy.resultOf.type[]", "CreateAction") - -add_field("@createTime","$[createEndTime]") -if all_match("@createTime","0") - add_field("describedBy.resultOf.endTime","0000-00-00T00:00:00") -else - timestamp("describedBy.resultOf.endTime",format:"yyyy-MM-dd'T'HH:mm:ss", timezone:"Europe/Berlin") -end - - -add_field("describedBy.resultOf.instrument.id","https://github.com/hbz/lobid-resources") - -add_array("describedBy.resultOf.instrument.type[]", "SoftwareApplication") - -add_field("describedBy.resultOf.instrument.label","Software lobid-resources") - -copy_field("almaMmsId","describedBy.resultOf.object.id") -prepend("describedBy.resultOf.object.id","https://lobid.org/marcxml/") - -# 008/00-05 has the initial cataloguing date. We test strictly if 008 only has 6 digits, sometimes records have 8 digits that are not valid. -# We use MNG info as fallback. -# MNG is a ALMA-specific element (MNG .b only states the indexing date into ALMA.) - -if any_match("008", "^\\d{6}\\D.*") # 008/00-05 is the correct form for the cataloguing date in MARC. - copy_field("008","@initialCataloguingDate") - substring("@initialCataloguingDate","0","6") -end - -if any_match("@initialCataloguingDate","^[0-4]\\d*") # Complete dates after 2000 - prepend("@initialCataloguingDate","20") -elsif any_match("@initialCataloguingDate","\\d*") # Complete dates before 2000 - prepend("@initialCataloguingDate","19") -else - copy_field("MNG .b","@initialCataloguingDate") -end -copy_field("@initialCataloguingDate","describedBy.resultOf.object.dateCreated") - -copy_field("MNG .d","describedBy.resultOf.object.dateModified") -replace_all("describedBy.resultOf.object.dateCreated","-","") -replace_all("describedBy.resultOf.object.dateCreated"," .*","") -replace_all("describedBy.resultOf.object.dateCreated","c|©|\\s?|,|.|:|;|/|=","") -replace_all("describedBy.resultOf.object.dateModified","-","") -replace_all("describedBy.resultOf.object.dateModified"," .*","") -replace_all("describedBy.resultOf.object.dateModified","c|©|\\s?|,|.|:|;|/|=","") -#unless any_match("describedBy.resultOf.object.dateCreated","\\d{8}|\\d{4}") -# remove_field("describedBy.resultOf.object.dateCreated") -#end -#unless any_match("describedBy.resultOf.object.dateModified","\\d{8}|\\d{4}") -# remove_field("describedBy.resultOf.object.dateModified") -#end -replace_all("describedBy.resultOf.object.dateCreated","^(\\d{4})(\\d{2})(\\d{2})$","$1-$2-$3") -replace_all("describedBy.resultOf.object.dateModified","^(\\d{4})(\\d{2})(\\d{2})$","$1-$2-$3") -replace_all("describedBy.resultOf.object.dateCreated","^(\\d{4})$","$1-01-01") -replace_all("describedBy.resultOf.object.dateModified","^(\\d{4})$","$1-01-01") - -add_array("describedBy.resultOf.object.type[]", "DataFeedItem") - -copy_field("almaMmsId","describedBy.resultOf.object.label") -prepend("describedBy.resultOf.object.label","hbz-Ressource ") -append("describedBy.resultOf.object.label"," im Exportformat MARC21 XML") - -add_field("describedBy.resultOf.object.inDataset.id", "http://sru.hebis.de/sru/DB=2.1?version=1.1") - -add_field("describedBy.resultOf.object.inDataset.label", "hbz_unioncatalog") - -add_array("describedBy.license[]") -add_field("describedBy.license[].$append.id","http://creativecommons.org/publicdomain/zero/1.0" ) -add_field("describedBy.license[].$last.label","Creative Commons-Lizenz CC0 1.0 Universal" ) - - -# TODO: It seems that there are a lot of organisations that are not in lobid, we should filter them out. - -# 040 - Cataloging Source (NR) - Subfield: $a (NR), $c (NR), $d (R) -# ALMA has a lot of invalid repeated subfields $a - -do list(path: "040 ", "var":"$i") - - do list(path:"$i.a","var":"$j") - unless exists("describedBy.resultOf.object.sourceOrganization.id") - copy_field("$j", "describedBy.resultOf.object.sourceOrganization.id") - end - end - do list(path:"$i.c","var":"$j") - unless exists("describedBy.resultOf.object.provider.id") - copy_field("$j", "describedBy.resultOf.object.provider.id") - end - end - -add_array("describedBy.resultOf.object.modifiedBy[]") - do list(path:"$i.d", "var":"$j") - copy_field("$j", "describedBy.resultOf.object.modifiedBy[].$append.id") - end - -end - -call_macro("provenanceLinks",field: "describedBy.resultOf.object.sourceOrganization.id",label: "describedBy.resultOf.object.sourceOrganization.label") -call_macro("provenanceLinks",field: "describedBy.resultOf.object.provider.id",label: "describedBy.resultOf.object.provider.label") -do list(path:"describedBy.resultOf.object.modifiedBy[]","var":"$i") - call_macro("provenanceLinks",field: "$i.id",label:"$i.label") -end - -uniq("describedBy.resultOf.object.modifiedBy[]") +nothing() # currently no transformation for describedBy is needed. + +# copy_field("almaMmsId", "describedBy.id") +# prepend("describedBy.id", "http://lobid.org/resources/") +# +# copy_field("almaMmsId", "describedBy.label") +# prepend("describedBy.label", "Webseite der hbz-Ressource ") +# +# add_array("describedBy.type[]", "BibliographicDescription") +# +# +# add_field("describedBy.inDataset.id","http://lobid.org/resources/dataset#!") +# +# add_field("describedBy.inDataset.label","lobid-resources – Der hbz-Verbundkatalog als Linked Open Data") +# +# add_array("describedBy.resultOf.type[]", "CreateAction") +# +# add_field("@createTime","$[createEndTime]") +# if all_match("@createTime","0") +# add_field("describedBy.resultOf.endTime","0000-00-00T00:00:00") +# else +# timestamp("describedBy.resultOf.endTime",format:"yyyy-MM-dd'T'HH:mm:ss", timezone:"Europe/Berlin") +# end +# +# +# add_field("describedBy.resultOf.instrument.id","https://github.com/hbz/lobid-resources") +# +# add_array("describedBy.resultOf.instrument.type[]", "SoftwareApplication") +# +# add_field("describedBy.resultOf.instrument.label","Software lobid-resources") +# +# copy_field("almaMmsId","describedBy.resultOf.object.id") +# prepend("describedBy.resultOf.object.id","https://lobid.org/marcxml/") +# +# # 008/00-05 has the initial cataloguing date. We test strictly if 008 only has 6 digits, sometimes records have 8 digits that are not valid. +# # We use MNG info as fallback. +# # MNG is a ALMA-specific element (MNG .b only states the indexing date into ALMA.) +# +# if any_match("008", "^\\d{6}\\D.*") # 008/00-05 is the correct form for the cataloguing date in MARC. +# copy_field("008","@initialCataloguingDate") +# substring("@initialCataloguingDate","0","6") +# end +# +# if any_match("@initialCataloguingDate","^[0-4]\\d*") # Complete dates after 2000 +# prepend("@initialCataloguingDate","20") +# elsif any_match("@initialCataloguingDate","\\d*") # Complete dates before 2000 +# prepend("@initialCataloguingDate","19") +# else +# copy_field("MNG .b","@initialCataloguingDate") +# end +# copy_field("@initialCataloguingDate","describedBy.resultOf.object.dateCreated") +# +# copy_field("MNG .d","describedBy.resultOf.object.dateModified") +# replace_all("describedBy.resultOf.object.dateCreated","-","") +# replace_all("describedBy.resultOf.object.dateCreated"," .*","") +# replace_all("describedBy.resultOf.object.dateCreated","c|©|\\s?|,|.|:|;|/|=","") +# replace_all("describedBy.resultOf.object.dateModified","-","") +# replace_all("describedBy.resultOf.object.dateModified"," .*","") +# replace_all("describedBy.resultOf.object.dateModified","c|©|\\s?|,|.|:|;|/|=","") +# #unless any_match("describedBy.resultOf.object.dateCreated","\\d{8}|\\d{4}") +# # remove_field("describedBy.resultOf.object.dateCreated") +# #end +# #unless any_match("describedBy.resultOf.object.dateModified","\\d{8}|\\d{4}") +# # remove_field("describedBy.resultOf.object.dateModified") +# #end +# replace_all("describedBy.resultOf.object.dateCreated","^(\\d{4})(\\d{2})(\\d{2})$","$1-$2-$3") +# replace_all("describedBy.resultOf.object.dateModified","^(\\d{4})(\\d{2})(\\d{2})$","$1-$2-$3") +# replace_all("describedBy.resultOf.object.dateCreated","^(\\d{4})$","$1-01-01") +# replace_all("describedBy.resultOf.object.dateModified","^(\\d{4})$","$1-01-01") +# +# add_array("describedBy.resultOf.object.type[]", "DataFeedItem") +# +# copy_field("almaMmsId","describedBy.resultOf.object.label") +# prepend("describedBy.resultOf.object.label","hbz-Ressource ") +# append("describedBy.resultOf.object.label"," im Exportformat MARC21 XML") +# +# add_field("describedBy.resultOf.object.inDataset.id", "http://sru.hebis.de/sru/DB=2.1?version=1.1") +# +# add_field("describedBy.resultOf.object.inDataset.label", "Hebis SRU") +# +# add_array("describedBy.license[]") +# add_field("describedBy.license[].$append.id","http://creativecommons.org/publicdomain/zero/1.0" ) +# add_field("describedBy.license[].$last.label","Creative Commons-Lizenz CC0 1.0 Universal" ) +# +# +# # TODO: It seems that there are a lot of organisations that are not in lobid, we should filter them out. +# +# # 040 - Cataloging Source (NR) - Subfield: $a (NR), $c (NR), $d (R) +# # ALMA has a lot of invalid repeated subfields $a +# +# do list(path: "040 ", "var":"$i") +# +# do list(path:"$i.a","var":"$j") +# unless exists("describedBy.resultOf.object.sourceOrganization.id") +# copy_field("$j", "describedBy.resultOf.object.sourceOrganization.id") +# end +# end +# do list(path:"$i.c","var":"$j") +# unless exists("describedBy.resultOf.object.provider.id") +# copy_field("$j", "describedBy.resultOf.object.provider.id") +# end +# end +# +# add_array("describedBy.resultOf.object.modifiedBy[]") +# do list(path:"$i.d", "var":"$j") +# copy_field("$j", "describedBy.resultOf.object.modifiedBy[].$append.id") +# end +# +# end +# +# call_macro("provenanceLinks",field: "describedBy.resultOf.object.sourceOrganization.id",label: "describedBy.resultOf.object.sourceOrganization.label") +# call_macro("provenanceLinks",field: "describedBy.resultOf.object.provider.id",label: "describedBy.resultOf.object.provider.label") +# do list(path:"describedBy.resultOf.object.modifiedBy[]","var":"$i") +# call_macro("provenanceLinks",field: "$i.id",label:"$i.label") +# end +# +# uniq("describedBy.resultOf.object.modifiedBy[]") +# diff --git a/conf/output/test-hebis-to-lobid-output-0.json b/conf/output/test-hebis-to-lobid-output-0.json index a0cfedd..56b255a 100644 --- a/conf/output/test-hebis-to-lobid-output-0.json +++ b/conf/output/test-hebis-to-lobid-output-0.json @@ -15,50 +15,6 @@ "location" : [ "Ingelheim am Rhein" ], "publishedBy" : [ "Stadtverwaltung Ingelheim am Rhein" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/514226781", - "label" : "Webseite der hbz-Ressource 514226781", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/514226781", - "dateCreated" : "2023-12-21", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 514226781 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1415743560", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-1.json b/conf/output/test-hebis-to-lobid-output-1.json index f49b3e5..da326c4 100644 --- a/conf/output/test-hebis-to-lobid-output-1.json +++ b/conf/output/test-hebis-to-lobid-output-1.json @@ -16,50 +16,6 @@ "location" : [ "Mainz" ], "publishedBy" : [ "Evangelisches Dekanat Mainz" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/512839662", - "label" : "Webseite der hbz-Ressource 512839662", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/512839662", - "dateCreated" : "2023-11-01", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 512839662 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1407066536", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-10.json b/conf/output/test-hebis-to-lobid-output-10.json index 3840487..8419c13 100644 --- a/conf/output/test-hebis-to-lobid-output-10.json +++ b/conf/output/test-hebis-to-lobid-output-10.json @@ -18,50 +18,6 @@ "location" : [ "Mainz" ], "publishedBy" : [ "Schmidt" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/090358163", - "label" : "Webseite der hbz-Ressource 090358163", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/090358163", - "dateCreated" : "2000-03-14", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 090358163 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/76115483", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-11.json b/conf/output/test-hebis-to-lobid-output-11.json index c71c321..ac2c7b5 100644 --- a/conf/output/test-hebis-to-lobid-output-11.json +++ b/conf/output/test-hebis-to-lobid-output-11.json @@ -18,50 +18,6 @@ "location" : [ "Mainz" ], "publishedBy" : [ "Schmidt" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/090363000", - "label" : "Webseite der hbz-Ressource 090363000", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/090363000", - "dateCreated" : "2000-03-15", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 090363000 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/57680814", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-12.json b/conf/output/test-hebis-to-lobid-output-12.json index 3942f1f..9834508 100644 --- a/conf/output/test-hebis-to-lobid-output-12.json +++ b/conf/output/test-hebis-to-lobid-output-12.json @@ -21,50 +21,6 @@ "location" : [ "München" ], "publishedBy" : [ "Polyglott" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/508037980", - "label" : "Webseite der hbz-Ressource 508037980", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/508037980", - "dateCreated" : "2023-05-25", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 508037980 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1403376624", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-13.json b/conf/output/test-hebis-to-lobid-output-13.json index 1f5b4d7..b84ee0d 100644 --- a/conf/output/test-hebis-to-lobid-output-13.json +++ b/conf/output/test-hebis-to-lobid-output-13.json @@ -18,50 +18,6 @@ "location" : [ "München" ], "publishedBy" : [ "morisel Verlag" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/487803779", - "label" : "Webseite der hbz-Ressource 487803779", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/487803779", - "dateCreated" : "2021-11-18", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 487803779 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1282186376", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-2.json b/conf/output/test-hebis-to-lobid-output-2.json index 96712d3..28023e9 100644 --- a/conf/output/test-hebis-to-lobid-output-2.json +++ b/conf/output/test-hebis-to-lobid-output-2.json @@ -17,50 +17,6 @@ "location" : [ "Mainz" ], "publishedBy" : [ "Dezernat für Soziales, Kinder, Jugend, Schule und Gesundheit, Flüchtlingskoordination" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/512013683", - "label" : "Webseite der hbz-Ressource 512013683", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/512013683", - "dateCreated" : "2023-10-02", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 512013683 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1404835958", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-3.json b/conf/output/test-hebis-to-lobid-output-3.json index 69d3513..3d61c6b 100644 --- a/conf/output/test-hebis-to-lobid-output-3.json +++ b/conf/output/test-hebis-to-lobid-output-3.json @@ -16,50 +16,6 @@ "location" : [ "Ingelheim am Rhein" ], "publishedBy" : [ "Stadt Ingelheim am Rhein" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/512849919", - "label" : "Webseite der hbz-Ressource 512849919", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/512849919", - "dateCreated" : "2023-11-02", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 512849919 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1407112396", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-4.json b/conf/output/test-hebis-to-lobid-output-4.json index 53e70e5..d599b17 100644 --- a/conf/output/test-hebis-to-lobid-output-4.json +++ b/conf/output/test-hebis-to-lobid-output-4.json @@ -16,50 +16,6 @@ "location" : [ "Ingelheim am Rhein" ], "publishedBy" : [ "Stadtverwaltung" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/516707701", - "label" : "Webseite der hbz-Ressource 516707701", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/516707701", - "dateCreated" : "2024-03-28", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 516707701 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1428135055", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-5.json b/conf/output/test-hebis-to-lobid-output-5.json index 94276c4..c289830 100644 --- a/conf/output/test-hebis-to-lobid-output-5.json +++ b/conf/output/test-hebis-to-lobid-output-5.json @@ -14,50 +14,6 @@ "location" : [ "Ober-Olm" ], "publishedBy" : [ "Carneval Club 1948 Ober-Olm e.V." ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/475390555", - "label" : "Webseite der hbz-Ressource 475390555", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/475390555", - "dateCreated" : "2021-02-03", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 475390555 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "language" : [ { "id" : "http://id.loc.gov/vocabulary/iso639-2/ger", "label" : "Deutsch" diff --git a/conf/output/test-hebis-to-lobid-output-6.json b/conf/output/test-hebis-to-lobid-output-6.json index faab1b0..8a4c0f2 100644 --- a/conf/output/test-hebis-to-lobid-output-6.json +++ b/conf/output/test-hebis-to-lobid-output-6.json @@ -17,50 +17,6 @@ "location" : [ "Norderstedt" ], "publishedBy" : [ "Bod - Books on Demand" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/488844266", - "label" : "Webseite der hbz-Ressource 488844266", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/488844266", - "dateCreated" : "2021-12-14", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 488844266 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1288418997", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-7.json b/conf/output/test-hebis-to-lobid-output-7.json index 1f5b4d7..b84ee0d 100644 --- a/conf/output/test-hebis-to-lobid-output-7.json +++ b/conf/output/test-hebis-to-lobid-output-7.json @@ -18,50 +18,6 @@ "location" : [ "München" ], "publishedBy" : [ "morisel Verlag" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/487803779", - "label" : "Webseite der hbz-Ressource 487803779", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/487803779", - "dateCreated" : "2021-11-18", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 487803779 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1282186376", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-8.json b/conf/output/test-hebis-to-lobid-output-8.json index 3cad576..947f42e 100644 --- a/conf/output/test-hebis-to-lobid-output-8.json +++ b/conf/output/test-hebis-to-lobid-output-8.json @@ -23,50 +23,6 @@ "location" : [ "Radebeul" ], "manufacturedBy" : [ "Unitedprint.com" ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/478607776", - "label" : "Webseite der hbz-Ressource 478607776", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/478607776", - "dateCreated" : "2021-04-29", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 478607776 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/1196889751", "label" : "OCLC Ressource" diff --git a/conf/output/test-hebis-to-lobid-output-9.json b/conf/output/test-hebis-to-lobid-output-9.json index 13d67e0..dd123e0 100644 --- a/conf/output/test-hebis-to-lobid-output-9.json +++ b/conf/output/test-hebis-to-lobid-output-9.json @@ -16,50 +16,6 @@ "location" : [ "Gau-Algesheim" ], "publishedBy" : [ "Carl-Brilmayer-Ges." ] } ], - "describedBy" : { - "id" : "http://lobid.org/resources/090680634", - "label" : "Webseite der hbz-Ressource 090680634", - "type" : [ "BibliographicDescription" ], - "inDataset" : { - "id" : "http://lobid.org/resources/dataset#!", - "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" - }, - "resultOf" : { - "type" : [ "CreateAction" ], - "endTime" : "0000-00-00T00:00:00", - "instrument" : { - "id" : "https://github.com/hbz/lobid-resources", - "type" : [ "SoftwareApplication" ], - "label" : "Software lobid-resources" - }, - "object" : { - "id" : "https://lobid.org/marcxml/090680634", - "dateCreated" : "2000-04-06", - "type" : [ "DataFeedItem" ], - "label" : "hbz-Ressource 090680634 im Exportformat MARC21 XML", - "inDataset" : { - "id" : "http://sru.hebis.de/sru/DB=2.1?version=1.1", - "label" : "hbz_unioncatalog" - }, - "sourceOrganization" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "provider" : { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - }, - "modifiedBy" : [ { - "id" : "http://lobid.org/organisations/DE-603#!", - "label" : "Hessisches BibliotheksInformationsSystem hebis" - } ] - } - }, - "license" : [ { - "id" : "http://creativecommons.org/publicdomain/zero/1.0", - "label" : "Creative Commons-Lizenz CC0 1.0 Universal" - } ] - }, "sameAs" : [ { "id" : "http://worldcat.org/oclc/45021318", "label" : "OCLC Ressource"