-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reduce usage of EtikettMaker #2106 #2123
base: master
Are you sure you want to change the base?
Conversation
@dr0i can you have a look at this? I reduced all Ettiket Maker usage to the context and labels for undefined uris. |
@@ -109,7 +109,7 @@ | |||
"label" : "Mystik & Aszese des 16.-19. Jahrhunderts [Nationallizenz]", | |||
"type" : [ "Collection" ] | |||
}, { | |||
"id" : "https://lobid.org/collections#NLZ", | |||
"id" : "http://lobid.org/collections#NLZ", | |||
"type" : [ "Collection" ], |
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.
If possible we should stick to https
. Even more so if this was so before. Or do you have an argument that support your deliberately switching this?
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.
I was remembering: #1343 (comment)
That we had to switch back to http instead of https.
And thought this was an error on our side.
Then I checked:
aleph.lobid.org/resources/TT050372336.json
lobid-resources/src/main/resources/morph-hbz01-to-lobid.xml
Lines 7285 to 7289 in 7f982c1
<combine name="http://purl.org/lobid/lv#inCollection" value="https://lobid.org/collections#${a}"> | |
<data source="@078e1aNotZDB" name="a"> | |
<regexp match="(.*)" format="${1}" /> | |
</data> | |
</combine> |
It seems to have used https for the collection URIs.
I roll back this change then.
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.
I adjusted it as requested.
}, | ||
"role" : { | ||
"id" : "http://id.loc.gov/vocabulary/relators/http://id.loc.gov/vocabulary/relators/edt", | ||
"label" : "edt" |
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.
ah, this PR also seems to fix a broken id
👍
For more context see: #2123 (comment)
I migrated some label maps to fix and use them via lookup as filemaps there.
Also I deleted all unnecessary labels that already were provided by the fix.
While doing that I adjusted the lobid uri for collections to http (since all lobid uris we use are http) and fixed an error while mapping marc relator infos.