Skip to content

Add HOIP and SSBD ontologies to registry - #128

Merged
cmungall merged 1 commit into
mainfrom
claude/confident-wright-g7cs2e
Nov 9, 2026
Merged

cmungall merged 1 commit into
mainfrom
claude/confident-wright-g7cs2e

Conversation

@cmungall

@cmungall cmungall commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds two new biomedical ontologies to the semantic-sql ontology registry: the Homeostasis Imbalance Process Ontology (HOIP) and the SSBD Ontology for bioimaging metadata.

Changes

  • HOIP Ontology: Added download and build rules with XML language tag correction

    • Downloads from BioPortal (canonical distribution)
    • Includes sed-based preprocessing to fix invalid xml:lang="a" tags (typo for "en") that would cause rdftab to abort
    • Added prefix mapping for HOIP namespace
  • SSBD Ontology: Added download and build rules

    • Downloads from GitHub primary release (includes property-name typo fixes not yet in BioPortal)
    • Simple copy-through build (no preprocessing needed)
    • Added prefix mappings for ssbd, NCBIGene, and jax namespaces
  • Build infrastructure: Updated ontologies.Makefile with download/build rules following existing patterns

  • Registry: Added entries to src/semsql/builder/registry/ontologies.yaml with descriptions and metadata

  • Prefix mappings: Updated both prefixes.csv and prefixes_local.csv with new namespace URIs

Implementation Details

The HOIP entry includes a custom build_command to work around a data quality issue in the 2024-04-03 release where two synonyms use an invalid BCP 47 language tag. This preprocessing step ensures compatibility with rdftab's RDF parsing.

Both ontologies follow the established registry pattern and will be included in the standard build pipeline via the EXTRA_ONTOLOGIES variable.

Adds two RIKEN ontologies (both led by Yuki Yamagata, CC-BY 4.0) to the
non-OBO registry:

- hoip: Homeostasis Imbalance Process Ontology (COVID-19 infectious
  courses, cellular senescence). Fetched from BioPortal, which the
  upstream README names as the distribution point; the GitHub repo only
  carries a date-stamped zip of the same file. The 2024-04-03 release
  tags two synonyms with xml:lang="a", which is not a valid language tag
  and makes rdftab abort, so the build rewrites that tag to "en".
- ssbd: SSBD Ontology, bioimaging dataset metadata for the RIKEN SSBD
  repository. Fetched from GitHub (ssbd_integrated.owl), the primary
  release; the BioPortal submission is the same graph minus later
  property-name typo fixes. Its prefixmap also contracts NCBI Gene web
  IRIs to NCBIGene (alongside the existing identifiers.org base) and
  JAX mouse strain IRIs to jax.

Both were built end-to-end (robot + rdftab + relation-graph) and checked
for CURIE contraction and is-a closure with OAK; ontologies.Makefile and
prefixes.csv/prefixes_local.csv are regenerated accordingly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VjkEivqeSxzN18QBsWsU1K
@claude

claude Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@cmungall
cmungall merged commit 8ec19ab into main Nov 9, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants