Skip to content

Commit

Permalink
Change rpb2.ttl name to lbz-notationen.ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Sep 3, 2024
1 parent d2bc628 commit 0986045
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/alma/fix/maps.fix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ put_filemap("$[classification.tsv]","classificationCode2Uri", sep_char:"\t",key_
put_filemap("$[rvk.tsv]","rvk", sep_char:"\t")

# RPB SKOS Maps
put_rdfmap("$[rpb2.ttl]", "rpb2", target: "skos:prefLabel", select_language: "de") # LBZ-Notationen aka rpb2 fka RPB-Sachgruppen und Zusätze
put_rdfmap("$[lbz-notationen.ttl]", "lbz-notationen", target: "skos:prefLabel", select_language: "de") # LBZ-Notationen fka rpb2 fka RPB-Sachgruppen und Zusätze
put_rdfmap("$[rpb-spatial.ttl]", "rpbr", target: "skos:prefLabel", select_language: "de") # RPB-Raumsystematik aka rpbr
put_rdfmap("$[rpb.ttl]", "rpb", target: "skos:prefLabel", select_language: "de") # RPB-Sachsystematik fka. Systematik der Rheinland-Pfälzischen Bibliographie

Expand Down
12 changes: 6 additions & 6 deletions src/main/resources/alma/fix/subjects.fix
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@ do list(path:"084??", "var":"$i")
do list(path:"$i.a", "var":"$j")
copy_field("$j", "subject[].$append.notation")
set_array("subject[].$last.type[]","Concept")
# LBZ-Notationen aka rpb2 fka RPB-Sachgruppen und Zusätze
# LBZ-Notationen fka rpb2 fka RPB-Sachgruppen und Zusätze
if any_match("$i.2", "rpb")
if any_match("$j","\\d{3}")
copy_field("$j","$i.@rpb2NotationId")
prepend("$i.@rpb2NotationId","https://w3id.org/lobid/rpb2#n")
copy_field("$i.@rpb2NotationId","subject[].$last.id")
lookup("$i.@rpb2NotationId","rpb2")
move_field("$i.@rpb2NotationId","subject[].$last.label")
copy_field("$j","$i.@lbz-notationenId")
prepend("$i.@lbz-notationenId","https://w3id.org/lobid/rpb2#n")
copy_field("$i.@lbz-notationenId","subject[].$last.id")
lookup("$i.@lbz-notationenId","lbz-notationen")
move_field("$i.@lbz-notationenId","subject[].$last.label")
add_field("subject[].$last.source.id", "https://w3id.org/lobid/rpb2")
add_field("subject[].$last.source.label", "LBZ-Notationen")
# RPB-Sachsystematik fka. Systematik der Rheinland-Pfälzischen Bibliographie
Expand Down
File renamed without changes.

0 comments on commit 0986045

Please sign in to comment.