Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add field f85 as isPartOf (RPB-49) #62

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions conf/output/test-output-24.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
"label" : "Rheinland-Pfälzische Bibliographie"
} ],
"title" : "Das Hambacher Schloß.",
"isPartOf" : [ {
"type" : [ "IsPartOfRelation" ],
"hasSuperordinate" : [ {
"label" : "Kunst und Geschichte in Rheinland-Pfalz"
} ],
"numbering" : "82"
} ],
"publication" : [ {
"startDate" : "1982",
"type" : [ "PublicationEvent" ]
Expand Down
6 changes: 6 additions & 0 deletions conf/output/test-output-29.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
} ],
"title" : "Um- und Ausbau des Hambacher Schlosses von 1979 bis 1982",
"extent" : "Ill.",
"isPartOf" : [ {
"type" : [ "IsPartOfRelation" ],
"hasSuperordinate" : [ {
"label" : "150 Jahre Hambacher Fest : Festausgabe"
} ]
} ],
"publication" : [ {
"startDate" : "1982",
"type" : [ "PublicationEvent" ]
Expand Down
7 changes: 7 additions & 0 deletions conf/output/test-output-57.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
"title" : "Das Leben der Bilder oder die Kunst des Sehens",
"extent" : "141 S. : Ill.",
"note" : [ "Aus dem Engl. übers." ],
"isPartOf" : [ {
"type" : [ "IsPartOfRelation" ],
"hasSuperordinate" : [ {
"label" : "Salto"
} ],
"numbering" : "[13]"
} ],
"responsibilityStatement" : [ "John Berger" ],
"publication" : [ {
"location" : [ "Berlin" ],
Expand Down
13 changes: 13 additions & 0 deletions conf/rpb-titel-to-lobid.fix
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,19 @@ do list(path:"f81[].*.f81_", "var": "$i")
end
uniq("note[]")

#-------- "series" -------
if exists("f85?")
set_array("isPartOf[]")
set_array("isPartOf[].$append.type[]", "IsPartOfRelation")
set_array("isPartOf[].$last.hasSuperordinate[]")
if exists("f85_")
split_field("f85_"," ; ")
copy_field("f85_.1","isPartOf[].$last.hasSuperordinate[].$append.label")
copy_field("f85_.2", "isPartOf[].$last.numbering")
else
copy_field("f85?","isPartOf[].$last.hasSuperordinate[].$append.label")
end
end
# ------- "medium" -------
# Dafür scheint es keine explizite Angabe zu geben.

Expand Down
Loading