-
Notifications
You must be signed in to change notification settings - Fork 0
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
Proposed changes to capture more information about dates in the ShEx #261
Comments
@vanaukenk I believe the cardinality for To answer your other questions:
|
Thanks for the feedback @kltm I'll revise the cardinality on the creation_date field. For 1, let's confirm with @dustine32 and @ukemi as right now, it looks like the model-level date is the date of the actual import. For 3, I noticed that the cardinality of date is different in the GoCamModel shape vs the ProvenanceAnnotated shape, but I wasn't sure I understood why date cardinality in ProvenanceAnnotated isn't also 1: date: xsd:string {1}; For 4, yes, we'll need to think about how to capture both the reviewer and the date if they just review and approve a model without making any changes. |
Thanks for the writeup @vanaukenk and @kltm for answering! For 1: correct, the current existing Edit: I should clarify, by "all GPAD col 9 |
@dustine32 @vanaukenk If not already, the "date" (read |
It is worth adding the addition complexity to have an import date? I would think at the level of the model, the date would be the date the MODEL was modified. This would correspond to the date of import, but once we throw the switch, these models are no longer special. Curators will be working on them just like any other model and should therefore correspond to everything else done in Noctua. I think this is consistent with what you are saying, but just wanted to be sure. |
Thanks all. I think Seth's point is well taken and we probably don't want to decouple 'annotation' dates from 'model' dates and handle dates differently in imported vs non-imported models. So, if I'm understanding things correctly, to be consistent, for the MOD imports we'd want to make the model-level date the most recent date represented in the set of annotations for a given gene. This would be the same thing that happens now: if I create a new model, the model-level date is the same as all of the 'annotation dates', but if I go back to that model tomorrow and edit, the model-level date now reflects the date of the latest 'annotation'. This might mean that some of our imported models have dates before Noctua was even a gleam in anyone's eye, but I think that's okay and we're then being consistent about what date means on a model-level. I'm honestly agnostic about adding an import_date field, but if it's not too costly on the software side, having it there might just make things clearer wrt the chronology curators see in Noctua. |
@ukemi Personally, I'm not sure it's worth it or not, but it wouldn't be much extra work if it was. I'm mostly interested in there being a consistent story for what dates mean, but neutral on the addition. I believe we're on the same page here with what "date" (i.e. @vanaukenk Yes, I believe that we have the same picture: the way we're looking at dates means that an awful lot of them will have dates from before Noctua, which is what I think people would expect anyways and would be a requirement for sensible searching for past work. Marginally, I think that there is probably little extra overhead in adding one new timestamp vs two. I'd also note that if we skipped adding an |
Here are some possible Dublin Core metadata entries that we could use for the ShEx: date https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/modified then maybe import_date could just be https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/elements/1.1/date |
We are currently using I also agree with the creation date mapping. For |
Thanks for the feedback @balhoff |
From 2021-06-08 MOD imports call:
We want to align how date information is being expressed in the import GPAD files with how dates are modeled in the ShEx.
This will ensure we don't lose any information coming in from the imports and also that we have clear semantics for what the date fields mean in the ShEx and the GPAD files.
In the ShEx, date is currently captured in two places, the GoCamModel shape and the ProvenanceAnnotated shape.
Implicitly, the current use of date means the last date upon which an action was performed on either the model-level or wrt ProvenanceAnnotated which is used in the AnnotatedEdge shape (i.e. to record evidence for an edge).
We propose to add an additional date tag, creation_date, to the GoCamModel and ProvenanceAnnotated shapes to capture the information for this tag that is coming in from the Annotation Property, creation-date, in the GPAD file for the MOD imports.
Cardinality will be 1 for creation_date.
A few questions:
For the gene-centric import models, what would a model-level creation date be?
There is a comment in the ShEx to change date from xsd:string to xsd:date. Any reason to not also make that change?
For the GoCamShape, the current cardinality of date is 1, but the cardinality in the ProvenanceAnnotated shape is *. Is that what we want for ProvenanceAnnotated?
In the future, we may have a situation where a curator reviews a model and doesn't make any changes, but we want to capture that they've reviewed and approved the model. Will we want to add another type of date tag to the ShEx for this (e.g. reviewed_date) and will we need to modify the Noctua UI so that there's a specific action taken upon review so we know to capture the date of review?
@kltm - please make sure I've represented the current thinking about dates in the ShEx correctly.
@ukemi @sierra-moxon @lpalbou @tmushayahama @dustine32
The text was updated successfully, but these errors were encountered: