-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
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#!
2261c52
to
df6478e
Compare
@@ -3,7 +3,6 @@ | |||
"type" : [ "BibliographicResource", "Article" ], | |||
"rpbId" : "929t112201", | |||
"id" : "https://lobid.org/resources/929t112201", | |||
"hbzId" : "CT003010543", |
There was a problem hiding this comment.
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.
"containedIn" : [ { | ||
"id" : "https://lobid.org/resources/CT003010543#!" | ||
} ], |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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.
"containedIn" : [ { | ||
"id" : "https://lobid.org/resources/CT003010542#!" | ||
} ], |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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.
"containedIn" : [ { | ||
"id" : "https://lobid.org/resources/CT003010348#!" | ||
} ], |
There was a problem hiding this comment.
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.
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:
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?