Skip to content

Remove malformed OBI:0000300 and obsolete OBI_0000300 import - #2836

Merged
jamesamcl merged 1 commit into
masterfrom
issue-2832
Sep 29, 2026
Merged

jamesamcl merged 1 commit into
masterfrom
issue-2832

Conversation

@ar-ibrahim

@ar-ibrahim ar-ibrahim commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Fixes the malformed IRI http://purl.obolibrary.org/obo/OBI:0000300 (colon instead of underscore) that EFO was exposing and that downstream ontologies (e.g. PRIDE) were picking up.

The OBI import is dynamic and was not stale. The malformed IRI came from a hand-written local declaration in efo-edit.owl, which carried only a comment and was not used anywhere. Separately, the OBI import was still pulling in the correct OBI_0000300, which is obsolete in OBI (obsolete_is_realized_by) and also unused in EFO.

OBI names BFO_0000054 (current label "realized in") as the replacement. EFO already imports it and already uses it in 47 disease SubClassOf restrictions (BFO_0000054 some (disease course and has part some X)). No axioms needed repointing.

Changes

Action Term File
Removed declaration OBI:0000300 (malformed IRI) src/ontology/efo-edit.owl
Removed from import list OBI_0000300 obsolete_is_realized_by src/ontology/iri_dependencies/obi_terms.txt
Regenerated OBI import (only change: OBI_0000300 removed) src/ontology/imports/obi_import.owl, imports/obi_terms.txt

No new terms, so no temporary EFO_099xxxx IDs.

Checks

  • No remaining OBI:0000300 / OBI_0000300 in efo-edit.owl, imports/ or iri_dependencies/
  • Import regenerated with make imports/obi_import.owl -B against a fresh OBI mirror; no hand edits under imports/
  • make normalize_src clean; robot reason -r ELK OK
  • No new duplicate labels across import files

Notes / open questions

  • make normalize_src swapped the order of two unnamed obsoletion-annotation blocks in efo-edit.owl (OBA_VT0001565 / OBA_VT0010499 replacements). Each block kept its own replacement IRI and reason text, so the content is unchanged; it is ROBOT serialization noise.
  • The issue calls BFO_0000054 "is realized by"; its current label in OBI, MONDO and most OBO ontologies is "realized in".

🤖 Generated with Claude Code

…0 import (refs #2832)

- Delete the unused local declaration of http://purl.obolibrary.org/obo/OBI:0000300
  (malformed IRI) from efo-edit.owl.
- Drop obsolete OBI_0000300 'obsolete_is_realized_by' from iri_dependencies/obi_terms.txt
  and regenerate imports/obi_import.owl.
- The OBI-designated replacement, BFO_0000054 'realized in', is already imported and used.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@jamesamcl
jamesamcl merged commit b78b517 into master Sep 29, 2026
1 check 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