Skip to content

Commit

Permalink
Add sameAs statement for RPB
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jun 21, 2024
1 parent 57f318e commit e67142e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/alma/fix/relatedRessourcesAndLinks.fix
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ do list(path: "dnbId", "var": "$i")
add_field("sameAs[].$last.label","DNB-Ressource")
end

# rpb TODO: Add this if RPB is productive with the correct URL.
# do list(path: "rpbId", "var": "$i")
# paste("sameAs[].$append.id","~http://rpb.lobid.org/RPB-", "$i", "~#!",join_char:"")
# add_field("sameAs[].$last.label","RPB-Ressource")
# end
# rpb
do list(path: "rpbId", "var": "$i")
paste("sameAs[].$append.id","~https://rpb.lbz-rlp.de/", "$i",join_char:"")
add_field("sameAs[].$last.label","RPB-Ressource")
end

# nwbib, see below inCollection nwbib

Expand Down
3 changes: 3 additions & 0 deletions src/test/resources/alma-fix/990113537330206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
}, {
"id" : "https://d-nb.info/021118205",
"label" : "DNB-Ressource"
}, {
"id" : "https://rpb.lbz-rlp.de/036t000472",
"label" : "RPB-Ressource"
} ],
"inCollection" : [ {
"id" : "https://nrw.digibib.net/search/hbzvk/",
Expand Down

0 comments on commit e67142e

Please sign in to comment.