Skip to content

Commit b2083d1

Browse files
authored
Merge pull request #316 from mcwdsi/issue-308
updated IAO import to filter module with make_base: true. Then repare…
2 parents 5e9700b + 21bdf9e commit b2083d1

23 files changed

Lines changed: 456 additions & 5188 deletions

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ These are the current imports in OMRSE
2828
| ncbitaxon | http://purl.obolibrary.org/obo/ncbitaxon/subsets/taxslim.owl | filter |
2929
| oostt | http://purl.obolibrary.org/obo/oostt.owl | filter |
3030
| omo | http://purl.obolibrary.org/obo/omo.owl | mirror |
31-
| iao | http://purl.obolibrary.org/obo/iao.owl | mirror |
31+
| iao | http://purl.obolibrary.org/obo/iao.owl | filter |
3232
| d-acts | http://purl.obolibrary.org/obo/iao/d-acts.owl | filter |
3333
| geo | http://purl.obolibrary.org/obo/geo.owl | filter |
3434
| mf | http://purl.obolibrary.org/obo/mf.owl | filter |

src/ontology/Makefile

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# 3. [Update repo to latest ODK](update_repo)
1717

1818
# Fingerprint of the configuration file when this Makefile was last generated
19-
CONFIG_HASH= 8f3e3334536fd37070740c6e9f4eba111d6ee240094a95f1b91e2b3c52b552e6
19+
CONFIG_HASH= 027a2056f9a26e4b98ccf68e5955782f997ec0ed3eb75d0555f7b991cf3c861f
2020

2121

2222
# ----------------------------------------
@@ -618,12 +618,22 @@ $(IMPORTDIR)/omo_import.owl: $(MIRRORDIR)/omo.owl | all_robot_plugins
618618
repair --merge-axiom-annotations true \
619619
$(ANNOTATE_CONVERT_FILE)
620620

621-
## Module for ontology: iao (mirror)
622-
$(IMPORTDIR)/iao_import.owl: $(MIRRORDIR)/iao.owl | all_robot_plugins
621+
## Module for ontology: iao (filter)
622+
$(IMPORTDIR)/iao_import.owl: $(MIRRORDIR)/iao.owl $(IMPORTDIR)/iao_terms.txt $(IMPORTSEED) | all_robot_plugins
623623
$(ROBOT) annotate --input $< --remove-annotations \
624+
odk:normalize --add-source true \
625+
extract --term-file $(IMPORTDIR)/iao_terms.txt $(T_IMPORTSEED) \
626+
--copy-ontology-annotations true --force true --method BOT \
627+
remove --axioms external --preserve-structure false --trim false \
628+
--base-iri http://purl.obolibrary.org/obo/IAO_ \
629+
remove $(foreach p, $(ANNOTATION_PROPERTIES), --term $(p)) \
630+
--term rdfs:label \
631+
--term IAO:0000115 \
632+
--term OMO:0002000 \
633+
--term-file $(IMPORTDIR)/iao_terms.txt $(T_IMPORTSEED) \
634+
--select complement \
624635
odk:normalize --base-iri http://purl.obolibrary.org/obo \
625636
--subset-decls true --synonym-decls true \
626-
--add-source true \
627637
repair --merge-axiom-annotations true \
628638
$(ANNOTATE_CONVERT_FILE)
629639

@@ -874,7 +884,7 @@ mirror-omo: | $(TMPDIR)
874884
.PRECIOUS: $(MIRRORDIR)/iao.owl
875885
mirror-iao: | $(TMPDIR)
876886
curl -L $(OBOBASE)/iao.owl --create-dirs -o $(TMPDIR)/iao-download.owl --retry 4 --max-time 200 && \
877-
$(ROBOT) convert -i $(TMPDIR)/iao-download.owl -o $(TMPDIR)/$@.owl
887+
$(ROBOT) remove -i $(TMPDIR)/iao-download.owl --base-iri http://purl.obolibrary.org/obo/IAO_ --axioms external --preserve-structure false --trim false -o $(TMPDIR)/$@.owl
878888

879889

880890
## ONTOLOGY: d-acts

src/ontology/catalog-v001.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<uri name="http://purl.obolibrary.org/obo/omrse/imports/geo_import.owl" uri="imports/geo_import.owl" />
1919
<uri name="http://purl.obolibrary.org/obo/omrse/imports/mf_import.owl" uri="imports/mf_import.owl" />
2020
<uri name="http://purl.obolibrary.org/obo/omrse/imports/occo_import.owl" uri="imports/occo_import.owl" />
21-
<uri name="http://purl.obolibrary.org/obo/omrse/language-individuals.owl" uri="components/language/language-individuals.owl" />
21+
<uri name="http://purl.obolibrary.org/obo/omrse/components/language/language-individuals.owl" uri="components/language/language-individuals.owl" />
2222
</group>
2323
<uri id="Imports Wizard Entry" name="http://purl.obolibrary.org/obo/omrse/releases/2025-01-18/imports/ncbitaxon_import.owl" uri="imports/ncbitaxon_import.owl" />
2424
<uri id="Imports Wizard Entry" name="http://purl.obolibrary.org/obo/omrse/releases/2023-09-08/imports/mf_import.owl" uri="imports/mf_import.owl" />
@@ -46,4 +46,4 @@
4646
<uri name="http://purl.obolibrary.org/obo/omrse/components/import_terms.owl" uri="components/import_terms.owl" />
4747
<uri name="http://purl.obolibrary.org/obo/omrse/language-individuals/" uri="components/language/language-individuals.owl" />
4848
</group>
49-
</catalog>
49+
</catalog>

src/ontology/components/language/language-individuals.owl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
2-
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/omrse/language-individuals.owl/"
3-
xml:base="http://purl.obolibrary.org/obo/omrse/language-individuals.owl/"
2+
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/omrse/components/language/language-individuals.owl/"
3+
xml:base="http://purl.obolibrary.org/obo/omrse/components/language/language-individuals.owl/"
44
xmlns:dc="http://purl.org/dc/elements/1.1/"
55
xmlns:obo="http://purl.obolibrary.org/obo/"
66
xmlns:owl="http://www.w3.org/2002/07/owl#"
@@ -12,8 +12,8 @@
1212
xmlns:terms="http://purl.org/dc/terms/"
1313
xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#"
1414
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#"
15-
xmlns:language-individuals="http://purl.obolibrary.org/obo/omrse/language-individuals/">
16-
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/omrse/language-individuals.owl">
15+
xmlns:language-individuals="http://purl.obolibrary.org/obo/omrse/components/language/language-individuals/">
16+
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/omrse/components/language/language-individuals.owl">
1717
<dc:creator xml:lang="en">Mathias Brochhausen</dc:creator>
1818
<dc:creator xml:lang="en">Matthew Diller</dc:creator>
1919
<dc:creator xml:lang="en">S. Clint Dowland</dc:creator>

src/ontology/imports/apollo_sv_import.owl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
77

88

99
Ontology(<http://purl.obolibrary.org/obo/omrse/imports/apollo_sv_import.owl>
10-
<http://purl.obolibrary.org/obo/omrse/releases/2026-01-06/imports/apollo_sv_import.owl>
10+
<http://purl.obolibrary.org/obo/omrse/releases/2026-02-04/imports/apollo_sv_import.owl>
1111
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/apollo_sv/releases/2024-12-24/apollo_sv.owl>)
12-
Annotation(owl:versionInfo "2026-01-06")
12+
Annotation(owl:versionInfo "2026-02-04")
1313

1414
Declaration(Class(<http://purl.obolibrary.org/obo/APOLLO_SV_00000032>))
1515
Declaration(Class(<http://purl.obolibrary.org/obo/APOLLO_SV_00000480>))

src/ontology/imports/bfo_import.owl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
77

88

99
Ontology(<http://purl.obolibrary.org/obo/omrse/imports/bfo_import.owl>
10-
<http://purl.obolibrary.org/obo/omrse/releases/2026-01-06/imports/bfo_import.owl>
10+
<http://purl.obolibrary.org/obo/omrse/releases/2026-02-04/imports/bfo_import.owl>
1111
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/bfo/2019-08-26/bfo.owl>)
12-
Annotation(owl:versionInfo "2026-01-06")
12+
Annotation(owl:versionInfo "2026-02-04")
1313

1414
Declaration(Class(<http://purl.obolibrary.org/obo/BFO_0000001>))
1515
Declaration(Class(<http://purl.obolibrary.org/obo/BFO_0000002>))

src/ontology/imports/d-acts_import.owl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
77

88

99
Ontology(<http://purl.obolibrary.org/obo/omrse/imports/d-acts_import.owl>
10-
<http://purl.obolibrary.org/obo/omrse/releases/2026-01-06/imports/d-acts_import.owl>
10+
<http://purl.obolibrary.org/obo/omrse/releases/2026-02-04/imports/d-acts_import.owl>
1111
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/iao/d-acts/release/2025-08-27/d-acts.owl>)
12-
Annotation(owl:versionInfo "2026-01-06")
12+
Annotation(owl:versionInfo "2026-02-04")
1313

1414
Declaration(Class(<http://purl.obolibrary.org/obo/BFO_0000015>))
1515
Declaration(Class(<http://purl.obolibrary.org/obo/BFO_0000023>))

src/ontology/imports/geo_import.owl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
77

88

99
Ontology(<http://purl.obolibrary.org/obo/omrse/imports/geo_import.owl>
10-
<http://purl.obolibrary.org/obo/omrse/releases/2026-01-06/imports/geo_import.owl>
11-
Annotation(owl:versionInfo "2026-01-06")
10+
<http://purl.obolibrary.org/obo/omrse/releases/2026-02-04/imports/geo_import.owl>
11+
Annotation(owl:versionInfo "2026-02-04")
1212

1313
Declaration(Class(<http://purl.obolibrary.org/obo/GEO_000000400>))
1414
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/IAO_0000115>))

src/ontology/imports/go_import.owl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
77

88

99
Ontology(<http://purl.obolibrary.org/obo/omrse/imports/go_import.owl>
10-
<http://purl.obolibrary.org/obo/omrse/releases/2026-01-06/imports/go_import.owl>
11-
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/go/releases/2025-10-10/go.owl>)
12-
Annotation(owl:versionInfo "2026-01-06")
10+
<http://purl.obolibrary.org/obo/omrse/releases/2026-02-04/imports/go_import.owl>
11+
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/go/releases/2026-01-23/go.owl>)
12+
Annotation(owl:versionInfo "2026-02-04")
1313

1414
Declaration(Class(<http://purl.obolibrary.org/obo/GO_0007610>))
1515
Declaration(Class(<http://purl.obolibrary.org/obo/GO_0008150>))
@@ -18,6 +18,7 @@ Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/IAO_0000233>))
1818
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/source>))
1919
Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#hasDbXref>))
2020
Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym>))
21+
Declaration(AnnotationProperty(<http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym>))
2122

2223

2324
############################
@@ -31,6 +32,7 @@ AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasDbXref> <ht
3132
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/GO_0007610> "behavioral response to stimulus")
3233
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/GO_0007610> "behaviour")
3334
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/GO_0007610> "behavioural response to stimulus")
35+
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym> <http://purl.obolibrary.org/obo/GO_0007610> "single-organism behavior")
3436
AnnotationAssertion(rdfs:comment <http://purl.obolibrary.org/obo/GO_0007610> "1. Note that this term is in the subset of terms that should not be used for direct gene product annotation. Instead, select a child term or, if no appropriate child term exists, please request a new term. Direct annotations to this term may be amended during annotation reviews.
3537
2. While a broader definition of behavior encompassing plants and single cell organisms would be justified on the basis of some usage (see PMID:20160973 for discussion), GO uses a tight definition that limits behavior to animals and to responses involving the nervous system, excluding plant responses that GO classifies under development, and responses of unicellular organisms that has general classifications for covering the responses of cells in multicellular organisms (e.g. cell chemotaxis).")
3638
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/GO_0007610> "behavior")
@@ -43,6 +45,8 @@ AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000233> <http://purl.ob
4345
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasDbXref> <http://purl.obolibrary.org/obo/GO_0008150> "Wikipedia:Biological_process")
4446
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/GO_0008150> "biological process")
4547
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/GO_0008150> "physiological process")
48+
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym> <http://purl.obolibrary.org/obo/GO_0008150> "single organism process")
49+
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym> <http://purl.obolibrary.org/obo/GO_0008150> "single-organism process")
4650
AnnotationAssertion(rdfs:comment <http://purl.obolibrary.org/obo/GO_0008150> "Note that, in addition to forming the root of the biological process ontology, this term is recommended for the annotation of gene products whose biological process is unknown. When this term is used for annotation, it indicates that no information was available about the biological process of the gene product annotated as of the date the annotation was made; the evidence code 'no data' (ND), is used to indicate this.")
4751
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/GO_0008150> "biological_process")
4852

0 commit comments

Comments
 (0)