Skip to content

Commit 62fd05b

Browse files
authored
Merge pull request #13 from BioComputingUP/IDPOv1.0
Push IDPO version (new release)
2 parents b40b5e7 + 618ea86 commit 62fd05b

File tree

11 files changed

+1155
-1493
lines changed

11 files changed

+1155
-1493
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ src/patterns/data/**/*.txt
6666
src/patterns/pattern_owl_seed.txt
6767
src/patterns/all_pattern_terms.txt
6868

69-
# End of ODK-managed rules
69+
# End of ODK-managed rules

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ These are the current imports in IDPO
1717
| Import | URL | Type |
1818
| ------ | --- | ---- |
1919
| ro | http://purl.obolibrary.org/obo/ro.owl | slme |
20-
| go | http://purl.obolibrary.org/obo/go.owl | slme |
2120
| omo | http://purl.obolibrary.org/obo/omo.owl | slme |
21+
| bfo | http://purl.obolibrary.org/obo/bfo.owl | slme |
2222
## Components
2323
Components, in contrast to imports, are considered full members of the ontology. This means that any axiom in a component is also included in the ontology base - which means it is considered _native_ to the ontology. While this sounds complicated, consider this: conceptually, no component should be part of more than one ontology. If that seems to be the case, we are most likely talking about an import. Components are often not needed for ontologies, but there are some use cases:
2424

src/ontology/Makefile

Lines changed: 10 additions & 10 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= 5e5f3480a3ca9b4a1dcb31ef7f894f3562a8568494dd58195ca1e90b4b0d245b
13+
CONFIG_HASH= 85e84f816ca42dc77e6261e6ed6f9b757a7fd91496e00b26a9312398d2e403b9
1414

1515

1616
# ----------------------------------------
@@ -188,7 +188,7 @@ all_main: $(MAIN_FILES)
188188
# ----------------------------------------
189189

190190

191-
IMPORTS = ro go omo
191+
IMPORTS = ro omo bfo
192192

193193
IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS))
194194
IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl)
@@ -463,14 +463,6 @@ mirror-ro: | $(TMPDIR)
463463
$(ROBOT) convert -i $(TMPDIR)/ro-download.owl -o $(TMPDIR)/$@.owl
464464

465465

466-
## ONTOLOGY: go
467-
.PHONY: mirror-go
468-
.PRECIOUS: $(MIRRORDIR)/go.owl
469-
mirror-go: | $(TMPDIR)
470-
curl -L $(OBOBASE)/go.owl --create-dirs -o $(TMPDIR)/go-download.owl --retry 4 --max-time 200 && \
471-
$(ROBOT) convert -i $(TMPDIR)/go-download.owl -o $(TMPDIR)/$@.owl
472-
473-
474466
## ONTOLOGY: omo
475467
.PHONY: mirror-omo
476468
.PRECIOUS: $(MIRRORDIR)/omo.owl
@@ -479,6 +471,14 @@ mirror-omo: | $(TMPDIR)
479471
$(ROBOT) convert -i $(TMPDIR)/omo-download.owl -o $(TMPDIR)/$@.owl
480472

481473

474+
## ONTOLOGY: bfo
475+
.PHONY: mirror-bfo
476+
.PRECIOUS: $(MIRRORDIR)/bfo.owl
477+
mirror-bfo: | $(TMPDIR)
478+
curl -L $(OBOBASE)/bfo.owl --create-dirs -o $(TMPDIR)/bfo-download.owl --retry 4 --max-time 200 && \
479+
$(ROBOT) convert -i $(TMPDIR)/bfo-download.owl -o $(TMPDIR)/$@.owl
480+
481+
482482
$(MIRRORDIR)/%.owl: mirror-% | $(MIRRORDIR)
483483
if [ -f $(TMPDIR)/mirror-$*.owl ]; then if cmp -s $(TMPDIR)/mirror-$*.owl $@ ; then echo "Mirror identical, ignoring."; else echo "Mirrors different, updating." &&\
484484
cp $(TMPDIR)/mirror-$*.owl $@; fi; fi

src/ontology/catalog-v001.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
33
<group id="odk-managed-catalog" prefer="public">
4-
<uri name="http://purl.obolibrary.org/obo/idpo/imports/ro_import.owl" uri="imports/ro_import.owl"/>
5-
<uri name="http://purl.obolibrary.org/obo/idpo/imports/go_import.owl" uri="imports/go_import.owl"/>
6-
<uri name="http://purl.obolibrary.org/obo/idpo/imports/omo_import.owl" uri="imports/omo_import.owl"/>
4+
<uri name="http://purl.obolibrary.org/obo/idpo/imports/ro_import.owl" uri="imports/ro_import.owl" />
5+
<uri name="http://purl.obolibrary.org/obo/idpo/imports/omo_import.owl" uri="imports/omo_import.owl" />
6+
<uri name="http://purl.obolibrary.org/obo/idpo/imports/bfo_import.owl" uri="imports/bfo_import.owl" />
77
</group>
88
</catalog>

0 commit comments

Comments
 (0)