scriptotek / mc2skos

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

Support number spans with additional spaces #53

Open nichtich opened 6 years ago

nichtich commented 6 years ago

RVK notations have spaces around the - of number spans, e.g:

  <datafield tag="153" ind1=" " ind2=" ">
    <subfield code="a">MC 7700</subfield>
    <subfield code="c">MC 7773</subfield>

should result in notation MC 7700 - MC 7773 instead of MC 7700-MC 7773. I added a test case at https://github.com/gbv/mc2skos/tree/rvk-span/examples but no fix so far. This is likely yet another configuration of one particular KOS.

P.S: I'm not sure whether URIs should also have _-_ instead of -, need to check back at UB Regensburg.