Skip to content

Commit

Permalink
Merge #2135 from branch '2132-cdata' of github.com:hbz/lobid-resources
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Jan 24, 2025
2 parents 22e9ef6 + 32fe4bd commit 36c7fd7
Show file tree
Hide file tree
Showing 4 changed files with 920 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/resources/alma/fix/otherFields.fix
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ do list(path:"520[ 23] ", "var": "$i")
copy_field("$i.[ab]", "abstract[].$append")
end

replace_all("abstract[].*","^<!\\[CDATA\\[(.*)\\]\\]>$","$1")
replace_all("abstract[].*","<[\\/]?.{1,2}>","")

# 502 - Dissertation Note (R) Subfield: $a (R)
add_array("thesisInformation[]")
do list(path:"502 ", "var": "$i")
Expand Down
368 changes: 368 additions & 0 deletions src/test/resources/alma-fix/99371026459206441.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,368 @@
{
"@context" : "http://lobid.org/resources/context.jsonld",
"id" : "http://lobid.org/resources/99371026459206441#!",
"type" : [ "BibliographicResource", "Bibliography", "Book" ],
"medium" : [ {
"label" : "Datenträger",
"id" : "http://rdaregistry.info/termList/RDAMediaType/1003"
}, {
"label" : "Online-Ressource",
"id" : "http://rdaregistry.info/termList/RDACarrierType/1018"
} ],
"title" : "Analytical heat transfer",
"almaMmsId" : "99371026459206441",
"isbn" : [ "0429109652", "9780429109652", "1439896895", "9781439896891" ],
"oclcNumber" : [ "908077848" ],
"publication" : [ {
"startDate" : "2012",
"type" : [ "PublicationEvent" ],
"location" : [ "Boca Raton, Florida", "London, [England]", "New York" ],
"publishedBy" : [ "CRC Press" ]
} ],
"describedBy" : {
"id" : "http://lobid.org/resources/99371026459206441",
"label" : "Webseite der hbz-Ressource 99371026459206441",
"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/99371026459206441",
"dateCreated" : "2016-07-26",
"dateModified" : "2024-07-27",
"type" : [ "DataFeedItem" ],
"label" : "hbz-Ressource 99371026459206441 im Exportformat MARC21 XML",
"inDataset" : {
"id" : "https://datahub.io/dataset/hbz_unioncatalog",
"label" : "hbz_unioncatalog"
},
"sourceOrganization" : {
"id" : "https://ebookcentral.proquest.com/",
"label" : "Ebookcentral Proquest"
},
"provider" : {
"id" : "https://ebookcentral.proquest.com/",
"label" : "Ebookcentral Proquest"
},
"modifiedBy" : [ {
"id" : "https://ebookcentral.proquest.com/",
"label" : "Ebookcentral Proquest"
} ]
}
},
"license" : [ {
"id" : "http://creativecommons.org/publicdomain/zero/1.0",
"label" : "Creative Commons-Lizenz CC0 1.0 Universal"
} ]
},
"sameAs" : [ {
"id" : "https://hub.culturegraph.org/resource/(DE-605)99371026459206441",
"label" : "Culturegraph Ressource"
}, {
"id" : "http://worldcat.org/oclc/908077848",
"label" : "OCLC Ressource"
} ],
"related" : [ {
"isbn" : [ "9781322614212", "1322614210" ]
}, {
"isbn" : [ "9781439861967", "143986196X" ]
} ],
"inCollection" : [ {
"id" : "https://nrw.digibib.net/search/hbzvk/",
"label" : "DigiBib hbz Verbundkatalog",
"type" : [ "Collection" ]
} ],
"language" : [ {
"id" : "http://id.loc.gov/vocabulary/iso639-2/eng",
"label" : "Englisch"
} ],
"extent" : "1 online resource (318 p.)",
"note" : [ "Description based upon print version of record." ],
"abstract" : [ "... it will complete my library ... [and] complement the existing literature on heat transfer. It will be of value for both graduate students and faculty members.-Bengt Sunden, Lund University, Sweden" ],
"langNote" : [ "English" ],
"subject" : [ {
"type" : [ "Concept" ],
"source" : {
"label" : "Library of Congress Subject Headings",
"id" : "https://id.loc.gov/authorities/subjects.html"
},
"label" : "Heat / Transmission."
}, {
"type" : [ "Concept" ],
"source" : {
"label" : "Dewey-Dezimalklassifikation",
"id" : "https://d-nb.info/gnd/4149423-4"
},
"label" : "621.402/2",
"notation" : "621.402/2",
"version" : "23"
} ],
"subjectslabels" : [ "Heat / Transmission." ],
"hasItem" : [ {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_FHM/openurl?u.ignore_date_coverage=true&portfolio_pid=5346038490006485&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_FHM/openurl?u.ignore_date_coverage=true&rft.mms_id=991006417541906485",
"heldBy" : {
"isil" : "DE-836",
"id" : "http://lobid.org/organisations/DE-836#!",
"label" : "FH Münster, Hochschulbibliothek"
},
"seeAlso" : [ "https://fhb-muenster.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-836#!",
"label" : "FH Münster, Hochschulbibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-836:5346038490006485#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_FSW/openurl?u.ignore_date_coverage=true&portfolio_pid=53100869840006461&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_FSW/openurl?u.ignore_date_coverage=true&rft.mms_id=9916325594906461",
"heldBy" : {
"isil" : "DE-Hag4",
"id" : "http://lobid.org/organisations/DE-Hag4#!",
"label" : "Fachhochschule Südwestfalen, Fachbibliothek Hagen, Zentralbibliothek"
},
"seeAlso" : [ "https://kai.fh-swf.de/permalink/49HBZ_FSW/ou32r9/alma99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-Hag4#!",
"label" : "Fachhochschule Südwestfalen, Fachbibliothek Hagen, Zentralbibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-Hag4:53100869840006461#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_FHA/openurl?u.ignore_date_coverage=true&portfolio_pid=53121845930006444&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_FHA/openurl?u.ignore_date_coverage=true&rft.mms_id=991005875817006444",
"heldBy" : {
"isil" : "DE-A96",
"id" : "http://lobid.org/organisations/DE-A96#!",
"label" : "Hochschulbibliothek der Fachhochschule Aachen"
},
"seeAlso" : [ "https://fhb-aachen.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-A96#!",
"label" : "Hochschulbibliothek der Fachhochschule Aachen"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-A96:53121845930006444#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_FHA/openurl?u.ignore_date_coverage=true&portfolio_pid=53117835510006444&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_FHA/openurl?u.ignore_date_coverage=true&rft.mms_id=991005875817006444",
"heldBy" : {
"isil" : "DE-A96",
"id" : "http://lobid.org/organisations/DE-A96#!",
"label" : "Hochschulbibliothek der Fachhochschule Aachen"
},
"seeAlso" : [ "https://fhb-aachen.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-A96#!",
"label" : "Hochschulbibliothek der Fachhochschule Aachen"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-A96:53117835510006444#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_FHA/openurl?u.ignore_date_coverage=true&portfolio_pid=53121468900006444&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_FHA/openurl?u.ignore_date_coverage=true&rft.mms_id=991005875817006444",
"heldBy" : {
"isil" : "DE-A96",
"id" : "http://lobid.org/organisations/DE-A96#!",
"label" : "Hochschulbibliothek der Fachhochschule Aachen"
},
"seeAlso" : [ "https://fhb-aachen.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-A96#!",
"label" : "Hochschulbibliothek der Fachhochschule Aachen"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-A96:53121468900006444#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_RHW/openurl?u.ignore_date_coverage=true&portfolio_pid=5323588610006479&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_RHW/openurl?u.ignore_date_coverage=true&rft.mms_id=991002764538606479",
"heldBy" : {
"isil" : "DE-1383",
"id" : "http://lobid.org/organisations/DE-1383#!",
"label" : "Hochschule Rhein-Waal, Bibliothek"
},
"seeAlso" : [ "https://hsb-rhein-waal.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-1383#!",
"label" : "Hochschule Rhein-Waal, Bibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-1383:5323588610006479#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_RUW/openurl?u.ignore_date_coverage=true&portfolio_pid=5330294100006453&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_RUW/openurl?u.ignore_date_coverage=true&rft.mms_id=991004160108706453",
"heldBy" : {
"isil" : "DE-1393",
"id" : "http://lobid.org/organisations/DE-1393#!",
"label" : "Hochschule Ruhr West, Hochschulbibliothek"
},
"seeAlso" : [ "https://hsb-ruhr-west.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-1393#!",
"label" : "Hochschule Ruhr West, Hochschulbibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-1393:5330294100006453#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_HMT/openurl?u.ignore_date_coverage=true&portfolio_pid=5324918280006460&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_HMT/openurl?u.ignore_date_coverage=true&rft.mms_id=993453152406460",
"heldBy" : {
"isil" : "DE-Kn38",
"id" : "http://lobid.org/organisations/DE-Kn38#!",
"label" : "Hochschule für Musik und Tanz Köln, Bibliothek"
},
"seeAlso" : [ "https://hfmt-koeln.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-Kn38#!",
"label" : "Hochschule für Musik und Tanz Köln, Bibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-Kn38:5324918280006460#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_KHO/openurl?u.ignore_date_coverage=true&portfolio_pid=5344169600006474&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_KHO/openurl?u.ignore_date_coverage=true&rft.mms_id=991007213172106474",
"heldBy" : {
"isil" : "DE-1032",
"id" : "http://lobid.org/organisations/DE-1032#!",
"label" : "Katholische Hochschule Nordrhein-Westfalen (katho), Hochschulbibliothek"
},
"seeAlso" : [ "https://research.ebsco.com/c/xkyosu/search/results?q=99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-1032#!",
"label" : "Katholische Hochschule Nordrhein-Westfalen (katho), Hochschulbibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-1032:5344169600006474#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_RTU/openurl?u.ignore_date_coverage=true&portfolio_pid=53126298490007476&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_RTU/openurl?u.ignore_date_coverage=true&rft.mms_id=992022100939207476",
"heldBy" : {
"isil" : "DE-386",
"id" : "http://lobid.org/organisations/DE-386#!",
"label" : "Universitätsbibliothek der RPTU in Kaiserslautern"
},
"seeAlso" : [ "https://hbz-rptu.primo.exlibrisgroup.com/permalink/49HBZ_RTU/11q51gp/alma99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-386#!",
"label" : "Universitätsbibliothek der RPTU in Kaiserslautern"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-386:53126298490007476#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_TGA/openurl?u.ignore_date_coverage=true&portfolio_pid=5311940560006469&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_TGA/openurl?u.ignore_date_coverage=true&rft.mms_id=991000703032706469",
"heldBy" : {
"isil" : "DE-Bm1",
"id" : "http://lobid.org/organisations/DE-Bm1#!",
"label" : "Technische Hochschule Georg Agricola, Hochschulbibliothek"
},
"seeAlso" : [ "https://thga.digibib.net/search/katalog/record/(DE-605)99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-Bm1#!",
"label" : "Technische Hochschule Georg Agricola, Hochschulbibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-Bm1:5311940560006469#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_ULB/openurl?u.ignore_date_coverage=true&portfolio_pid=53351237030006467&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_ULB/openurl?u.ignore_date_coverage=true&rft.mms_id=991045197132506467",
"heldBy" : {
"isil" : "DE-5",
"id" : "http://lobid.org/organisations/DE-5#!",
"label" : "Universitäts- und Landesbibliothek Bonn"
},
"seeAlso" : [ "https://bonnus.ulb.uni-bonn.de/permalink/49HBZ_ULB/idtnkp/alma99371026459206441" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-5#!",
"label" : "Universitäts- und Landesbibliothek Bonn"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-5:53351237030006467#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_UBK/openurl?u.ignore_date_coverage=true&portfolio_pid=53350464330006476&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_UBK/openurl?u.ignore_date_coverage=true&rft.mms_id=991055589308406476",
"heldBy" : {
"isil" : "DE-38",
"id" : "http://lobid.org/organisations/DE-38#!",
"label" : "Universitäts- und Stadtbibliothek Köln, Hauptabteilung"
},
"seeAlso" : [ "https://katalog.ub.uni-koeln.de/portal/search.html?num=20&page=1&l=de&srt=year_desc&tab=books&hbzid=99371026459206441&fdb=uni" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-38#!",
"label" : "Universitäts- und Stadtbibliothek Köln, Hauptabteilung"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-38:53350464330006476#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_UBK/openurl?u.ignore_date_coverage=true&portfolio_pid=53330491220006476&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_UBK/openurl?u.ignore_date_coverage=true&rft.mms_id=991055589308406476",
"heldBy" : {
"isil" : "DE-38",
"id" : "http://lobid.org/organisations/DE-38#!",
"label" : "Universitäts- und Stadtbibliothek Köln, Hauptabteilung"
},
"seeAlso" : [ "https://katalog.ub.uni-koeln.de/portal/search.html?num=20&page=1&l=de&srt=year_desc&tab=books&hbzid=99371026459206441&fdb=uni" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-38#!",
"label" : "Universitäts- und Stadtbibliothek Köln, Hauptabteilung"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-38:53330491220006476#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
"label" : "Electronic Portfolio",
"electronicLocator" : "https://eu04.alma.exlibrisgroup.com/view/uresolver/49HBZ_ULM/openurl?u.ignore_date_coverage=true&portfolio_pid=53661210840006449&Force_direct=true",
"sublocation" : "https://hbz-network.userservices.exlibrisgroup.com/view/uresolver/49HBZ_ULM/openurl?u.ignore_date_coverage=true&rft.mms_id=991044863038506449",
"heldBy" : {
"isil" : "DE-6",
"id" : "http://lobid.org/organisations/DE-6#!",
"label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek"
},
"seeAlso" : [ "https://hbz-ulbms.primo.exlibrisgroup.com/discovery/search?query=any,contains,99371026459206441&tab=Everything&search_scope=MyInst_and_CI&vid=49HBZ_ULM:VU2&offset=0" ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-6#!",
"label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek"
} ],
"id" : "http://lobid.org/items/99371026459206441:DE-6:53661210840006449#!"
} ],
"bibliographicLevel" : {
"label" : "Monograph/Item",
"id" : "https://www.loc.gov/marc/bibliographic/bdleader.html#Monograph_Item"
},
"responsibilityStatement" : [ "Je-Chin Han." ],
"contribution" : [ {
"agent" : {
"label" : "Han, Je-Chin",
"type" : [ "Person" ],
"dateOfBirth" : "1946"
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Autor/in"
},
"type" : [ "Contribution" ]
} ]
}
Loading

0 comments on commit 36c7fd7

Please sign in to comment.