geneontology / go-shapes

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

Add model level metadata #229

Closed goodb closed 4 years ago

goodb commented 4 years ago

@kltm @dustine32 @vanaukenk @ukemi @cmungall heads up that the shex schema and validation framework now includes checks on model metadata. The metadata schema is included at the top of the main one and looks like this:

<GoCamModel> {
  a [owl:Ontology] + ;
  contributor: xsd:string +; #TODO would be better as an IRI
  date: xsd:string {1}; #TODO can we make this an xsd:date?
  provided_by: xsd:string +; #TODO would be better as an IRI
  rdfs:comment xsd:string *;
  modelstate: xsd:string {1}; #TODO would be better as an IRI
  in_taxon: . *;
  title: xsd:string {1};
  imports: . *;
  oboinowlid: . *; #TODO not sure if we really want this?
  owl:versionIRI . *;
}

@dustine32 this may impact the results of your validations of imported data - e.g. if MGI is adding different date-related info.

ukemi commented 4 years ago

@dustine32 and @goodb . The date-related info that we plan to add will be created_by dates and modified_by dates (and personnel) on each GPAD annotation object. I assumed that they would be treated in an identical way to the contributor tags that are already there. I don't think it would make sense to add any model-level dates originating at our end since each gene-centric model is comprised of a number of annotations created over a large range of time.

goodb commented 4 years ago

@ukemi that is fine. In that case the changes would go on the <ProvenanceAnnotated> shape that is used for instance and edge annotations.