Skip to content

Missing broader relations from GND #62

Description

@nichtich

The GND record https://d-nb.info/040034232/about/marcxml contains field 550 with multiple $0 and $4 which are interpreted differently:

    <datafield tag="550" ind1=" " ind2=" ">
      <subfield code="0">(DE-101)965844773</subfield>
      <subfield code="0">(DE-588)4711780-1</subfield>
      <subfield code="0">http://d-nb.info/gnd/4711780-1</subfield>
      <subfield code="a">Moderne Physik</subfield>
      <subfield code="4">obal</subfield>
      <subfield code="4">http://d-nb.info/standards/elementset/gnd#broaderTermGeneral</subfield>
      <subfield code="w">r</subfield>
      <subfield code="i">Oberbegriff allgemein</subfield>
    </datafield>

In mc2skos 0.11.0 this is ignored. The documentation says "$4 must precede $0 (since both subfields can be repeated)" but this is not true. I found a related bug in the code but it will only work if URIs are preferred when subfield $0 (and/or $4) is repeated. This will work (subfields to be ignored commented out):

    <datafield tag="550" ind1=" " ind2=" ">
      <!--subfield code="0">(DE-101)965844773</subfield-->
      <!--subfield code="0">(DE-588)4711780-1</subfield-->
      <subfield code="0">http://d-nb.info/gnd/4711780-1</subfield>
      <subfield code="a">Moderne Physik</subfield>
      <!---subfield code="4">obal</subfield-->
      <subfield code="4">http://d-nb.info/standards/elementset/gnd#broaderTermGeneral</subfield>
      <subfield code="w">r</subfield>
      <subfield code="i">Oberbegriff allgemein</subfield>
    </datafield>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions