Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect ID assigned to Agent within Hub #249

Open
timathom opened this issue Oct 2, 2024 · 0 comments
Open

Incorrect ID assigned to Agent within Hub #249

timathom opened this issue Oct 2, 2024 · 0 comments

Comments

@timathom
Copy link

timathom commented Oct 2, 2024

Agents are being incorrectly assigned an RWO version (which doesn't actually exist) of a name/title authority, as below:

Incorrect Output:

<bf:Relation>
  <bf:relationship rdf:resource="http://id.loc.gov/vocabulary/relationship/part"/>
  <bf:associatedResource>
    <bf:Hub rdf:about="http://id.loc.gov/authorities/names/n81100991">
      <bf:contribution>
        <bf:Contribution>
          <bf:agent>
            <bf:Agent rdf:about="http://id.loc.gov/rwo/agents/n81100991">
              <rdf:type rdf:resource="http://id.loc.gov/ontologies/bibframe/Person"/>
              <rdfs:label>Schubert, Franz, 1797-1828</rdfs:label>
              <bflc:marcKey>70012$aSchubert, Franz,$d1797-1828.$tSchwanengesang (Song cycle).$pStändchen.$0http://id.loc.gov/authorities/names/n81100991</bflc:marcKey>
            </bf:Agent>
          </bf:agent>
          <bf:role>
            <bf:Role rdf:about="http://id.loc.gov/vocabulary/relators/ctb"/>
          </bf:role>
        </bf:Contribution>
      </bf:contribution>
      <bf:title>
        <bf:Title>
          <bf:mainTitle>Schwanengesang (Song cycle). Ständchen.</bf:mainTitle>
          <bf:partName>Ständchen</bf:partName>
        </bf:Title>
      </bf:title>
      <bflc:marcKey>70012$aSchubert, Franz,$d1797-1828.$tSchwanengesang (Song cycle).$pStändchen.$0http://id.loc.gov/authorities/names/n81100991</bflc:marcKey>
    </bf:Hub>
  </bf:associatedResource>
</bf:Relation>

Input:

<record xmlns="http://www.loc.gov/MARC21/slim">
  <leader>04415cjm a2200541Ia 4500</leader>
  <controlfield tag="001">11312107</controlfield>
  <controlfield tag="005">20181212173339.0</controlfield>
  <controlfield tag="007">sd fmngnnmmnee</controlfield>
  <controlfield tag="008">130322s1995 au sgn f d</controlfield>
  <datafield tag="028" ind1="0" ind2="1">
    <subfield code="a">90285</subfield>
    <subfield code="b">Preiser Records</subfield>
  </datafield>
  <datafield tag="035" ind1=" " ind2=" ">
    <subfield code="a">11312107</subfield>
  </datafield>
  <datafield tag="040" ind1=" " ind2=" ">
    <subfield code="a">CtY</subfield>
    <subfield code="b">eng</subfield>
    <subfield code="c">CtY</subfield>
    <subfield code="d">CtY-Mus</subfield>
  </datafield>
  <datafield tag="079" ind1=" " ind2=" ">
    <subfield code="a">(OCoLC)1078677869</subfield>
  </datafield>
  <datafield tag="100" ind1="1" ind2=" ">
    <subfield code="a">Slezak, Leo,</subfield>
    <subfield code="d">1873-1946.</subfield>
    <subfield code="4">prf</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n82133573</subfield>
  </datafield>
  <datafield tag="245" ind1="1" ind2="0">
    <subfield code="a">Unvergessner Leo Slezak</subfield>
    <subfield code="h">[sound recording].</subfield>
  </datafield>
  <datafield tag="260" ind1=" " ind2=" ">
    <subfield code="a">[Vienna] :</subfield>
    <subfield code="b">Preiser Records,</subfield>
    <subfield code="c">1995.</subfield>
  </datafield>
  <datafield tag="300" ind1=" " ind2=" ">
    <subfield code="a">1 sound disc :</subfield>
    <subfield code="b">digital, mono ;</subfield>
    <subfield code="c">4 3/4 in.</subfield>
  </datafield>
  <datafield tag="344" ind1=" " ind2=" ">
    <subfield code="a">digital</subfield>
    <subfield code="c">1.4 m/s</subfield>
    <subfield code="g">mono</subfield>
    <subfield code="2">rda</subfield>
  </datafield>
  <datafield tag="511" ind1="0" ind2=" ">
    <subfield code="a">Leo Slezak, tenor ; Heinrich Schacker, piano (tr. 1-7) ;
      Orchester der Staatsoper Berlin, Manfred Gurlitt, conductor (tr. 8) ;
      orchestra conducted by Ernst Hauke (tr. 9-10), Otto Dobrindt (tr. 11) ,
      Walter Schütze (tr. 12-17).</subfield>
  </datafield>
  <datafield tag="518" ind1=" " ind2=" ">
    <subfield code="a">Recorded (electrically) in 1928 (tr. 1-7), 1931 (tr.
      9-10), 1932 (tr. 11) &amp; 1937 (12-17).</subfield>
  </datafield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">Compact disc.</subfield>
  </datafield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">Originally issued on Grammophon (tr. 1-8 &amp; 12-17) or
      Parlophone (tr. 9-11) 78 rpm discs.</subfield>
  </datafield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">Program notes about the singer by Anton Odelga in German
      &amp; English inserted in container.</subfield>
  </datafield>
  <datafield tag="505" ind1="0" ind2=" ">
    <subfield code="a">[Lieder] : Ständchen [D 957] (Rellstab) ; Der Musensohn
      [D 764] (Goethe) ; Ungeduld [D 795] (Müller) ; Die Post (Müller) /
      Schubert -- Mondnacht (Eichendorff) ; Der Nussbaum (Mosen) / Schumann --
      Tom der Reimer (Rückert) / Loewe -- Der Lenz (Dahn) / Hildach
      --</subfield>
  </datafield>
  <datafield tag="505" ind1="0" ind2=" ">
    <subfield code="a">[Extracts from operettas &amp; motion pictures] : Welch
      ein liebliches Frauenbild [= V'là z'encor' de drol's de jeunesses ?] : aus
      "Blaubart" / Offenbach -- Das waren Zeiten : Einlage zu "Gasparone" /
      Millöcker -- Wenn ich vergnügt bin : aus der Film "Der Frauendiplomat" /
      May -- Auf der Heide blüh'n die letzten Rosen : aus "Herbstmanöver" /
      Stolz -- Damals war noch ein Wein im Flascherl : Wienerlied / Stolz --
      Genoveva, ich könnte weinen : aus dem Film "Der Herr ohne Wohnung" / Stolz
      -- Ein Mäderl, ein kleines : aus der Film "Geschichten aus dem Wienerwald"
      / Schmidt -- Man nehme zwei Herzen : aus der Film "Liebe bei Hof" /
      Niederberger -- Da streiten sich die Leut' herum : Hobellied aus "Der
      Verschwender" / Kreutzer.</subfield>
  </datafield>
  <datafield tag="505" ind1="0" ind2=" ">
    <subfield code="a">[Appendix]</subfield>
  </datafield>
  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Songs (High voice) with piano.</subfield>
    <subfield code="0"
      >http://id.loc.gov/authorities/subjects/sh85125149</subfield>
  </datafield>
  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Songs (High voice) with orchestra.</subfield>
    <subfield code="0"
      >http://id.loc.gov/authorities/subjects/sh85125146</subfield>
  </datafield>
  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Songs, German.</subfield>
    <subfield code="0"
      >http://id.loc.gov/authorities/subjects/sh85125071</subfield>
  </datafield>
  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Motion picture music.</subfield>
    <subfield code="0"
      >http://id.loc.gov/authorities/subjects/sh85088056</subfield>
  </datafield>
  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Musicals</subfield>
    <subfield code="z">Austria</subfield>
    <subfield code="z">Vienna.</subfield>
  </datafield>
  <datafield tag="650" ind1=" " ind2="0">
    <subfield code="a">Music</subfield>
    <subfield code="z">Austria</subfield>
    <subfield code="z">Vienna.</subfield>
    <subfield code="0"
      >http://id.loc.gov/authorities/subjects/sh2008108091</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Schacker, Heinrich.</subfield>
    <subfield code="4">prf</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n82136598</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Gurlitt, Manfred.</subfield>
    <subfield code="4">prf</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n84011399</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Hauke, Ernst.</subfield>
    <subfield code="4">cnd</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n97073248</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Dobrindt, Otto.</subfield>
    <subfield code="4">cnd</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/no93003006</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2=" ">
    <subfield code="a">Schütze, Walter</subfield>
    <subfield code="c">(Conductor)</subfield>
    <subfield code="4">cnd</subfield>
    <subfield code="0"
      >http://id.loc.gov/authorities/names/no2008155931</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Schubert, Franz,</subfield>
    <subfield code="d">1797-1828.</subfield>
    <subfield code="t">Schwanengesang (Song cycle).</subfield>
    <subfield code="p">Ständchen.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n81100991</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Schubert, Franz,</subfield>
    <subfield code="d">1797-1828.</subfield>
    <subfield code="t">Musensohn.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/no97074454</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Schubert, Franz,</subfield>
    <subfield code="d">1797-1828.</subfield>
    <subfield code="t">Schöne Müllerin.</subfield>
    <subfield code="p">Ungeduld.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n79003847</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Schubert, Franz,</subfield>
    <subfield code="d">1797-1828.</subfield>
    <subfield code="t">Winterreise.</subfield>
    <subfield code="p">Post.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/no97004468</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Schumann, Robert,</subfield>
    <subfield code="d">1810-1856.</subfield>
    <subfield code="t">Liederkreis,</subfield>
    <subfield code="n">op. 39.</subfield>
    <subfield code="p">Mondnacht.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n84040875</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Schumann, Robert,</subfield>
    <subfield code="d">1810-1856.</subfield>
    <subfield code="t">Myrthen.</subfield>
    <subfield code="p">Nussbaum.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n84041984</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Loewe, Carl,</subfield>
    <subfield code="d">1796-1869.</subfield>
    <subfield code="t">Tom der Reimer.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n98019887</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Hildach, Eugen,</subfield>
    <subfield code="d">1849-1924.</subfield>
    <subfield code="t">Lieder,</subfield>
    <subfield code="n">op. 19.</subfield>
    <subfield code="p">Lenz;</subfield>
    <subfield code="o">arranged.</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Offenbach, Jacques,</subfield>
    <subfield code="d">1819-1880.</subfield>
    <subfield code="t">Barbe-bleue.</subfield>
    <subfield code="p">V'là z'encor' de drol's de jeunesses.</subfield>
    <subfield code="l">German.</subfield>
  </datafield>
  <datafield tag="700" ind1="1" ind2="2">
    <subfield code="a">Stolz, Robert,</subfield>
    <subfield code="d">1880-1975.</subfield>
    <subfield code="t">Operas.</subfield>
    <subfield code="k">Selections.</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n87824102</subfield>
  </datafield>
  <datafield tag="710" ind1="2" ind2=" ">
    <subfield code="a">Staatskapelle Berlin.</subfield>
    <subfield code="4">prf</subfield>
    <subfield code="0">http://id.loc.gov/authorities/names/n81109044</subfield>
  </datafield>
</record>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant