diff --git a/src/main/resources/alma/alma.fix b/src/main/resources/alma/alma.fix index 79a58b5c4..601b73941 100644 --- a/src/main/resources/alma/alma.fix +++ b/src/main/resources/alma/alma.fix @@ -68,6 +68,7 @@ retain( "language[]", "langNote[]", "license[]", + "manufacture[]", "medium[]", "natureOfContent[]", "note[]", diff --git a/src/main/resources/alma/fix/macros.fix b/src/main/resources/alma/fix/macros.fix index 18cbf8a2f..08d819bb3 100644 --- a/src/main/resources/alma/fix/macros.fix +++ b/src/main/resources/alma/fix/macros.fix @@ -378,4 +378,58 @@ do put_macro("publication") end end end +end + +do put_macro("manufacture") + do list(path:"$[field]", "var":"$i") + add_field("manufacture[].$append.test","") + do list(path: "$i.c", "var":"$j") + replace_all("$j", "\\[|\\]|ca. |c ", "") + unless exists("manufacture[].$last.startDate") + if any_match("$j",".*?([01]\\d{3}|20\\d{2}).*") + paste("manufacture[].$last.startDate", "$j") + end + end + unless exists("manufacture[].$last.endDate") + if any_match("$j",".*-[ ]?([01]\\d{3}|20\\d{2})$") + paste("manufacture[].$last.endDate", "$j") + end + end + end + set_array("manufacture[].$last.type[]","Event") + set_array("manufacture[].$last.location[]") + copy_field("$i.a", "manufacture[].$last.location[].$append") + set_array("manufacture[].$last.manufacturedBy[]") + copy_field("$i.b", "manufacture[].$last.manufacturedBy[].$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.manufacture[]") + set_array("$AGR.record.manufacture[]") + end + add_field ("$AGR.record.manufacture[].$append.dummi","") + set_array("$AGR.record.manufacture[].$last.location[]") + copy_field("$880.a", "$AGR.record.manufacture[].$last.location[].$append") + set_array("$AGR.record.manufacture[].$last.manufacturedBy[]") + copy_field("$880.b", "$AGR.record.manufacture[].$last.manufacturedBy[].$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.manufacture[]") + add_field ("alternateGraphicRepresentation[].$last.manufacture[].$append.dummi","") + set_array("alternateGraphicRepresentation[].$last.manufacture[].$last.location[]") + copy_field("$880.a", "alternateGraphicRepresentation[].$last.manufacture[].$last.location[].$append") + set_array("alternateGraphicRepresentation[].$last.manufacture[].$last.publishedBy[]") + copy_field("$880.b", "alternateGraphicRepresentation[].$last.manufacture[].$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 5e1da3911..5352a64bf 100644 --- a/src/main/resources/alma/fix/titleRelatedFields.fix +++ b/src/main/resources/alma/fix/titleRelatedFields.fix @@ -234,6 +234,13 @@ else call_macro("publication",field:"260 [ 1]") # # - Not applicable/No information provided/Earliest end +set_array("manufacture[]") +if exists("264[ 23]3") + call_macro("manufacture",field:"26433") # 3 - Current/Latest + call_macro("manufacture",field:"26423") # 2 - Intervening + call_macro("manufacture",field:"264 3") # # - 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") diff --git a/src/test/resources/alma-fix/990183958380206441.json b/src/test/resources/alma-fix/990183958380206441.json new file mode 100644 index 000000000..d6884af13 --- /dev/null +++ b/src/test/resources/alma-fix/990183958380206441.json @@ -0,0 +1,257 @@ +{ + "@context" : "http://lobid.org/resources/context.jsonld", + "almaMmsId" : "990183958380206441", + "hbzId" : "HT016692738", + "deprecatedUri" : "http://lobid.org/resources/HT016692738#!", + "isbn" : [ "3980031357", "9783980031356" ], + "oclcNumber" : [ "706989442" ], + "title" : "Rösenbeck", + "otherTitleInformation" : [ "Orts- und Landesgeschichte am Beispiel eines Bredelarer Klosterdorfes" ], + "manufacture" : [ { + "startDate" : "2010", + "type" : [ "Event" ], + "location" : [ "Marsberg" ], + "manufacturedBy" : [ "Boxberger" ] + } ], + "describedBy" : { + "id" : "http://lobid.org/resources/990183958380206441", + "label" : "Webseite der hbz-Ressource 990183958380206441", + "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/990183958380206441", + "dateCreated" : "2021-04-05", + "dateModified" : "2023-05-30", + "type" : [ "DataFeedItem" ], + "label" : "hbz-Ressource 990183958380206441 im Exportformat MARC21 XML", + "inDataset" : { + "id" : "https://datahub.io/dataset/hbz_unioncatalog", + "label" : "hbz_unioncatalog" + }, + "sourceOrganization" : { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, + "provider" : { + "id" : "http://lobid.org/organisations/DE-101#!", + "label" : "Deutsche Nationalbibliothek" + }, + "modifiedBy" : [ { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, { + "id" : "http://lobid.org/organisations/DE-605#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen" + } ] + } + }, + "license" : [ { + "id" : "http://creativecommons.org/publicdomain/zero/1.0", + "label" : "Creative Commons-Lizenz CC0 1.0 Universal" + } ] + }, + "sameAs" : [ { + "id" : "http://hub.culturegraph.org/resource/HBZ-HT016692738", + "label" : "Culturegraph Ressource" + }, { + "id" : "http://worldcat.org/oclc/706989442", + "label" : "OCLC Ressource" + }, { + "id" : "http://nwbib.de/990183958380206441#!", + "label" : "NWBib-Ressource" + } ], + "tableOfContents" : [ { + "label" : "Inhaltsverzeichnis", + "id" : "http://digitale-objekte.hbz-nrw.de/storage2/2019/08/02/file_154/8623447.pdf" + } ], + "inCollection" : [ { + "id" : "http://lobid.org/organisations/DE-655#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone", + "type" : [ "Collection" ] + }, { + "id" : "http://lobid.org/resources/HT014176012#!", + "label" : "Nordrhein-Westfälische Bibliographie (NWBib)", + "type" : [ "Collection" ] + } ], + "language" : [ { + "id" : "http://id.loc.gov/vocabulary/iso639-2/ger", + "label" : "Deutsch" + } ], + "extent" : "188 S. : Ill., graph. Darst., Kt.", + "subject" : [ { + "id" : "https://nwbib.de/subjects#N102000", + "label" : "Landesbeschreibungen", + "notation" : "102000", + "type" : [ "Concept" ], + "source" : { + "id" : "https://nwbib.de/subjects", + "label" : "Sachsystematik der Nordrhein-Westfälischen Bibliographie" + } + }, { + "id" : "https://nwbib.de/subjects#N240000", + "label" : "Geschichte", + "notation" : "240000", + "type" : [ "Concept" ], + "source" : { + "id" : "https://nwbib.de/subjects", + "label" : "Sachsystematik der Nordrhein-Westfälischen Bibliographie" + } + }, { + "type" : [ "ComplexSubject" ], + "label" : "Brilon-Rösenbeck | Heimatkunde", + "componentList" : [ { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Brilon-Rösenbeck", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/7733018-3", + "gndIdentifier" : "7733018-3" + }, { + "type" : [ "SubjectHeading" ], + "label" : "Heimatkunde", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/4127794-6", + "gndIdentifier" : "4127794-6", + "altLabel" : [ "Heimatforschung", "Heimatgeschichte" ] + } ] + }, { + "type" : [ "ComplexSubject" ], + "label" : "Brilon-Rösenbeck | Geschichte", + "componentList" : [ { + "type" : [ "PlaceOrGeographicName" ], + "label" : "Brilon-Rösenbeck", + "source" : { + "label" : "Gemeinsame Normdatei (GND)", + "id" : "https://d-nb.info/gnd/7749153-1" + }, + "id" : "https://d-nb.info/gnd/7733018-3", + "gndIdentifier" : "7733018-3" + }, { + "label" : "Geschichte" + } ] + } ], + "spatial" : [ { + "id" : "https://nwbib.de/spatial#Q1773509", + "label" : "Rösenbeck", + "type" : [ "Concept" ], + "source" : { + "id" : "https://nwbib.de/spatial", + "label" : "Raumsystematik der Nordrhein-Westfälischen Bibliographie" + }, + "focus" : { + "id" : "http://www.wikidata.org/entity/Q1773509", + "label" : "Rösenbeck", + "type" : [ "http://www.wikidata.org/entity/Q253019" ], + "geo" : { + "lat" : "51.4083", + "lon" : "8.68528" + } + } + } ], + "subjectslabels" : [ "Brilon-Rösenbeck", "Heimatkunde", "Geschichte" ], + "hasItem" : [ { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "DE900+RO718 T641", + "serialNumber" : "148/4347150+01", + "currentLibrary" : "UB_BI", + "currentLocation" : "14G_Mono", + "heldBy" : { + "id" : "http://lobid.org/organisations/DE-361#!", + "isil" : "DE-361", + "label" : "Universitätsbibliothek Bielefeld" + }, + "id" : "http://lobid.org/items/990183958380206441:DE-361:23292294010006442#!" + }, { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "2D 8155", + "serialNumber" : "6-00113726-8", + "currentLibrary" : "ZB", + "currentLocation" : "ZB_GMAGL", + "heldBy" : { + "id" : "http://lobid.org/organisations/DE-6#!", + "isil" : "DE-6", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, + "id" : "http://lobid.org/items/990183958380206441:DE-6:23619354250006449#!" + }, { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "O 1725", + "serialNumber" : "Z193-024182", + "currentLibrary" : "ALKU", + "currentLocation" : "ALKU_BIB", + "heldBy" : { + "id" : "http://lobid.org/organisations/DE-6-139a#!", + "isil" : "DE-6-139a", + "label" : "Kommission Alltagskulturforschung für Westfalen (KAF), Bibliothek" + }, + "id" : "http://lobid.org/items/990183958380206441:DE-6-139a:23619354230006449#!" + }, { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "LUHB1738", + "serialNumber" : "LUHB1738", + "currentLibrary" : "P0001", + "currentLocation" : "31", + "heldBy" : { + "id" : "http://lobid.org/organisations/DE-466#!", + "isil" : "DE-466", + "label" : "Universitätsbibliothek Paderborn" + }, + "id" : "http://lobid.org/items/990183958380206441:DE-466:23150297370006463#!" + }, { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysikalischerTitel" ], + "currentLibrary" : "P0001", + "currentLocation" : "UNASSIGNED", + "heldBy" : { + "id" : "http://lobid.org/organisations/DE-466#!", + "isil" : "DE-466", + "label" : "Universitätsbibliothek Paderborn" + }, + "id" : "http://lobid.org/items/990183958380206441:DE-466:22150297360006463#!" + } ], + "medium" : [ { + "label" : "Print", + "id" : "http://rdaregistry.info/termList/RDAproductionMethod/1010" + } ], + "bibliographicLevel" : { + "label" : "Monograph/Item", + "id" : "https://www.loc.gov/marc/bibliographic/bdleader.html#Monograph_Item" + }, + "type" : [ "BibliographicResource", "Book" ], + "responsibilityStatement" : [ "Hans Dieter Tönsmeyer" ], + "contribution" : [ { + "agent" : { + "gndIdentifier" : "111982227", + "id" : "https://d-nb.info/gnd/111982227", + "label" : "Tönsmeyer, Hans Dieter", + "type" : [ "Person" ], + "altLabel" : [ "Tönsmeyer, Hans-Dieter", "Tönsmeyer, Hans-D.", "Tönsmeyer, Hans D." ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + } ], + "id" : "http://lobid.org/resources/990183958380206441#!" +} diff --git a/src/test/resources/alma-fix/990183958380206441.xml b/src/test/resources/alma-fix/990183958380206441.xml new file mode 100644 index 000000000..1a8d567db --- /dev/null +++ b/src/test/resources/alma-fix/990183958380206441.xml @@ -0,0 +1,399 @@ + + + 01397nam#a2200385#c#4500 + 20211004142900.0 + tu + 110207|2010####gw#####|######|||#u#ger#c + DE-605 + 990183958380206441 + + 706989442 + OCoLC + + + 1009900439 + DE-101b + + + 3980031357 + 3-9800313-5-7 + + + (DE-605)HT016692738 + + + 6 + ger + DNB + 6 + DE-605 + + + ger + + + XA-DE + + + Rösenbeck + https://nwbib.de/spatial#Q1773509 + nwbib + + + Landesbeschreibungen + https://nwbib.de/subjects#N102000 + nwbib + + + Geschichte + https://nwbib.de/subjects#N240000 + nwbib + + + h + + + Tönsmeyer, Hans Dieter + (DE-588)111982227 + aut + https://portal.dnb.de/opac.htm?method=simpleSearch&cqlMode=true&query=idn=111982227 + http://viaf.org/viaf/sourceID/DNB|111982227 + GND-111982227 + + + Rösenbeck + Orts- und Landesgeschichte am Beispiel eines Bredelarer Klosterdorfes + Hans Dieter Tönsmeyer + + + Marsberg + Boxberger + 2010 + + + 188 S. : Ill., graph. Darst., Kt. + + + Brilon-Rösenbeck + g + (DE-588)7733018-3 + https://portal.dnb.de/opac.htm?method=simpleSearch&cqlMode=true&query=idn=1009833146 + http://viaf.org/viaf/sourceID/DNB|1009833146 + + + Heimatkunde + s + (DE-588)4127794-6 + https://portal.dnb.de/opac.htm?method=simpleSearch&cqlMode=true&query=idn=041277945 + http://viaf.org/viaf/sourceID/DNB|041277945 + GND-041277945 + + + Brilon-Rösenbeck + g + (DE-588)7733018-3 + https://portal.dnb.de/opac.htm?method=simpleSearch&cqlMode=true&query=idn=1009833146 + http://viaf.org/viaf/sourceID/DNB|1009833146 + + + Geschichte + z + + + V:DE-604 + application/pdf + http://digitale-objekte.hbz-nrw.de/storage2/2019/08/02/file_154/8623447.pdf + Inhaltsverzeichnis + O:PKN + + + NWBib-6 + + + 051 + m|||z||| + + + 030 + a|1dz||z|||17 + + + 050 + a|a||||||||||| + + + (OCoLC)706989442 + + + (DE-599)DNB1009900439 + + + 49HBZ_NETWORK + 990183958380206441 + HBZ Network + + + 49HBZ_BIE + 991011779189706442 + Universität Bielefeld + + + 49HBZ_ULM + 991043272319706449 + Universität Münster + + + 49HBZ_PAD + 990013893370106463 + Universitätsbibliothek Paderborn + + + System + HBZ + marc21 + 20211004142900.0 + 01 + false + 2023-05-30 20:19:11 Europe/Berlin + 018395838-HBZ01 + 60 + import + 2021-04-05 22:01:19 Europe/Berlin + + + UB_BI + 14G_Mono + DE900+RO718 T641 + 22292294020006442 + + + 2021-04-19 06:10:00 + 22292294020006442 + 49HBZ_BIE + false + import + + + 22292294020006442 + 14G_Mono + BOOK + 14G_Mono + item_08 + Cutover_Fix_OSID + 2021-04-18 12:59:00 Europe/Berlin + 2021-04-19 08:10:29 Europe/Berlin + false + 49HBZ_BIE + 1 + 8 + import + Abteilung/Standort/Haushaltsstufe: 14 | SISIS-Magazindrucker: 0 | HBZ01: HT016692738 | Keine Beilagen: 1 + 148/4347150+01 + SISIS-Ausleihzähler vorletztes Migrationsjahr: 0 | SISIS-Vormerkzähler Migrationsjahr: 0 | SISIS-Buchdaten-Aufnahmedatum: 2011-04-08 + Fernleihkonditionen: 0 | Sigel: 361 | Klassifikation: 14G_Mono | Altersbegrenzung: 0 | SISIS-Ausleihzähler Migrationsjahr: 0 | SISIS-Ausleihzähler Vor-Migrationsjahr: 0 + 23292294010006442 + DE900+RO718 T641 + 11-4559 + 2021-04-19 08:10:00 Europe/Berlin + UB_BI + UB_BI + + + ZB + ZB_GMAGL + 2D 8155 + 22619354260006449 + + + 2022-07-11 13:56:11 + 22619354260006449 + 49HBZ_ULM + false + import + + + ALKU + ALKU_BIB + O 1725 + 22619354240006449 + + + 2022-07-11 13:56:11 + 22619354240006449 + 49HBZ_ULM + false + import + + + 22619354260006449 + ZB_GMAGL + BOOK + ZB_GMAGL + AMO_TL2_FIX + 2022-07-10 12:59:00 Europe/Berlin + 2022-07-12 13:10:54 Europe/Berlin + false + SISIS-Ausleihzähler Migrationsjahr: 0 | SISIS-Ausleihzähler Vor-Migrationsjahr: 0 | SISIS-Ausleihzähler vorletztes Migrationsjahr: 0 + 49HBZ_ULM + 1 + 8 + import + 6-00113726-8 + Fernleihkonditionen: 0 + 23619354250006449 + DBS-Systematik: 39 + 2D 8155 + 2022-07-11 15:56:11 Europe/Berlin + ZB + ZB + + + 22619354240006449 + ALKU_BIB + BOOK + ALKU_BIB + AMO_TL2_FIX + 2022-07-10 12:59:00 Europe/Berlin + 2022-07-12 13:10:54 Europe/Berlin + false + SISIS-Ausleihzähler Migrationsjahr: 0 | SISIS-Ausleihzähler Vor-Migrationsjahr: 0 | SISIS-Ausleihzähler vorletztes Migrationsjahr: 0 + 49HBZ_ULM + 1 + 8 + import + Z193-024182 + Fernleihkonditionen: 3 + 23619354230006449 + DBS-Systematik: 0 + O 1725 + 2022-07-11 15:56:11 Europe/Berlin + ALKU + ALKU + + + P0001 + 31 + 22150297380006463 + + + 2022-07-14 10:37:47 + 22150297380006463 + 49HBZ_PAD + false + import + + + P0001 + UNASSIGNED + 22150297360006463 + + + 2022-07-14 10:37:47 + 22150297360006463 + 49HBZ_PAD + false + import + + + 22150297380006463 + 31 + BOOK + 31 + 20 + System + 2011-03-02 11:59:00 Europe/Berlin + 2022-07-14 12:38:24 Europe/Berlin + false + LUHB1738 + 62/// + 49HBZ_PAD + 1 + 8 + import + LUHB1738 + 23150297370006463 + 8 + Maintenance count: 002 + M-11-2412 + 11/3891 + 20110404 + 2011-03-02 01:00:00 Europe/Berlin + P0001 + P0001 + + + Tönsmeyer, Hans-Dieter + GND + GND-111982227 + 400 + + + Tönsmeyer, Hans-D. + GND + GND-111982227 + 400 + + + Tönsmeyer, Hans D. + GND + GND-111982227 + 400 + + + 111982227 + http://d-nb.info/gnd/111982227 + gnd + GND + GND-111982227 + 024 + + + 7733018-3 + http://d-nb.info/gnd/7733018-3 + gnd + GND + GND-1009833146 + 024 + + + 2845099 + geonames + GND + GND-1009833146 + 024 + + + Heimatforschung + GND + GND-041277945 + 450 + + + Heimatgeschichte + GND + GND-041277945 + 450 + + + http://d-nb.info/gnd/4127794-6 + uri + GND + GND-041277945 + 024 + + + 7733018-3 + http://d-nb.info/gnd/7733018-3 + gnd + GND + GND-1009833146 + 024 + + + 2845099 + geonames + GND + GND-1009833146 + 024 + + diff --git a/src/test/resources/alma-fix/990185619180206441.json b/src/test/resources/alma-fix/990185619180206441.json index 9aa33f3c2..272701493 100644 --- a/src/test/resources/alma-fix/990185619180206441.json +++ b/src/test/resources/alma-fix/990185619180206441.json @@ -12,6 +12,11 @@ "location" : [ "s.l." ], "publishedBy" : [ "EMI Records" ] } ], + "manufacture" : [ { + "startDate" : "1994", + "type" : [ "Event" ], + "location" : [ "EMI Records Ltd, p 1969" ] + } ], "describedBy" : { "id" : "http://lobid.org/resources/990185619180206441", "label" : "Webseite der hbz-Ressource 990185619180206441", diff --git a/web/conf/context.jsonld b/web/conf/context.jsonld index 1ebbdf42b..c2a6718c9 100644 --- a/web/conf/context.jsonld +++ b/web/conf/context.jsonld @@ -9,19 +9,19 @@ "focus" : { "@id" : "http://xmlns.com/foaf/0.1/focus" }, + "SecondaryPublicationEvent" : { + "@id" : "http://purl.org/lobid/lv#SecondaryPublicationEvent" + }, "altLabel" : { "@id" : "http://www.w3.org/2004/02/skos/core#altLabel" }, - "SecondaryPublicationEvent" : { - "@id" : "http://purl.org/lobid/lv#SecondaryPublicationEvent" + "Image" : { + "@id" : "http://purl.org/ontology/bibo/Image" }, "type" : { "@id" : "@type", "@container" : "@set" }, - "Image" : { - "@id" : "http://purl.org/ontology/bibo/Image" - }, "ReferenceSource" : { "@id" : "http://purl.org/ontology/bibo/ReferenceSource" }, @@ -35,15 +35,15 @@ "@id" : "http://id.loc.gov/ontologies/bibframe/contribution", "@container" : "@list" }, - "notation" : { - "@id" : "http://www.w3.org/2004/02/skos/core#notation" - }, "Book" : { "@id" : "http://purl.org/ontology/bibo/Book" }, "Combination" : { "@id" : "http://iflastandards.info/ns/isbd/terms/mediatype/T1008" }, + "notation" : { + "@id" : "http://www.w3.org/2004/02/skos/core#notation" + }, "Work" : { "@id" : "https://d-nb.info/standards/elementset/gnd#Work" }, @@ -100,15 +100,15 @@ "bibliographicCitation" : { "@id" : "http://purl.org/dc/terms/bibliographicCitation" }, - "dateOfBirthAndDeath" : { - "@id" : "https://d-nb.info/standards/elementset/gnd#dateOfBirthAndDeath" - }, "Map" : { "@id" : "http://purl.org/ontology/bibo/Map" }, "Person" : { "@id" : "https://d-nb.info/standards/elementset/gnd#Person" }, + "dateOfBirthAndDeath" : { + "@id" : "https://d-nb.info/standards/elementset/gnd#dateOfBirthAndDeath" + }, "startDate" : { "@id" : "http://schema.org/startDate" }, @@ -146,13 +146,13 @@ "@id" : "http://id.loc.gov/ontologies/bibframe/hasItem", "@container" : "@set" }, + "Festschrift" : { + "@id" : "http://purl.org/lobid/lv#Festschrift" + }, "alternativeTitle" : { "@id" : "http://purl.org/dc/terms/alternative", "@container" : "@set" }, - "Festschrift" : { - "@id" : "http://purl.org/lobid/lv#Festschrift" - }, "lon" : { "@id" : "http://schema.org/longitude" }, @@ -182,19 +182,19 @@ "modifiedBy" : { "@id" : "http://open-services.net/ns/core#modifiedBy" }, + "PublishedScore" : { + "@id" : "http://purl.org/ontology/mo/PublishedScore" + }, "gndIdentifier" : { "@id" : "https://d-nb.info/standards/elementset/gnd#gndIdentifier" }, - "PublishedScore" : { - "@id" : "http://purl.org/ontology/mo/PublishedScore" + "PublicationIssue" : { + "@id" : "http://schema.org/PublicationIssue" }, "oclcNumber" : { "@id" : "http://purl.org/ontology/bibo/oclcnum", "@container" : "@set" }, - "PublicationIssue" : { - "@id" : "http://schema.org/PublicationIssue" - }, "corporateBodyForTitle" : { "@id" : "http://rdaregistry.info/Elements/u/P60327", "@container" : "@set" @@ -336,15 +336,18 @@ "workNumbering" : { "@id" : "http://rdaregistry.info/Elements/w/P10079" }, - "exampleOfWork" : { - "@id" : "http://purl.org/lobid/lv#exampleOfWork" - }, "Thesis" : { "@id" : "http://purl.org/ontology/bibo/Thesis" }, + "exampleOfWork" : { + "@id" : "http://purl.org/lobid/lv#exampleOfWork" + }, "ArchivedWebPage" : { "@id" : "http://purl.org/lobid/lv#ArchivedWebPage" }, + "BibliographicResource" : { + "@id" : "http://purl.org/dc/terms/BibliographicResource" + }, "license" : { "@id" : "http://schema.org/license", "@container" : "@set" @@ -352,9 +355,6 @@ "deprecatedUri" : { "@id" : "https://d-nb.info/standards/elementset/dnb#deprecatedUri" }, - "BibliographicResource" : { - "@id" : "http://purl.org/dc/terms/BibliographicResource" - }, "bibliographicLevel" : { "@id" : "http://purl.org/lobid/lv#bibliographicLevel" }, @@ -374,6 +374,9 @@ "SubjectHeading" : { "@id" : "https://d-nb.info/standards/elementset/gnd#SubjectHeading" }, + "Sonstige" : { + "@id" : "http://purl.org/lobid/lv#Miscellaneous" + }, "note" : { "@id" : "http://id.loc.gov/ontologies/bibframe/note", "@container" : "@set" @@ -381,9 +384,6 @@ "langNote" : { "@id" : "http://purl.org/lobid/lv#langNote" }, - "Sonstige" : { - "@id" : "http://purl.org/lobid/lv#Miscellaneous" - }, "SoftwareApplication" : { "@id" : "http://schema.org/SoftwareApplication" }, @@ -399,6 +399,9 @@ "@id" : "http://www.w3.org/2001/XMLSchema#", "@container" : "@set" }, + "DataFeedItem" : { + "@id" : "http://schema.org/DataFeedItem" + }, "description" : { "@id" : "http://purl.org/dc/terms/description", "@container" : "@set" @@ -407,15 +410,12 @@ "@id" : "http://purl.org/ontology/bibo/edition", "@container" : "@set" }, - "DataFeedItem" : { - "@id" : "http://schema.org/DataFeedItem" + "Standard" : { + "@id" : "http://purl.org/ontology/bibo/Standard" }, "instrument" : { "@id" : "http://schema.org/instrument" }, - "Standard" : { - "@id" : "http://purl.org/ontology/bibo/Standard" - }, "medium" : { "@id" : "http://purl.org/dc/terms/medium", "@container" : "@set" @@ -482,13 +482,13 @@ "currentLocation" : { "@id" : "http://purl.org/lobid/lv#currentLocation" }, + "Series" : { + "@id" : "http://purl.org/ontology/bibo/Series" + }, "hasSuperordinate" : { "@id" : "http://purl.org/lobid/lv#hasSuperordinate", "@container" : "@set" }, - "Series" : { - "@id" : "http://purl.org/ontology/bibo/Series" - }, "subjectAltLabel" : { "@id" : "http://purl.org/lobid/lv#subjectAltLabel", "@container" : "@set" @@ -496,12 +496,12 @@ "itemOf" : { "@id" : "http://id.loc.gov/ontologies/bibframe/itemOf" }, - "sourceOrganization" : { - "@id" : "http://schema.org/sourceOrganization" - }, "PublicationEvent" : { "@id" : "http://schema.org/PublicationEvent" }, + "sourceOrganization" : { + "@id" : "http://schema.org/sourceOrganization" + }, "location" : { "@id" : "http://schema.org/location" }, diff --git a/web/test/tests/IndexIntegrationTest.java b/web/test/tests/IndexIntegrationTest.java index a2ef33746..f3f6ca26a 100644 --- a/web/test/tests/IndexIntegrationTest.java +++ b/web/test/tests/IndexIntegrationTest.java @@ -56,7 +56,7 @@ public static Collection data() { { "spatial.label:Westfalen", /*->*/ 7 }, { "spatial.label:Westfälen", /*->*/ 7 }, { "subject.componentList.id:1113670827", /*->*/ 0 }, - { "subject.componentList.type:PlaceOrGeographicName", /*->*/ 21 }, + { "subject.componentList.type:PlaceOrGeographicName", /*->*/ 22 }, { "publication.location:Berlin", /*->*/ 13 }, { "subject.notation:914.3", /*->*/ 6 }, { "subject.notation:914", /*->*/ 0 }, @@ -66,7 +66,7 @@ public static Collection data() { { "publication.startDate:1993", /*->*/ 3 }, { "publication.location:Berlin AND publication.startDate:1993", /*->*/ 1 }, { "publication.location:Berlin AND publication.startDate:[1992 TO 2017]", /*->*/ 4 }, - { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 124 }, + { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 125 }, { "inCollection.id:NWBib", /*->*/ 0 }, { "publication.publishedBy:Quedenfeldt", /*->*/ 2 }, { "publication.publishedBy:Quedenfeld", /*->*/ 2 }, @@ -88,7 +88,7 @@ public static Collection data() { { "describedBy.resultOf.object.dateCreated:\"2023-03-22\"", /*->*/ 1}, { "describedBy.resultOf.object.dateModified:\"2023-07-30\"", /*->*/ 3}, { "describedBy.resultOf.object.sourceOrganization.id:\"http\\://lobid.org/organisations/DE-5#\\!\"", /*->*/ 4}, - { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 13 }, + { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 14 }, { "\"Reader-friendly\"", /*->*/ 1}, { "\"Reader friendly\"", /*->*/ 1}, { "q.date:2000", /*->*/ 3 },