Skip to content

Commit fa6d7fb

Browse files
author
Scott Christley
committed
add GAZ
1 parent ab0e163 commit fa6d7fb

19 files changed

Lines changed: 9264 additions & 6571 deletions

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ These are the current imports in AK-ONTOLOGY
2121
| CL | http://purl.obolibrary.org/obo/CL.owl | None |
2222
| DOID | http://purl.obolibrary.org/obo/DOID.owl | None |
2323
| EXO | http://purl.obolibrary.org/obo/EXO.owl | None |
24+
| GAZ | http://purl.obolibrary.org/obo/GAZ.owl | None |
2425
| IAO | http://purl.obolibrary.org/obo/IAO.owl | None |
2526
| OBI | http://purl.obolibrary.org/obo/OBI.owl | None |
2627
| OGMS | http://purl.obolibrary.org/obo/OGMS.owl | None |

src/ontology/Makefile

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# More information: https://github.com/INCATools/ontology-development-kit/
1111

1212
# Fingerprint of the configuration file when this Makefile was last generated
13-
CONFIG_HASH= cdc9b63b8b8955e2b712546db4b77127d976453f51db8b288c6c5790c1404ac5
13+
CONFIG_HASH= 39068016a7a3bd9ee8180df6a20ff316731d4d5dca9057f0ff91b48fdd6cf9de
1414

1515

1616
# ----------------------------------------
@@ -159,7 +159,7 @@ all_main: $(MAIN_FILES)
159159
# ----------------------------------------
160160

161161

162-
IMPORTS = APOLLO_SV BFO CL DOID EXO IAO OBI OGMS OMRSE PATO RO SBO UBERON UO VO
162+
IMPORTS = APOLLO_SV BFO CL DOID EXO GAZ IAO OBI OGMS OMRSE PATO RO SBO UBERON UO VO
163163

164164
IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS))
165165
IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl)
@@ -364,6 +364,13 @@ $(IMPORTDIR)/%_import.owl: $(MIRRORDIR)/%.owl $(IMPORTDIR)/%_terms_combined.txt
364364

365365
.PRECIOUS: $(IMPORTDIR)/%_import.owl
366366

367+
## Module for ontology: GAZ
368+
369+
$(IMPORTDIR)/GAZ_import.owl: $(MIRRORDIR)/GAZ.owl $(IMPORTDIR)/GAZ_terms_combined.txt
370+
if [ $(IMP) = true ] && [ $(IMP_LARGE) = true ]; then $(ROBOT) extract -i $< -T $(IMPORTDIR)/GAZ_terms_combined.txt --force true --copy-ontology-annotations true --individuals include --method BOT \
371+
query --update ../sparql/inject-subset-declaration.ru --update ../sparql/inject-synonymtype-declaration.ru --update ../sparql/postprocess-module.ru \
372+
$(ANNOTATE_CONVERT_FILE); fi
373+
367374

368375
.PHONY: refresh-imports
369376
refresh-imports:
@@ -436,6 +443,19 @@ mirror-EXO: | $(TMPDIR)
436443
$(ROBOT) convert -i $(TMPDIR)/EXO-download.owl -o $(TMPDIR)/$@.owl
437444

438445

446+
## ONTOLOGY: GAZ
447+
.PHONY: mirror-GAZ
448+
.PRECIOUS: $(MIRRORDIR)/GAZ.owl
449+
ifeq ($(strip $(IMP_LARGE)),true)
450+
mirror-GAZ: | $(TMPDIR)
451+
curl -L $(OBOBASE)/GAZ.owl --create-dirs -o $(TMPDIR)/GAZ-download.owl --retry 4 --max-time 200 && \
452+
$(ROBOT) convert -i $(TMPDIR)/GAZ-download.owl -o $(TMPDIR)/$@.owl
453+
else
454+
mirror-GAZ:
455+
@echo "Not refreshing GAZ because refreshing large imports is disabled (IMP_LARGE=$(IMP_LARGE))."
456+
endif
457+
458+
439459
## ONTOLOGY: IAO
440460
.PHONY: mirror-IAO
441461
.PRECIOUS: $(MIRRORDIR)/IAO.owl

src/ontology/ak-ontology-odk.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import_group:
99
- id: CL
1010
- id: DOID
1111
- id: EXO
12-
# - id: GAZ
13-
# is_large: TRUE
12+
- id: GAZ
13+
is_large: TRUE
1414
- id: IAO
1515
# - id: NCBITaxon
1616
# is_large: TRUE

src/ontology/imports/APOLLO_SV_import.owl

Lines changed: 387 additions & 353 deletions
Large diffs are not rendered by default.

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/ak-ontology/imports/BFO_import.owl>
10-
<http://purl.obolibrary.org/obo/ak-ontology/releases/2024-04-26/imports/BFO_import.owl>
10+
<http://purl.obolibrary.org/obo/ak-ontology/releases/2025-07-29/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 "2024-04-26")
12+
Annotation(owl:versionInfo "2025-07-29")
1313

1414
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/IAO_0000116>))
1515
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/contributor>))

src/ontology/imports/CL_import.owl

Lines changed: 36 additions & 1580 deletions
Large diffs are not rendered by default.

src/ontology/imports/DOID_import.owl

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

88

99
Ontology(<http://purl.obolibrary.org/obo/ak-ontology/imports/DOID_import.owl>
10-
<http://purl.obolibrary.org/obo/ak-ontology/releases/2024-04-26/imports/DOID_import.owl>
11-
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/doid/releases/2024-03-28/doid.owl>)
12-
Annotation(owl:versionInfo "2024-04-26")
10+
<http://purl.obolibrary.org/obo/ak-ontology/releases/2025-07-29/imports/DOID_import.owl>
11+
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/doid/releases/2025-06-27/doid.owl>)
12+
Annotation(owl:versionInfo "2025-07-29")
1313

1414
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/IAO_0000115>))
1515
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/IAO_0000700>))
1616
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/description>))
17+
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/language>))
1718
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/source>))
1819
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/title>))
1920
Declaration(AnnotationProperty(<http://purl.org/dc/terms/license>))

src/ontology/imports/EXO_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/ak-ontology/imports/EXO_import.owl>
10-
<http://purl.obolibrary.org/obo/ak-ontology/releases/2024-04-26/imports/EXO_import.owl>
10+
<http://purl.obolibrary.org/obo/ak-ontology/releases/2025-07-29/imports/EXO_import.owl>
1111
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/exo/releases/2022-06-29/exo.owl>)
12-
Annotation(owl:versionInfo "2024-04-26")
12+
Annotation(owl:versionInfo "2025-07-29")
1313

1414
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/description>))
1515
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/source>))

src/ontology/imports/GAZ_terms.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

src/ontology/imports/IAO_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/ak-ontology/imports/IAO_import.owl>
10-
<http://purl.obolibrary.org/obo/ak-ontology/releases/2024-04-26/imports/IAO_import.owl>
10+
<http://purl.obolibrary.org/obo/ak-ontology/releases/2025-07-29/imports/IAO_import.owl>
1111
Annotation(<http://purl.org/dc/elements/1.1/source> <http://purl.obolibrary.org/obo/iao/2022-11-07/iao.owl>)
12-
Annotation(owl:versionInfo "2024-04-26")
12+
Annotation(owl:versionInfo "2025-07-29")
1313

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

0 commit comments

Comments
 (0)