Skip to content
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

Allow editors to identify the canonical data package in the Editor #2542

Open
robyngit opened this issue Sep 30, 2024 · 0 comments · May be fixed by #2551
Open

Allow editors to identify the canonical data package in the Editor #2542

robyngit opened this issue Sep 30, 2024 · 0 comments · May be fixed by #2551
Assignees
Labels
ADC CI-14 Data search and display improvements (ADC deliverable) arctic data center editor enhancement semantics

Comments

@robyngit
Copy link
Member

Once we've implemented a way to display the canocial dataset on the dataset landing pages (#2541), then we should add a way for users to identify these originals when they exist.

Proposed solution

  • Add a checkbox next to the "Alternative Identifier" input in the editor to allow users to flag a dataset as the original/source dataset when the one in MetacatUI is essentially a duplicate
  • When checked, MetacatUI will automatically apply schema.org:sameAs and prov:derivedFrom annotations with URL with the DOI/UUID of the original as the object.
  • The alternative identifier must be a valid URL to allow the annotations to be generated correctly (where as alternative identifier in EML is not as strict).

Reminder: test how regular annotations appear when they are not bioportal identifiers as they all are currently.

@robyngit robyngit added enhancement editor semantics arctic data center ADC CI-14 Data search and display improvements (ADC deliverable) labels Sep 30, 2024
robyngit added a commit that referenced this issue Oct 15, 2024
robyngit added a commit that referenced this issue Oct 15, 2024
- Add methods to add, remove, update, and find sameAs and derivedFrom annotations representing canonical datasets

Issue #2542
robyngit added a commit that referenced this issue Oct 15, 2024
- Add logic to identify the canonical dataset while parsing EML
- Update the Annotations collection with the value in the canonical dataset input changes

Issue #2542
@robyngit robyngit self-assigned this Oct 17, 2024
robyngit added a commit that referenced this issue Oct 17, 2024
- Add methods to add, remove, update, and find sameAs and derivedFrom annotations representing canonical datasets

Issue #2542
robyngit added a commit that referenced this issue Oct 17, 2024
- Add logic to identify the canonical dataset while parsing EML
- Update the Annotations collection with the value in the canonical dataset input changes

Issue #2542
robyngit added a commit that referenced this issue Oct 24, 2024
- Handle canonical dataset annotation errors specially so that they can be displayed in the new input field.
- Improve annotations validation to remove empty annotations and duplicates

Issue #2542
robyngit added a commit that referenced this issue Nov 4, 2024
- Handle canonical dataset annotation errors specially so that they can be displayed in the new input field.
- Improve annotations validation to remove empty annotations and duplicates

Issue #2542
robyngit added a commit that referenced this issue Nov 4, 2024
robyngit added a commit that referenced this issue Nov 4, 2024
- Fix the findDuplicates method to return the correct result

Issue #2542
robyngit added a commit that referenced this issue Nov 4, 2024
robyngit added a commit to NCEAS/metacatui-themes that referenced this issue Nov 4, 2024
In the editor, add a section for identifying the authoritative dataset for the metadata record.
This was added to the metadataOverview.html template for all themes.

Related to NCEAS/metacatui#2542
robyngit added a commit that referenced this issue Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADC CI-14 Data search and display improvements (ADC deliverable) arctic data center editor enhancement semantics
Projects
Development

Successfully merging a pull request may close this issue.

1 participant