rsc-ontologies / rsc-cmo

Chemical Methods Ontology
Creative Commons Attribution 4.0 International
12 stars 7 forks source link

provide JSON-LD context #7

Open kjappelbaum opened 3 years ago

kjappelbaum commented 3 years ago

Hi, thanks for maintaining the CMO!

I'm in the process of formalizing a data schema we developed for our open-source electronic lab notebook (https://github.com/cheminfo/data_schema, https://github.com/cheminfo/cheminfo-json-schema) and I'd like to reference the keys we use to the CMO. But I'm not sure what the best way to do this would be. Since we're going to use JSON-LD it would be great if the CMO could provide some @context. This library https://github.com/stain/owl2jsonld seems to be able to do it.

Would you consider maintaining something like this? I could look into making a pull request for setting up a GitHub actions that automatically does the conversion.

batchelorc commented 3 years ago

Hello,

I am not an expert in this but I wonder whether this: https://github.com/ontodev/robot/blob/master/robot-core/src/main/resources/obo_context.jsonld

would help?

Colin.

cmungall commented 3 years ago

can you clarify what is required? The OBO jsonld context may be sufficient, or do you want one entry per term?

kjappelbaum commented 3 years ago

i'm really sorry for the delay in following this up and thanks for the link! Ideally, we'd like to have one entry per term.

cmungall commented 1 year ago

btw this is the URL that should be used for the OBO context http://purl.obolibrary.org/meta/obo_context.jsonld

this doesn't answer your question though, this seems maybe a niche use case though?