Getting and Writing Semantic Mappings
I/O functions for SeMRA.
Functions
|
Get mappings from a given ontology via |
|
Get mappings from a |
|
Extract mappings from a simple directed graph data model. |
Read a list of Mapping objects from a JSONL file. |
|
|
Extract mappings from a multi-directed graph data model. |
|
Read the mappings from a pickle. |
|
Get mappings from a given ontology via |
|
Get mappings from a path to a SSSOM TSV file. |
|
Get mappings from a SSSOM dataframe. |
|
Get a SSSOM dataframe. |
|
Convert mappings into a simple directed graph data model. |
|
Convert mappings into a multi directed graph data model. |
Write a list of Pydantic objects into a JSONL file. |
|
|
Write all files needed to construct a Neo4j graph database from a set of mappings. |
|
Write the mappings as a pickle. |
Export mappings as an SSSOM file (could be lossy). |