Add multiple union catalogue ids #2365#2366
Conversation
Regex from wikidata: https://www.wikidata.org/wiki/Property:P6721
Classes first then properties. Both alphabetically.
acka47
left a comment
There was a problem hiding this comment.
I reviewed this wrt the additions to the lobid data and its internal consistence. Some things have to be fixed and some removed. Note that I did not check whether the different IDs are correctly sourced from the MARC data.
| "deprecatedUri" : "http://lobid.org/resources/HT021692747#!", | ||
| "isbn" : [ "0028653238", "9780028653235" ], | ||
| "oclcNumber" : [ "163175852" ], | ||
| "kobvId" : "gbv_33764683X", |
There was a problem hiding this comment.
This is weird. Does KOBV really base their internal IDs on GBV IDs?
There was a problem hiding this comment.
Yes this is correct: https://portal.kobv.de/uid.do?query=gbv_33764683X&index=internal&plv=2
The UIDs almafu_BV008474744` are from the source systems.
There are also https://portal.kobv.de/uid.do?query=almafu_BV008474744&index=internal&plv=2
| "id" : "https://hub.culturegraph.org/resource/(DE-605)990363946050206441", | ||
| "label" : "Culturegraph-Ressource" | ||
| }, { | ||
| "id" : "https://opac.k10plus.de/DB=2.299/PPNSET?PPN=01281704X&PRS=HOL&INDEXSET=21", |
There was a problem hiding this comment.
I am not sure that we should also add sameAs links besides the ID. Also, this specific link says "Titel nicht in datenbank vorhanden" when opening it in the browser.
Another thing is that the URL rather identifies the record not the resource and as far as I can tell until now we made sure to put URIs of the bibliographic resource into sameAs.
I suggest leaving sameAs out (for now).
| add_field("sameAs[].$last.label","DNB-Ressource") | ||
| end | ||
|
|
||
| # bvb |
There was a problem hiding this comment.
As written in another comment, we should leave out sameAs for now.
| "id" : "https://opac.k10plus.de/DB=2.299/PPNSET?PPN=gbv_33764683X&PRS=HOL&INDEXSET=21", | ||
| "label" : "K10plus-Ressource" | ||
| }, { | ||
| "id" : "https://opac.k10plus.de/DB=2.299/PPNSET?PPN=33764683X&PRS=HOL&INDEXSET=21", | ||
| "label" : "K10plus-Ressource" | ||
| } ], |
There was a problem hiding this comment.
These are somewhat redundant and one of the links isn't working. However, as stated elsewhere, we should not add sameAs for now anyway.
There was a problem hiding this comment.
This seems to have been an error with regard to the mapping pattern. But since I deleted all sameAs we can ignore this.
396d9bf to
78673b7
Compare
72b356f to
590dbed
Compare
As suggested by reviewer Co-authored-by: Adrian Pohl <acka47@users.noreply.github.com>
Adding
k10PlusId,hebisId,bsbId,kobvId,gbvId,bszId, andobvIdAll except
gbvIdandbszIdalso include links into the catalogues.Related to #2365