Skip to content

Commit

Permalink
Merge pull request #16 from hbz/rpb-30
Browse files Browse the repository at this point in the history
Add biblioVinoId
  • Loading branch information
acka47 authored Sep 1, 2022
2 parents 5b17a2d + 6f5dd93 commit 0642622
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 2 deletions.
2 changes: 2 additions & 0 deletions conf/RPB-Export_HBZ_Titel_Test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@
[/]#00 929t093379[/]#20 G�lser H�user und Ecken im Wandel der Zeit[/]#30 _sn844050_[/]#30a_sn548840_[/]#31 _r99_ _o111000000600_[/]#31a_r99_ _o111000000600_[/]#32 _4528513n5_ ; _929n090684_ ; _00Sn09k1124793a_[/]#36 u[/]#39 von G�nther Bartz[/]#40 _104691182_[/]#70j2008[/]#70s139-147[/]#70tBl�tenfest in Koblenz-G�ls[/]#70yBl�tenfest in Koblenz-G�ls. - 2008, S. 139-147[/]#76a2008[/]#76b2008[/]#77 Ill.[/]#83 Bartz, Guenther / 1924-1978[/]#88 1048560-0[/]#90dZ 1338:2008 MAG[/]#95 ZR-20090728/10:25:07KO-Hei[/]#96 ZR-20090728/13:49:29KO-Hei[/]#97aZR-20090729/19:09:45ZR[/]
[/]#00 929t093380[/]#20 �Die� Natur rettet sich auf den Truppen�bungsplatz : Nr. 19: FFH- und Vogelschutzgebiet auf dem Lager Stegskopf ; viele Rote-Liste-Arten im Derscher Geschwemm[/]#30 _sn584060_[/]#30a_sn584070_[/]#31 _r10_ _4095533n3_[/]#31a_r10_ _4095533n3_[/]#32 _929n090683_[/]#36 u[/]#39 goeb[/]#40 _929n002003_[/]#70b187[/]#70h27.7.09[/]#70j2009[/]#70s8[/]#70tSiegener Zeitung / Altenkirchen[/]#70ySiegener Zeitung / Altenkirchen. - 187 (2009), 27.7.09, S. 8[/]#76a2009[/]#76b2009[/]#77 Ill.[/]#851Unsere Naturschutzgebiete[/]#88 1174450-9[/]#90dZB 183:2009 MAG[/]#95 ZR-20090728/12:53:38KO-Ei[/]#97aZR-20090729/19:09:45ZR[/]
[/]#00 929t093381[/]#20 Sprengbombenfunde in G�ls : Relikte aus dem Zweiten Weltkrieg[/]#30 _sn240400_[/]#31 _r99_ _o111000000600_[/]#32 _5034613n1_ ; _4462894n8_ ; _00Sn09k3381305a_[/]#36 u[/]#39 jwi/Christian Schulz/DPA[/]#40 _00Pn09k3381116b_[/]#70j2008[/]#70s149-159[/]#70tBl�tenfest in Koblenz-G�ls[/]#70yBl�tenfest in Koblenz-G�ls. - 2008, S. 149-159[/]#76a2008[/]#76b2008[/]#77 zahlr. Ill.[/]#88 1048560-0[/]#90dZ 1338:2008 MAG[/]#95 ZR-20090728/14:13:19KO-Hei[/]#96 ZR-20130702/12:32:13ZR-Col[/]#97aZR-20130702/20:46:04ZR[/]
[/]#00 929t01026567[/]#18 x[/]#20 Weinlese an der Ahr[/]#30 _sn544320_[/]#31 _r28_[/]#32 _4084812n7_ ; _4432509n5_ ; _4144445n0_[/]#36 u[/]#39 Heinrich Lersch +, Bodendorf, Ahr[/]#40 _118572024_[/]#70 Landkreis Ahrweiler: Jahrbuch des Kreises Ahrweiler. - 8 (1940), Seite 93-99[/]#76a1940[/]#76b1940[/]#77 Illustrationen[/]#83 Lersch, Heinrich / 1889-1936[/]#84 Nr27468[/]#88 217183-1[/]#90dZA 1169:1940 MAG[/]#95 ZR-20100510/00:00:00ZR-HJBA[/]#96 ZR-20190621/16:30:47SP-Kg[/]#97aZR-20190623/20:48:22ZR[/]
[/]#00 929t01061422[/]#18 x[/]#20 Vom Weinbau im oberen Nahetal[/]#30 _sn544320_[/]#31 _r26_[/]#32 _4102346n8_ ; _4065136n8_[/]#36 u[/]#40 _1051173752_[/]#70 Naheland-Kalender. - 1957, S. 110-111[/]#76a1956[/]#76b1956[/]#83 Reitenbach, Albert / 1907-1978[/]#84 Nr6363.[/]#88 207060-1[/]#90bPer. 3702/1957[/]#90dZ 4319:1957[/]#95 ZR-20160315/12:40:10KO-Retro-memme[/]#96 ZR-20200110/11:52:24SP-Sch[/]#97aZR-20200112/20:37:18ZR[/]#987Mem-422[/]#999memme-1956-427[/]
73 changes: 73 additions & 0 deletions conf/output/test-output-29.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"@context" : "http://lobid.org/resources/context.jsonld",
"type" : [ "BibliographicResource", "Article" ],
"rpbId" : "RPB929t01026567",
"id" : "https://lobid.org/resources/RPB929t01026567",
"biblioVinoId" : "Nr27468",
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"type" : [ "Collection" ],
"label" : "Rheinland-Pfälzische Bibliographie"
} ],
"title" : "Weinlese an der Ahr",
"extent" : "Illustrationen",
"responsibilityStatement" : [ "Heinrich Lersch +, Bodendorf, Ahr" ],
"publication" : [ {
"startDate" : "1940",
"type" : [ "PublicationEvent" ]
} ],
"subject" : [ {
"id" : "http://purl.org/lobid/rpb#n544320",
"label" : "Platzhalter Schlagwortlabel",
"type" : [ "Concept" ],
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
}
}, {
"type" : [ "ComplexSubject" ],
"label" : "Ahrtal | Weinlese | Belletristische Darstellung",
"componentList" : [ {
"id" : "https://d-nb.info/gnd/4084812-7",
"label" : "Ahrtal",
"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/4144445-0",
"label" : "Belletristische Darstellung",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
} ]
} ],
"spatial" : [ {
"id" : "https://rpb.lobid.org/spatial#n28",
"label" : "_r28_",
"type" : [ "Concept" ],
"source" : {
"id" : "https://rpb.lobid.org/spatial",
"label" : "RPB-Raumsystematik"
}
} ],
"contribution" : [ {
"agent" : {
"id" : "https://d-nb.info/gnd/118572024",
"label" : "Lersch, Heinrich / 1889-1936"
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Autor/in"
},
"type" : [ "Contribution" ]
} ]
}
64 changes: 64 additions & 0 deletions conf/output/test-output-30.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"@context" : "http://lobid.org/resources/context.jsonld",
"type" : [ "BibliographicResource", "Article" ],
"rpbId" : "RPB929t01061422",
"id" : "https://lobid.org/resources/RPB929t01061422",
"biblioVinoId" : "Nr6363",
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"type" : [ "Collection" ],
"label" : "Rheinland-Pfälzische Bibliographie"
} ],
"title" : "Vom Weinbau im oberen Nahetal",
"publication" : [ {
"startDate" : "1956",
"type" : [ "PublicationEvent" ]
} ],
"subject" : [ {
"id" : "http://purl.org/lobid/rpb#n544320",
"label" : "Platzhalter Schlagwortlabel",
"type" : [ "Concept" ],
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
}
}, {
"type" : [ "ComplexSubject" ],
"label" : "Nahetal | Weinbau",
"componentList" : [ {
"id" : "https://d-nb.info/gnd/4102346-8",
"label" : "Nahetal",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
}, {
"id" : "https://d-nb.info/gnd/4065136-8",
"label" : "Weinbau",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
} ]
} ],
"spatial" : [ {
"id" : "https://rpb.lobid.org/spatial#n26",
"label" : "_r26_",
"type" : [ "Concept" ],
"source" : {
"id" : "https://rpb.lobid.org/spatial",
"label" : "RPB-Raumsystematik"
}
} ],
"contribution" : [ {
"agent" : {
"id" : "https://d-nb.info/gnd/1051173752",
"label" : "Reitenbach, Albert / 1907-1978"
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Autor/in"
},
"type" : [ "Contribution" ]
} ]
}
Empty file added conf/output/test-output-31.json
Empty file.
Empty file added conf/output/test-output-32.json
Empty file.
10 changes: 8 additions & 2 deletions conf/rpb.fix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ prepend("id","https://lobid.org/resources/")
# reject()
# end

move_field("#983", "hbzId")
copy_field("#983", "hbzId")

# ------- biblioVinoId -------

copy_field("#84 ", "biblioVinoId")
replace_all("biblioVinoId", "\\.", "")

# ------- "inCollection" -------

Expand Down Expand Up @@ -115,6 +120,7 @@ if exists ("#30*")
end

# ------- Ortsnotation -------

# In den Testdaten sind die Werte in "#31 " und "#31a" identisch und ergeben eine Dublette. Der Grund ist, dass sie kombiniert mit "#30" und "#31a" eine Schlagwortfolge ergeben. Beim Treffen am 14.6.2022 wurde – wenn AP sich richtig erinnert – beschlossen, diese Ketten aufzuspalten in `spatial`- und `subject` -Einräge (analog zur NWbib).
# Einige Ortsschlagwörter in "#31~"" stammen aus der GND, werden aber nicht nach "subject" verschoben, sondern bleiben in `spatial`, siehe https://jira.hbz-nrw.de/browse/RPB-14?focusedCommentId=287089#comment-287089
# To Do:
Expand Down Expand Up @@ -217,5 +223,5 @@ do list(path: "contribution[]")
set_array("type[]", "Contribution")
end

retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId" )
retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "biblioVinoId" )
vacuum()

0 comments on commit 0642622

Please sign in to comment.