-
Notifications
You must be signed in to change notification settings - Fork 71
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
Create and populate a MARC Relators vocabulary #893
Comments
There is a MARC relators download at the usual page which would seem a bit crisper. |
How often does the MARC relators list change? Is this really something that needs to be dynamically loaded, or can we just hardcode a config (or migration import)? Also, since relators describe a relationship between an agent and a resource, does it work to make it a taxonomy (since taxonomies can't be applied to a particular field, be it either a text field or an entity relationship)? It seems to me that we need a compound field that includes a value for the Agent being linked and another for the relationship. |
From Sprint Kick-off Meeting: These may now be included into the complex fields described by #889 , but we will also need some code that will scrape or request the URIs from a taxonomy, and then scrape all of the XML associated with each of those URIs. We won't make this dynamic, because we don't expect the list to change more often than about once a year, so we are just going to scrape it into a text file, store internally, and then use it to populate a drop-down. We can tell that some of the terms are going to be "deprecated" in a cataloger sense and replaced with new terms. We will just add a note that says deprecated to the terms, but as long as the list is available, it will be included in updates in Islandora. |
Oh, hey, here is a pipe delimited URI, authoritativeName list of the MARC relators. |
Oop, and now with the three-character code in parens. |
And now with deprecated terms! (There were three based on the LOC relators list.) |
Awesome @seth-shaw-unlv. Ok, let's figure out the best way to get your fields into the codebase and wire these up. |
Once we have the TypedRelator field coded then I can create an instance and paste it in the field config. I can then export the field definition and we can stick that in config/install. Won't be hard. |
/rdf:RDF/madsrdf:MADSScheme/madsrdf:hasMADSSchemeMember
xpath. You'll want to append the.rdf
extension to the end of each URL to get the RDFXML version.Here's an example document:
In the least we'll want the code, preflabel, and description. If there's more you want in there, go ahead and add it. Be sure to make an RDF mapping for the vocabulary, too.
The text was updated successfully, but these errors were encountered: