-
Notifications
You must be signed in to change notification settings - Fork 124
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
Proposal to change mapping of required metadata property:keyword #1505
Comments
I support this. We would need to create a migration task for existing data (see recent discussion of changing isPartOf #1461). |
I also think this is a good change to make and worth the migration task to adjust current instances. schema:keywords is a more accurate property and sets things up better for Hyrax use out of the box. |
(And I believe |
I can't add labels (which is ok) but what is the next step to move this forward? Thanks! |
I think @mjgiarlo would be the person to add labels. I should have some time in a couple of weeks to take a look at this. The change is easy, but I need to put some thought into the migration. |
Hi! I added some labels. LMK if I got the right ones. |
Just having a think about how to approach migrating data when the predicate changes, I have come up with the following idea (with some inspiration from #1461) ... I am open to better ways of approaching this!
|
made skos:note a common property change origin_date from single to multiple change date published from single to multiple change single properties to multiple used for thesis, published item, conference item (all works except dataset and package). change keyword to use ::RDF::Vocab::SCHEMA.keywords as per samvera/hyrax#1505
add ExtendedSolrDocument concern; made skos:note a common property; change origin_date from single to multiple; change date published from single to multiple; change single properties to multiple used for thesis, published item, conference item (all works except dataset and package); change keyword to use ::RDF::Vocab::SCHEMA.keywords as per samvera/hyrax#1505
@geekscruff This sounds like a good plan forward. I'd argue against orphaning the existing data. How do we make this happen? Thanks! |
Just re-upping that this issue is endorsed by the metadata IG in our review of Hyrax basic metadata fields. Note that in data migration, schema:keywords is a comma-separated list whereas the current dc:relation is a repeating field. |
Descriptive summary
A discussion in the samvera/metadata slack channel occurred about the current mapping of required field
property:keyword
toDC11.relation
inbasic_metadata.rb
Current DC definition of
relation
is "A related resource."Rationale
The actual intended usage of
keyword
(and how most seem to be using it) per discussion in the slack channel is for either keywords or tags. This would still be an uncontrolled vocabulary field and separate fromsubject
.Further investigation by the Samvera Metadata IG led to a discussion during our July call about changing the mapping to
SCHEMA:keywords
instead.Changing the default mapping of
keyword
would also enable those who wish to use arelation
-type property to do so correctly without have to alter the default.Proposal
Change:
property :keyword, predicate: ::RDF::Vocab::DC11.relation
to:
property :keyword, predicate: ::RDF::Vocab::SCHEMA.keywords
If accepted, http://www.schema.org would also need to be added to the list of namespaces.
I'm also tagging @samvera/hyrax-metadataists for any feedback.
The text was updated successfully, but these errors were encountered: