lcnetdev / marc2bibframe2

Convert MARC records to BIBFRAME2 RDF
http://www.loc.gov/bibframe/
Creative Commons Zero v1.0 Universal
88 stars 35 forks source link

Convert 647 #232

Closed kirkhess closed 7 months ago

kirkhess commented 8 months ago

While this is generally used for FAST headings and not used with LCSH, LC should have these in their catalog through CONSER and the structure is the same as a 648 FAST heading which is supported.

Probably just adding '647' here will work. https://github.com/lcnetdev/marc2bibframe2/blob/master/xsl/ConvSpec-600-662.xsl#L552C45-L552C45

kefo commented 8 months ago

Can you point us to a sample record, please? Preferably one that contains a FAST id.

kirkhess commented 8 months ago

There's about 7k CONSER records with 647 (although many are not held by LC) - here's one

https://lccn.loc.gov/2004205749/marcxml aka ocn 54481706

<datafield ind1=" " ind2="7" tag="647">
    <subfield code="a">Allied Occupation of Germany</subfield>
    <subfield code="c">(Germany :</subfield>
    <subfield code="d">1918-1930)</subfield>
    <subfield code="2">fast</subfield>
    <subfield code="0">(OCoLC)fst01351651</subfield>
    <subfield code="1">https://id.oclc.org/worldcat/entity/E39Qhp4vB9x3k8H8xR7TqHFkBX</subfield>
</datafield>

We're adding $1 to 647s to point to WC entities, eg. ocn 368128017

        <datafield tag="647" ind1=" " ind2="7">
          <subfield code="a">American Revolution</subfield>
          <subfield code="c">(United States :</subfield>
          <subfield code="d">1775-1783)</subfield>
          <subfield code="2">fast</subfield>
          <subfield code="0">(OCoLC)fst01351668</subfield>
          <subfield code="1">https://id.oclc.org/worldcat/entity/E39Qhp4vB989PWKg6VGKmH6MwK</subfield>
    </datafield>

In that case, the $1 is a wco:Event, so something like this:

<bf:subject>
    <wco:Event rdf:about="https://id.oclc.org/worldcat/entity/E39Qhp4vB989PWKg6VGKmH6MwK">
        <rdfs:label>American Revolution (United States : 1775-1783)</rdfs:label>
        <bf:identifiedBy>
            <bf:Local>
                <rdf:value>fst01351668</rdf:value>
                <rdfs:label>(OCoLC)fst01351668</rdfs:label>
                <bf:source>
                    <bf:Source>
                        <rdf:value>OCoLC</rdf:value>
                    </bf:Source>
                </bf:source>
            </bf:Local>
        </bf:identifiedBy>
        <bf:source>
            <bf:Source bf:about="http://id.loc.gov/vocabulary/subjectSchemes/fast"/>
        </bf:source>
    </wco:Event>
</bf:subject>
kirkhess commented 8 months ago

wco:Event probably is a close match to bf:Event, although the proposed Event model is somewhat different (and untested...)

jodiw01 commented 7 months ago

Included in marc2bibframe v2.5