Bug 9069 - Make it possible to import MARC21 authorities from VIAF into Koha
Summary: Make it possible to import MARC21 authorities from VIAF into Koha
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Authority data support (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Indranil Das Gupta
QA Contact: Testopia
Depends on:
Reported: 2012-11-13 12:14 UTC by Magnus Enger
Modified: 2019-01-30 20:16 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Who signed the patch off:
Text to go in the release notes:
Version(s) released in:


Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2012-11-13 12:14:59 UTC
Example VIAF record, HTML view:

Same record, MARC21: 

This can be transformed to ISO2709 with e.g.:
yaz-marcdump -i marcxchange -o marc marc21.xml > myrecord.mrc

I have not been able to stage and import the resulting .mrc file, and I *think* that is because the VIAF record does not have a 100 field. 

I think the reason for *that* is that the library/cataloguer should be able to choose the preferred name that goes into the 100 field. 

So maybe we need to accept authority records that lack a 100 field (so that the 100 field can be added later), or make it easy to add the 100 field as part of the import process?
Comment 1 Stefano Bargioni 2016-03-18 08:30:54 UTC
The import process could save the VIAF ID, and eventually other IDs from (national) libraries whose records compose the VIAF record. IDs can be used in linked open data construction, e.g. in triples with owl:sameAs.
In my library, we store the VIAF ID in auth tag 024. This could be the default of a syspref. Here is an example:

<datafield tag="024" ind1="7" ind2=" ">
 <subfield code="2">viaf</subfield>
 <subfield code="a">58552590</subfield>