sssom-py
sssom-py copied to clipboard
Python toolkit for SSSOM mapping format
For e.g.: `parse_file` conventionally takes an input and returns object(s) but in our case, it takes a path, converts the data into SSSOM format and exports it (stdout or output...
I have some LogMap results - results/logmap/logmap2_mappings.owl - results/logmap/logmap2_mappings.rdf - results/logmap/logmap2_mappings.tsv - results/logmap/logmap2_mappings.txt it's fairly easy to coerce the tsv or txt into sssom.tsv using a 3-line perl script, but...
General ideas about support of JSKOS format are given in #334. > Will you also provide a jskos reader? This would be the direction that is most valuable for us,...
We currently use sssom-py in OAK for some minimal parsing and writing functions - I would like to trim down the transitive dependencies
[This code block](https://github.com/mapping-commons/sssom-py/blob/master/sssom/parsers.py#L741-L754) deal with a `Mapping` object whereas the `invert` command deals with `MappingSetDataFrame` objects. We could potentially combine these two to remove redundancy in code that is trying...
Input: file or URL handle Output: the MappingSetDataFrame e.g. msdf = sssom.read_sssom(...)
As [discussed here](https://github.com/mapping-commons/sssom/discussions/250) JSKOS is another format also used to encode mappings. The format is defined on JSON. In practice newline delimited JSON with extension `ndjson` is used most for...
SSSOM parse should not fail hard when a few prefixes or URIs are not available. We should add a flag `--skip-unknown-prefixes` that, if true, will only print a warning, but...
I didnt even remember there was a "rewire" command. We should either: 1. Focus on getting this right in OAK and deprecate `sssom rewire` 2. Making sure Object Properties are...