mc2skos
mc2skos copied to clipboard
Command line script for converting Marc21 Classification and Authority records to SKOS/RDF
The `rdflib-jsonld` package has been deprecated / merged into `rdflib`. When trying to launch a newly installed `mc2skos` application an error message is displayed: ``` .../python3.7/site-packages/rdflib_jsonld/__init__.py:12: DeprecationWarning: The rdflib-jsonld package...
Program fails with an AttributeError when mapping 5XX fields in case if subfield "4" is not present: ``` File "virtual-env/to-SKOS/lib/python3.7/site-packages/mc2skos/record.py", line 597, in __init__ super(AuthorityRecord, self).__init__(record, options) File "virtual-env/to-SKOS/lib/python3.7/site-packages/mc2skos/record.py", line...
GND has entity types such as work, person, organization... in field [075](https://www.loc.gov/marc/authority/concise/ad075.html). This should be mapped to additional RDF statements with `rdf:type` to support selecting authority records by type of...
`examples/gnd-1020118989.xml` results in * `altLabel` having a string instead of array * `note` having a string instead of array
Instead of using MADS (#46) we should provide a reverse mapping from RDF to MARC 21.
Concept URI template is specified with `concept` in `vocabularies.yaml` and with `--uri` on command line. The latter should be renamed to `--concept` to match names.
The GND record https://d-nb.info/040034232/about/marcxml contains field 550 with multiple $0 and $4 which are interpreted differently: ~~~xml (DE-101)965844773 (DE-588)4711780-1 http://d-nb.info/gnd/4711780-1 Moderne Physik obal http://d-nb.info/standards/elementset/gnd#broaderTermGeneral r Oberbegriff allgemein ~~~ In mc2skos...
Instead of a simple list better emit full content of `vocabularies.yml`, possibly in JSON.
Both use `008/11="a"` (Library of Congress Subject Headings), but LCGNF ([example record](http://id.loc.gov/authorities/genreForms/gf2011026665.marcxml.xml)) also uses `040 $f="lcgft"`, so it can be detected in the normal way. LCCN ([example record](http://id.loc.gov/authorities/names/n79043449.marcxml.xml), however, is...