geneontology / go-shapes

Schema for Gene Ontology Causal Activity Models defined using RDF Shapes
2 stars 0 forks source link

Remove directly_regulates, directly_positively_regulates, directly_negatively_regulates. #256

Open balhoff opened 3 years ago

balhoff commented 3 years ago

Fixes #255.

pgaudet commented 3 years ago

This looks fine to me.

@vanaukenk I want to confirm with you also.

vanaukenk commented 3 years ago

The ShEx edit is fine, but we need to talk about how to programmatically update existing models when we make changes like this. I'd ask we not merge this until we have a plan for that in place.

Tagging a bunch of people who should be in the loop about this. @kltm @lpalbou @balhoff @ukemi @pgaudet @tmushayahama @cmungall

kltm commented 3 years ago

@vanaukenk To propagate a change like this we'd have to do something like:

If we go through dev first (recommended), we run through the above twice. If we trust it (not that big a deal since everything is in GH), once for prod and then at some point have some sync with dev so we don't confuse ourselves.

@balhoff I think there used to be an instruction set and a place that we kept our previous "migrations"?

Ideally, at some point we'd put a little money towards making this a little easier on ourselves and make a more formal built-in migration system.

pgaudet commented 3 years ago

Is there a check anywhere for obsolete terms (ontology/relations/etc?)

kltm commented 3 years ago

@pgaudet Besides the occasional application of ShEx, there is no periodic qc/qa on the models, much less migration/update. This is one of the known threads of the import project that has not yet been approached, but will need to be answered before completion.

lpalbou commented 3 years ago

Couple of notes, also related to https://github.com/geneontology/go-shapes/issues/255:

ukemi commented 3 years ago

For the Reactome models, @dustine32 should be able to modify the import script to change those relations in the next import. So those can be fixed 'upstream'.

@lpalbou you are correct. Pure removal is always dangerous, but in this case, I checked the PR from @balhoff and the other 'regulates' relations are still there in the Shex, so I think we will be ok. Although you are correct, any models that use the removed ones will fail.

cmungall commented 3 years ago

Trying to summarize:

  1. based on @lpalbou's comments, it's not clear if there is consensus on removal of the relations. I think the best place to arrive at consensus is on the parent ticket #255
  2. I changed this to draft for now
  3. Any breaking change should be accompanied with (ideally computable) migration instructions. E.g. a SPARQL UPDATE that maps existing usages to a different relation; also change existing migration code (in some cases we may need curators to make updates but that doesn't seem to be the case here)
  4. We need a standard way of acting on these as @kltm suggests

It sounds like we need a procedure for continuous qa/qc/validation of models, but this should be the subject of another ticket