-
Notifications
You must be signed in to change notification settings - Fork 8
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
Specify and BGBM: Question on identifications and organism #61
Comments
That record should have a single identification in the identification table related to the collection object through an organism_id which is in turn related to a taxonomic concept in the taxon table through the taxon_identification table. I do have multiple determinations for some records but have not included these (as yet). |
In Andy's data there are so far no MaterialEntities that are not collection objects (Organisms). This will change with tissue samples. Even so, as I understand it the Identifications in Andy's data are not explicitly based on the GeneticSequences anyway. Thus, there are not and will not be IdentificationEvidence records. |
Thanks @tucotuco What is the proper way to get the organism then from a material entity? Through a entity_relationship with a - yet to be agreed - type? |
@MortenHofft I'm not sure what you mean by "get the organism then from a material entity". An Organism IS a MaterialEntity. The Organism might have parts (skulls, seeds, tissue samples, etc) that are MaterialEntities derived from the Organism. In the other direction an Organism might be part of a fossil, which is a MaterialEntity with potential many Organisms represented in it. The Organism type hierarchy means that every Organism records has to have a MaterialEntity record and an Entity record. The relationships between an Organism and any other Entity need to happen in the EntityRelationships table. |
Thanks John. As my starting point has been the canonical Koldingensis example this was lost on me. Lets take some of the examples records that I have to work with then: Koldingensis
BGBM
The specimen is a branch from a tree. Specify
So am I then right in assuming that if I have a specimen ID, the way for me to get at the organism is to:
|
A lot to unravel here....
There SHOULD be an Organism record and an entity relationship "5c488c08-8cab-444a-9598-806dd0abec85" "MATERIAL SAMPLE OF" [that Organism record's organism_id].
There SHOULD be an Organism record and an entity relationship "B 10 1171483" "MATERIAL SAMPLE OF" "B 10 1167678".
In Andy's case we agreed that the collection object ids correspond most closely with an organism_id, so there are Organism records without any other MaterialEntities. When the tissues get incorporated that will change. Andy will still have these collection_object_ids from the specimen collection for the organism_ids, but there will be additional MaterialEntities for the tissue samples and the EntityRelationships to show that they are "MATERIAL SAMPLE OF" the Organisms.
I think there may be two issues here. In the CMSs case, the participants need to provide the organism.accepted_identification_id and the corresponding records in the identification table. In the Koldingensis case, the same thing has to happen but hasn't. Record for the Organisms will have to be built. |
Sorry - just a small correction to above BGBM example, i seem to have mistyped. There already is an organismId with id |
OK, from what is showing in the original example now... BGBM
...the material_entity table entry is the supertype MaterialEntity record for the Organism (because they have the same identifier). In that case, yes, the materialEntityType MUST be "ORGANISM". |
So despite being a branch from a tree, it should still be of type |
I think @tucotuco is trying to say there should be 2 entities that represent the tree and the branch: Entity
Material Entity
Organism
There would additionally be a relationship declared capturing that |
@timrobertson100 has the ideal model right. They have two options. One option is to have each collection object record represent a record for an Organism. This is what BGBM and Specify have done. In this scenario they describe what parts they have, but do not create separate instances of MaterialEntities for them. The other option is to have the collection object records represent material parts of Organisms. This is what Arctos does. In this scenario there would have to be distinct Organism records with identifiers and related to the collection objects. Arctos has these. BGBM and Specify would have to create them. They shouldn't have to. |
Not that I want to complicate this any further for myself but could this also be used to tease out preparations for the same object that have the same catalog number? This is common in fishes where you have a lot - KUI xxxxx - that may have some ethanol specimens, some skeletal specimens, some cleared and stained specimens, and (potentially) some tissues. Currently, I am reporting these as a formatted string in the preparation field. |
@acbentley Yes, that is one example of the kinds of thing the MaterialEntity relationships are meant to capture. It would entail parsing and minting identifier for the "parts" and then making relationships between those parts and the lot they are from. Except for the tissues, I'm not sure you have much to gain by teasing those out. |
@tucotuco this might be a question for you and not @acbentley
For BGBM and koldingensis i used the
identification_evidence
table to get a list of identifications for an entity.That table is as you know empty in the Specify case. Then what to do?
The text was updated successfully, but these errors were encountered: