GenomicsStandardsConsortium / mixs

Minimum Information about any (X) Sequence” (MIxS) specification
https://w3id.org/mixs
Creative Commons Zero v1.0 Universal
38 stars 21 forks source link

Evaluate CEDAR template datamodel for representing MIxS templates #236

Closed cmungall closed 9 months ago

cmungall commented 4 years ago

Note this ticket is not about evaluating CEDAR tooling, but rather the abstract data model and associated JSON-LD / RDF / JSON Schema representation.

High level description here:

https://github.com/metadatacenter/cedar-docs/wiki/CEDAR-Template,-Element,-and-Field-Instances

e.g JSON-LD/RDF for a template with two fields here:

{
  "studyID": { "@value": "SDY2"  },
  "pi": { 
    "fullName": { "@value": "Dr. P.I." }, 
    "homePage": { "@id": "https://www.stanford.edu/people/DrPI.html" }, 
    "address": { "@value": "Stanford, CA 94305, USA" },
    "dob": { "@value": "1999-01-01" } 
  }
}

Note that fields can be constrained to be value sets from ontologies:

The paper is here: https://more.metadatacenter.org/sites/default/files/An%20Open%20Repository%20Model%20for%20Acquiring%20Knowledge%20about%20Scientific%20Experiments.pdf

The abstract data model is in fig 1:

image

More docs and guides here:

https://github.com/metadatacenter/cedar-docs/wiki/CEDAR-technical-documentation

wdduncan commented 4 years ago

Here is a link to the technical documentation:

This paper is is more detailed that one above:

only1chunts commented 4 years ago

a couple of years ago I created a MIGS template in the CEDAR workbench: https://openview.metadatacenter.org/templates/https:%2F%2Frepo.metadatacenter.org%2Ftemplates%2F2be33bb9-ff4e-45f0-920d-b37110673bf6 Not sure how complete it was, or if it is actually correct and useful, but it might be a reasonable starting point to fork from?! Never really worked out how to do anything with the template though?

cmungall commented 4 years ago

I think that's a useful starting point. Has anyone examined the json-schema that is generated from this?

wdduncan commented 4 years ago

I only have access to the read-only view of the template :(

only1chunts commented 4 years ago

I couldn't workout how to share the template in Cedar, but I did copy and paste the JSON of it to a text file here for you to look at. migs-template-cedar.json.txt

ramonawalls commented 3 years ago

I think there is still potential value in this, so I will keep it open for MIxS 7

cmungall commented 1 year ago

I vote for closing this - it would be easy to add something generic at the LinkML level

ramonawalls commented 9 months ago

We are using LinkML, so closing.