From fed48da245c441601543b4e54f15657a4b48a61f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 07:06:00 +0000 Subject: [PATCH] Register HOIP and SSBD ontologies 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 Claude-Session: https://claude.ai/code/session_01VjkEivqeSxzN18QBsWsU1K --- ontologies.Makefile | 24 ++++++++++++++++++- src/semsql/builder/prefixes/prefixes.csv | 4 ++++ .../builder/prefixes/prefixes_local.csv | 4 ++++ src/semsql/builder/registry/ontologies.yaml | 19 +++++++++++++++ 4 files changed, 50 insertions(+), 1 deletion(-) diff --git a/ontologies.Makefile b/ontologies.Makefile index 2e009fe..19eecd1 100644 --- a/ontologies.Makefile +++ b/ontologies.Makefile @@ -1725,6 +1725,28 @@ db/codamos.owl: download/codamos.owl cp $< $@ +download/hoip.owl: STAMP + curl -L -s https://data.bioontology.org/ontologies/HOIP/download?apikey=8b5b7825-538d-40e0-9e9e-5ab9274a9aeb > $@.tmp + sha256sum -b $@.tmp > $@.sha256 + mv $@.tmp $@ + +.PRECIOUS: download/hoip.owl + +db/hoip.owl: download/hoip.owl + sed -e 's/xml:lang="a"/xml:lang="en"/g' $< > $@ + + +download/ssbd.owl: STAMP + curl -L -s https://raw.githubusercontent.com/openssbd/ssbd-ontology/main/ontology/ssbd_integrated.owl > $@.tmp + sha256sum -b $@.tmp > $@.sha256 + mv $@.tmp $@ + +.PRECIOUS: download/ssbd.owl + +db/ssbd.owl: download/ssbd.owl + cp $< $@ + + download/%.owl: STAMP curl -L -s http://purl.obolibrary.org/obo/$*.owl > $@.tmp sha256sum -b $@.tmp > $@.sha256 @@ -1735,4 +1757,4 @@ download/%.owl: STAMP db/%.owl: download/%.owl robot merge -i $< -o $@ -EXTRA_ONTOLOGIES = swo chiro pcl chemessence ogco ncit fma maxo foodon chebiplus msio chemrof deb matpo panet phenx pride sosa emi npc modl phenio comploinc hba mba dmba dhba pba bero aio reacto xsmo bcio sio icd10who icd11f ordo gard icd10cm omim mondo-ingest oeo envthes wifire taxslim goldterms sdgio kin metpo d3o biovoices omop comet cco occo iof upa go go-lego go-amigo neo bao orcid ror cpont biolink biopax enanomapper mlo ito chemont molgenie cso obiws biopragmatics-reactome reactome-hs reactome-mm efo hcao hpinternational edam chr sweetAll oboe-core oboe-standards lov schema-dot-org prov dtype vaem qudtunit quantitykind cellosaurus cosmo gist gistBFO fhkb dbpendiaont uberoncm co_324 ppeo interpro pfam hgnc.genegroup hgnc sgd gtdb eccode uniprot uniprot.ptm credit rhea swisslipid drugbank drugcentral complexportal wikipathways pathbank kegg.genome drugmechdb rxnorm vccf ontobiotope nando ecso enigma_context cbo ontie pain como ecosim bervo valuesets micront nmdc_schema mixs kgcl fibo bfo2020 bfo2020_core bfo2020_notime bfo2020_time saref saref4city saref4ener saref4bldg hhearvs sdoho pathgo brick minsysont cmso asmo sulo uco d3fend codamos +EXTRA_ONTOLOGIES = swo chiro pcl chemessence ogco ncit fma maxo foodon chebiplus msio chemrof deb matpo panet phenx pride sosa emi npc modl phenio comploinc hba mba dmba dhba pba bero aio reacto xsmo bcio sio icd10who icd11f ordo gard icd10cm omim mondo-ingest oeo envthes wifire taxslim goldterms sdgio kin metpo d3o biovoices omop comet cco occo iof upa go go-lego go-amigo neo bao orcid ror cpont biolink biopax enanomapper mlo ito chemont molgenie cso obiws biopragmatics-reactome reactome-hs reactome-mm efo hcao hpinternational edam chr sweetAll oboe-core oboe-standards lov schema-dot-org prov dtype vaem qudtunit quantitykind cellosaurus cosmo gist gistBFO fhkb dbpendiaont uberoncm co_324 ppeo interpro pfam hgnc.genegroup hgnc sgd gtdb eccode uniprot uniprot.ptm credit rhea swisslipid drugbank drugcentral complexportal wikipathways pathbank kegg.genome drugmechdb rxnorm vccf ontobiotope nando ecso enigma_context cbo ontie pain como ecosim bervo valuesets micront nmdc_schema mixs kgcl fibo bfo2020 bfo2020_core bfo2020_notime bfo2020_time saref saref4city saref4ener saref4bldg hhearvs sdoho pathgo brick minsysont cmso asmo sulo uco d3fend codamos hoip ssbd diff --git a/src/semsql/builder/prefixes/prefixes.csv b/src/semsql/builder/prefixes/prefixes.csv index 79af915..6233ec9 100644 --- a/src/semsql/builder/prefixes/prefixes.csv +++ b/src/semsql/builder/prefixes/prefixes.csv @@ -282,6 +282,10 @@ uco.vocabulary,https://ontology.unifiedcyberontology.org/uco/vocabulary/ uco.co,https://ontology.unifiedcyberontology.org/co/ d3f,http://d3fend.mitre.org/ontologies/d3fend.owl# CoDAMoS,http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl# +HOIP,http://purl.bioontology.org/ontology/HOIP/HOIP_ +ssbd,http://ssbd.riken.jp/ontology/ +NCBIGene,https://www.ncbi.nlm.nih.gov/gene/ +jax,https://www.jax.org/strain/ RBO,http://purl.obolibrary.org/obo/RBO_ RBO,http://purl.obolibrary.org/obo/RBO_ CLYH,http://purl.obolibrary.org/obo/CLYH_ diff --git a/src/semsql/builder/prefixes/prefixes_local.csv b/src/semsql/builder/prefixes/prefixes_local.csv index fac0872..3c408d3 100644 --- a/src/semsql/builder/prefixes/prefixes_local.csv +++ b/src/semsql/builder/prefixes/prefixes_local.csv @@ -219,3 +219,7 @@ uco.vocabulary,https://ontology.unifiedcyberontology.org/uco/vocabulary/ uco.co,https://ontology.unifiedcyberontology.org/co/ d3f,http://d3fend.mitre.org/ontologies/d3fend.owl# CoDAMoS,http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl# +HOIP,http://purl.bioontology.org/ontology/HOIP/HOIP_ +ssbd,http://ssbd.riken.jp/ontology/ +NCBIGene,https://www.ncbi.nlm.nih.gov/gene/ +jax,https://www.jax.org/strain/ diff --git a/src/semsql/builder/registry/ontologies.yaml b/src/semsql/builder/registry/ontologies.yaml index 4b0c72d..76fb06d 100644 --- a/src/semsql/builder/registry/ontologies.yaml +++ b/src/semsql/builder/registry/ontologies.yaml @@ -846,3 +846,22 @@ ontologies: url: https://raw.githubusercontent.com/city-artificial-intelligence/diso/main/context-awareness/CoDAMoS/CoDAMoS.owl prefixmap: CoDAMoS: "http://lpis.csd.auth.gr/ontologies/CoDAMoS/CoDAMoS.owl#" + hoip: + description: Homeostasis Imbalance Process Ontology (COVID-19 infectious courses and cellular senescence) + # https://github.com/yuki-yamagata/hoip ; BioPortal is the canonical distribution + # (the GitHub repo only carries a date-stamped zip of the same file) + url: "https://data.bioontology.org/ontologies/HOIP/download?apikey=8b5b7825-538d-40e0-9e9e-5ab9274a9aeb" + # The 2024-04-03 release has two synonyms tagged xml:lang="a" (a typo for "en"), + # which is not a valid BCP 47 tag and makes rdftab abort + build_command: "sed -e 's/xml:lang=\"a\"/xml:lang=\"en\"/g' $< > $@" + prefixmap: + HOIP: http://purl.bioontology.org/ontology/HOIP/HOIP_ + ssbd: + description: SSBD Ontology - FAIR metadata for bioimaging datasets in the RIKEN SSBD repository + # https://bioportal.bioontology.org/ontologies/SSBD mirrors this; the GitHub copy is the + # primary release and has property-name typo fixes not yet in the BioPortal submission + url: https://raw.githubusercontent.com/openssbd/ssbd-ontology/main/ontology/ssbd_integrated.owl + prefixmap: + ssbd: http://ssbd.riken.jp/ontology/ + NCBIGene: https://www.ncbi.nlm.nih.gov/gene/ + jax: https://www.jax.org/strain/