Open vemonet opened 2 years ago
These are not all perfect, but due to the use of LinkML there are some automatic conversions into SHACL and SHEX: https://github.com/mapping-commons/sssom/tree/master/project.
There are also data classes for SSSOM here: https://github.com/mapping-commons/sssom/blob/master/src/sssom_schema/datamodel/sssom_schema.py (on pypi)
An example parser is here: https://github.com/mapping-commons/sssom-py/blob/bbbd22ed058175f74b06ccc79cfb0f49414270c6/sssom/parsers.py#L133
Hi @matentzn thanks a lot for those pointers, the example for parsing is exactly what I need
Parse files from the "Simple Standard for Sharing Ontology Mappings (SSSOM)": https://mapping-commons.github.io/sssom/usecases/