-
Notifications
You must be signed in to change notification settings - Fork 2
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
Transform "Schlagwortketten" (subject chains) #70
Comments
If the "Schlagwortketten" (beginning without permutations) are provided this data should appear in the "single hit" view of NWBib. |
OK, so here are some details on the subject chains and how I'd imagine to transform them. It seems the maximim number of subject chains is 10, since they use the 9xx fields. They start at http://lobid.org/resource?id=BT000006579&format=source Now thats just the base chains. For each of these chains we can have any number of permutations (these reference the order of the subjects, so we need to preserve that). These are stored in the next field after the base chain (if I understood this correctly). So the permutations for the first chain are stored in http://lobid.org/resource?id=HT013577568&format=source Often, the subjects are from the controlled GND vocabulary, but not always. See 'Geschichte 71 v. Chr.-70 v. Chr' in the example above. So based on all of this, this is what I'd suggest for the transformation: For each chain, we generate a literal containing all subject labels as comma separated values, plus all permuatations as comma-separated values in parens. So for
On the triple level, we can use the same predicate for these, which will give us an array in JSON-LD:
|
* add test according to hbz/nwbib#70
@acka47 please mint http://purl.org/lobid/lv#subjectChain |
As subject headings with commas exist (examples here), we shouldn't use commas for seperating the components of a chain of subject terms. I suggest using a pipe ('|') instead. |
Here's the pull reuquest for th |
TODO: exchange separator |
Display and search for subject chains deployed to staging: http://test.lobid.org/nwbib/HT017732186 |
+1 |
Deployed to production, closing. See: http://lobid.org/nwbib/HT017732186 |
No description provided.
The text was updated successfully, but these errors were encountered: