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

FAST URIs w/ $1 #238

Open kirkhess opened 7 months ago

kirkhess commented 7 months ago

120 was just closed but we just fiddled with the FAST uris so now they have $1 instead of $0.

  <datafield tag="651" ind1=" " ind2="7">
    <subfield code="a">Great Britain</subfield>
    <subfield code="2">fast</subfield>
    <subfield code="1">https://id.oclc.org/worldcat/entity/E39PBJdmp7p3cx8hpmJ8HvmTpP</subfield>
  </datafield>

the current rules turn this into:

    <bf:subject>
      <bf:Place rdf:about="**http://worldcat.org/oclc/6981778#Place651-44**">
        <rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#Geographic"/>
        <rdfs:label>Great Britain</rdfs:label>
        <madsrdf:authoritativeLabel>Great Britain</madsrdf:authoritativeLabel>
        <bf:source rdf:resource="http://id.loc.gov/vocabulary/subjectSchemes/fast"/>
      </bf:Place>
    </bf:subject>

but we're converting them this way:

      <bf:subject>
         <bf:Place rdf:about="https://id.oclc.org/worldcat/entity/E39PBJdmp7p3cx8hpmJ8HvmTpP">
            <rdfs:label>Great Britain</rdfs:label>
            <bf:source rdf:resource="http://id.loc.gov/vocabulary/subjectSchemes/fast"/>
         </bf:Place>
      </bf:subject>

The mads stuff is kind of baked to m2bf in but this is a wco:AdministrativeArea, which is a subclass of wco:Place which is sameAs bf:Place.