sssom
Operations on SSSOM mapping tables
What it is and what it does
SSSOM is a Python library and CLI for working with SSSOM, a standard format for sharing ontology mappings. It reads and writes mapping tables in TSV format, parses them into a mapping set dataframe object that bundles a pandas DataFrame, a curies.Converter for URI handling, and mapping metadata. The library can export mappings to JSON, OWL, and RDF formats, making it a bridge between tabular mapping data and semantic web representations.
The package is designed for ontology curators, bioinformaticians, and knowledge engineers who need to manage, validate, and transform ontology mappings at scale. It integrates with LinkML for schema validation and RDFlib for semantic output, and provides a command-line interface alongside its Python API. The library is actively maintained and part of the broader Mapping Commons ecosystem.
Use it for:
- Parse and manipulate SSSOM TSV files from mapping repositories to extract and analyze ontology mappings programmatically.
- Convert ontology mappings from TSV to OWL or RDF/Turtle format for use in semantic web applications and triple stores.
- Validate mapping tables against the SSSOM schema and enrich them with metadata using the pandas DataFrame interface.
- Build mapping pipelines that read, filter, and export mappings in multiple formats for downstream ontology alignment tools.
- Integrate ontology mappings into knowledge graphs by exporting to RDF and loading into graph databases.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parse, validate, and convert SSSOM (Simple Standard for Sharing Ontology Mappings) files between TSV, JSON, OWL, and RDF formats, with built-in support for ontology mapping metadata and curation.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. Install it if you work with ontology mappings in SSSOM format or need to convert between mapping representations. Note that JSON and RDF export formats are still evolving—pin a version if stability is critical for your workflow.
Install
sssom on PyPI
pip
pip install sssomuv
uv add sssompoetry
poetry add sssomInstalling sssom
Before you install
Low friction installation with a pure-Python wheel and active maintenance—last release 83 days ago. Requires Python 3.10 or later and pulls in 12 runtime dependencies including linkml, pandas, rdflib, and sparqlwrapper; no compiled dependencies.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.
Quickstart
import sssom
url = "https://raw.githubusercontent.com/mapping-commons/mh_mapping_initiative/master/mappings/mp_hp_eye_impc.sssom.tsv"
msdf = sssom.parse_tsv(url)
sssom.write_json(msdf, "output.json")
Requires Python 3.10 or later; JSON and RDF export formats are not yet finalized and may change in future releases.
Verify before relying
- Stability and completeness of JSON and RDF export formats—documentation warns these are not yet finalized.
- Performance characteristics with large mapping sets or complex ontologies.
- Specific SSSOM specification version(s) supported by this release.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 12 — click, curies, deprecation, linkml, linkml-runtime, packaging, pandas, pyyaml, rdflib, sparqlwrapper, sssom-schema, validators |
| Maintenance | actively maintained — 83 days since the last release |
| First released | |
| Downloads | 93,945/month — #13,357 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sssom-0.4.21-py3-none-any.whl
Tags
More Information Analysis packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
snowflake-snowpark-pythonSnowpark Python provides APIs to query and…
permissive · top 1,000 on PyPI
edam-ontologyProvides a Python-packaged version of the EDAM…
permissive · top 15,000 on PyPI
linkmlLinkML is a modeling language for defining…
permissive · top 15,000 on PyPI
prefixmapsRetrieves and manages semantic prefix maps that…
permissive · top 15,000 on PyPI
prontoPronto parses, browses, creates, and exports…
permissive · top 15,000 on PyPI
PyShExPyShEx parses and validates RDF data against…
permissive · top 15,000 on PyPI
rdflibRDFLib is a Python library for parsing,…
permissive · top 1,000 on PyPI
pyshaclValidates RDF graphs against SHACL shape…
permissive · top 5,000 on PyPI
owlrlImplements OWL2 RL Profile and RDFS inference…
unclear · top 5,000 on PyPI
owlready2Owlready2 is a Python module for…
copyleft · top 15,000 on PyPI