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

Draft moving the hbzId for Articles to containedIn RPB-232 #109

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TobiasNx
Copy link
Contributor

@TobiasNx TobiasNx commented Dec 11, 2024

Unfortunatly I have no test for this in the test strapi data. @fsteeg could you add an test from strapi e.g. https://rpb.lbz-rlp.de/929t172921?format=json

The existing examples are no good perhaps hinting to a inconsistency in applying the hbzId of the parent publication to articles and not their own.

e.g.
https://rpb.lbz-rlp.de/929t112200 (Palatinatus Rheni [Elektronische Ressource] : [Ca. 1:1 900 000])

has:

 "hbzId": "CT003010348",

linked to https://lobid.org/resources/990187209140206441#! (Palatinatus Rheni )

But source would be: Bertius, Petrus : P. Bertii Tabularum geographicarum contractarum libri septem

Does it make sense to introduce a new property in strapi? Parent publication or something? So that we can assigne both the hbzId of the resource AND the hbzId of the harbouring parent resource?

The mechanism works but the examples are no good since the articles/images have the hbzId of the article and  not the parent publication that would be https://lobid.org/resources/990029283680206441#! or http://lobid.org/resources/990187208710206441#!
@TobiasNx TobiasNx force-pushed the RPB-232-containedInWithHbzId branch from 2261c52 to df6478e Compare December 11, 2024 17:24
@@ -3,7 +3,6 @@
"type" : [ "BibliographicResource", "Article" ],
"rpbId" : "929t112201",
"id" : "https://lobid.org/resources/929t112201",
"hbzId" : "CT003010543",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the real hbzId of the resource not the one of the parent publication.

Comment on lines +76 to +78
"containedIn" : [ {
"id" : "https://lobid.org/resources/CT003010543#!"
} ],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This then would introduce an error.

@@ -3,7 +3,6 @@
"type" : [ "BibliographicResource", "Article" ],
"rpbId" : "929t112202",
"id" : "https://lobid.org/resources/929t112202",
"hbzId" : "CT003010542",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the real hbzId of the resource not the one of the parent publication.

Comment on lines +76 to +78
"containedIn" : [ {
"id" : "https://lobid.org/resources/CT003010542#!"
} ],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This then would introduce an error.

@@ -3,7 +3,6 @@
"type" : [ "BibliographicResource", "Article" ],
"rpbId" : "929t112200",
"id" : "https://lobid.org/resources/929t112200",
"hbzId" : "CT003010348",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the real hbzId of the resource not the one of the parent publication.

Comment on lines +76 to +78
"containedIn" : [ {
"id" : "https://lobid.org/resources/CT003010348#!"
} ],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This then would introduce an error.

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

Successfully merging this pull request may close these issues.

2 participants