sul-dlss-labs / ld4p

placeholder github repo for issues, specs and documents for LD4P work
0 stars 1 forks source link

can we dump symphony data in a way to get separate subject fields ... #80

Closed ndushay closed 7 years ago

ndushay commented 7 years ago

e.g. splitting subjects (there may be a setting in symphony for export)

shelleydoljack commented 7 years ago

Example for ckey 11881853. Somewhere in the conversion process from MARC to BF2, the subfields for the subject headings get replaced with dashes. This means we can't really parse out the components of the heading for SearchWorks facets, such as Region and Era:

<bf:subject>
      <bf:Topic rdf:about="http://ld4p-test.stanford.edu/11881853#Topic651-22">
        <rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#ComplexSubject"/>
        <rdfs:label>Italy--Social conditions--1870-1918--Congresses.</rdfs:label>
        <madsrdf:authoritativeLabel>Italy--Social conditions--1870-1918--Congresses.</madsrdf:authoritativeLabel>
        <madsrdf:isMemberofMADSScheme rdf:resource="http://id.loc.gov/authorities/subjects"/>
        <bf:source>
          <bf:Source>
            <bf:code>lcsh</bf:code>
          </bf:Source>
        </bf:source>
        <bf:identifiedBy>
          <bf:Identifier>
            <rdf:value>http://id.loc.gov/authorities/subjects/sh85069022</rdf:value>
          </bf:Identifier>
        </bf:identifiedBy>
      </bf:Topic>
    </bf:subject>
    <bf:subject>
      <bf:Topic rdf:about="http://ld4p-test.stanford.edu/11881853#Topic650-23">
        <rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#ComplexSubject"/>
        <rdfs:label>World politics--1900-1918--Congresses.</rdfs:label>
        <madsrdf:authoritativeLabel>World politics--1900-1918--Congresses.</madsrdf:authoritativeLabel>
        <madsrdf:isMemberofMADSScheme rdf:resource="http://id.loc.gov/authorities/subjects"/>
        <bf:source>
          <bf:Source>
            <bf:code>lcsh</bf:code>
          </bf:Source>
        </bf:source>
        <bf:identifiedBy>
          <bf:Identifier>
            <rdf:value>http://id.loc.gov/authorities/subjects/sh85148219</rdf:value>
          </bf:Identifier>
        </bf:identifiedBy>
      </bf:Topic>
    </bf:subject>
    <bf:subject>
      <bf:Topic rdf:about="http://ld4p-test.stanford.edu/11881853#Topic650-24">
        <rdf:type rdf:resource="http://www.loc.gov/mads/rdf/v1#ComplexSubject"/>
        <rdfs:label>Elections--Europe--History--20th century--Congresses.</rdfs:label>
        <madsrdf:authoritativeLabel>Elections--Europe--History--20th century--Congresses.</madsrdf:authoritativeLabel>
        <madsrdf:isMemberofMADSScheme rdf:resource="http://id.loc.gov/authorities/subjects"/>
        <bf:source>
          <bf:Source>
            <bf:code>lcsh</bf:code>
          </bf:Source>
        </bf:source>
        <bf:identifiedBy>
          <bf:Identifier>
            <rdf:value>http://id.loc.gov/authorities/subjects/sh2008119168</rdf:value>
          </bf:Identifier>
        </bf:identifiedBy>
      </bf:Topic>
    </bf:subject>