Skip to content

Commit

Permalink
Merge branch 'rpb-49-isPartof' of https://github.com/hbz/rpb into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Dec 22, 2023
2 parents c2be33b + d71a792 commit 1cb104b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
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

0 comments on commit 1cb104b

Please sign in to comment.