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 URI for bf:Hub #225

Open
RichardWallis opened this issue Sep 8, 2022 · 4 comments
Open

Incorrect URI for bf:Hub #225

RichardWallis opened this issue Sep 8, 2022 · 4 comments

Comments

@RichardWallis
Copy link

Scope note: This issue has been identified in V1.7.0 & V1.7.1 - not checked in V2.0.0 because of inability to run - see issue #224

See following snippet of RDFXML:

    <bf:relatedTo>
      <bf:Hub rdf:about="http://id.loc.gov/authorities/names/no2004094953">
        <bf:contribution>
          <bf:Contribution>
            <bf:agent>
              <bf:Agent rdf:about="http://example.org/204092656#Agent700-28">
                <rdf:type rdf:resource="http://id.loc.gov/ontologies/bibframe/Person"/>
                <bflc:name00MatchKey>Lee, Dick, 1956-</bflc:name00MatchKey>
                <bflc:name00MarcKey>7001 $aLee, Dick,$d1956-$tOur Singapore.$0http://id.loc.gov/authorities/names/no2004094953$1http://viaf.org/viaf/267475219</bflc:name00MarcKey>
                <rdfs:label>Lee, Dick, 1956-</rdfs:label>
              </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>
            <bflc:title00MatchKey>Our Singapore</bflc:title00MatchKey>
            <bflc:title00MarcKey>7001 $aLee, Dick,$d1956-$tOur Singapore.$0http://id.loc.gov/authorities/names/no2004094953$1http://viaf.org/viaf/267475219</bflc:title00MarcKey>
            <bf:mainTitle>Our Singapore</bf:mainTitle>
          </bf:Title>
        </bf:title>
      </bf:Hub>
    </bf:relatedTo>

For some reason the Hub entity has been given the URI of the 700 $0 value which is the authoritative URI of a Person.
I could potentially understand the Agent entity getting that URI, but a Hub can't also be a Person.

For reference this is the source 700:

        <marc:datafield tag="700" ind1="1" ind2=" ">
            <marc:subfield code="a"><![CDATA[Lee, Dick,]]></marc:subfield>
            <marc:subfield code="d"><![CDATA[1956-]]></marc:subfield>
            <marc:subfield code="t"><![CDATA[Our Singapore.]]></marc:subfield>
            <marc:subfield code="0"><![CDATA[http://id.loc.gov/authorities/names/no2004094953]]></marc:subfield>
            <marc:subfield code="1"><![CDATA[http://viaf.org/viaf/267475219]]></marc:subfield>
        </marc:datafield>
@RichardWallis
Copy link
Author

Still diagnosing but seem to be getting a similar problem with madsrdf:ComplexSubject entities being given the same URI as a the $0 of a Person or Organisation when it is one of the components of the ComplexSubject.

This all becomes very apparent when you load the resultant RDF into a triplestore and discover entities of type Person or Organization that are also of type Hub and/or ComplexSubject - types that should be disjoint.

@ntra00
Copy link
Contributor

ntra00 commented Sep 8, 2022

Part of the problem is the $t making it seem like an analytic, not a name, but the conversion should not create a hub unless the ind2 is correct. We will look.
On the issue of $0 in 600 $a$x$y or similar, do you have multiple $0s or just 1, and if you have multiples , are you pairing them so they can be associated iwth the correct node ie., 600 $a $0 $x $0 $y $0 etc?

@RichardWallis
Copy link
Author

Part of the problem is the $t making it seem like an analytic, not a name, but the conversion should not create a hub unless the ind2 is correct. We will look.

Great - look forward to the results of the look.

@kefo
Copy link
Member

kefo commented Dec 28, 2023

If this is still an issue, can we see some sample records please?

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

3 participants