scriptotek / mc2skos

Command line script for converting Marc21 Classification and Authority records to SKOS/RDF
The Unlicense
21 stars 4 forks source link

Using 010/016 for URI generation #42

Open danmichaelo opened 6 years ago

danmichaelo commented 6 years ago

The example record (source xml, target rdf) gets the URI http://lod.nal.usda.gov/nalt/142 rather than the correct http://lod.nal.usda.gov/nalt/1396

Seems like vocabularies.yml must be updated to use the value of the 016 field rather than the 001 field.. My guess is that 010 or 016, if present, could always take precedence over 001 when it comes to URI generation, but I could be wrong here..

danmichaelo commented 6 years ago

Not sure if this solution is general enough, but until we have a counterexample…