Skip to content

Commit ee0311c

Browse files
authored
Merge pull request #265 from ApolloDev/issue258
removed obsolated UBERON class life-death temporal boundary. To do so… Double checked build on second machine.
2 parents dc11d42 + 34e84c5 commit ee0311c

File tree

11 files changed

+408
-30338
lines changed

11 files changed

+408
-30338
lines changed

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ These are the current imports in APOLLO_SV
2525
| omrse | http://purl.obolibrary.org/obo/omrse.owl | slme |
2626
| dron | http://purl.obolibrary.org/obo/dron.owl | filter |
2727
| ogms | http://purl.obolibrary.org/obo/ogms.owl | filter |
28+
| uberon | http://purl.obolibrary.org/obo/uberon.owl | filter |
2829
## Components
2930
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:
3031

src/ontology/Makefile

Lines changed: 10 additions & 2 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= f10687d13b9fb4d82c6a832e60b296d76dadc31432fe22bb1f06ab3cc66d4a02
19+
CONFIG_HASH= 0625a31aff99dcab0d48bca6e3dddd2614c7f65055668a9ae139332d9e4f5f5f
2020

2121

2222
# ----------------------------------------
@@ -193,7 +193,7 @@ all_main: $(MAIN_FILES)
193193
# ----------------------------------------
194194

195195

196-
IMPORTS = ro geo ido mf go iao omrse dron ogms
196+
IMPORTS = ro geo ido mf go iao omrse dron ogms uberon
197197

198198
IMPORT_ROOTS = $(patsubst %, $(IMPORTDIR)/%_import, $(IMPORTS))
199199
IMPORT_OWL_FILES = $(foreach n,$(IMPORT_ROOTS), $(n).owl)
@@ -647,6 +647,14 @@ mirror-ogms: | $(TMPDIR)
647647
$(ROBOT) remove -i $(TMPDIR)/ogms-download.owl --base-iri http://purl.obolibrary.org/obo/OGMS_ --axioms external --preserve-structure false --trim false -o $(TMPDIR)/$@.owl
648648

649649

650+
## ONTOLOGY: uberon
651+
.PHONY: mirror-uberon
652+
.PRECIOUS: $(MIRRORDIR)/uberon.owl
653+
mirror-uberon: | $(TMPDIR)
654+
curl -L $(OBOBASE)/uberon.owl --create-dirs -o $(TMPDIR)/uberon-download.owl --retry 4 --max-time 200 && \
655+
$(ROBOT) remove -i $(TMPDIR)/uberon-download.owl --base-iri http://purl.obolibrary.org/obo/UBERON_ --axioms external --preserve-structure false --trim false -o $(TMPDIR)/$@.owl
656+
657+
650658
$(MIRRORDIR)/%.owl: mirror-% | $(MIRRORDIR)
651659
if [ -f $(TMPDIR)/mirror-$*.owl ]; then if cmp -s $(TMPDIR)/mirror-$*.owl $@ ; then echo "Mirror identical, ignoring."; else echo "Mirrors different, updating." &&\
652660
cp $(TMPDIR)/mirror-$*.owl $@; fi; fi

src/ontology/apollo-sv.owl

Lines changed: 0 additions & 30071 deletions
This file was deleted.

src/ontology/apollo_sv-edit.owl

Lines changed: 10 additions & 230 deletions
Large diffs are not rendered by default.

src/ontology/apollo_sv-odk.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ import_group:
5050
make_base: true
5151
base_iris:
5252
- http://purl.obolibrary.org/obo/OGMS_
53+
- id: uberon
54+
module_type: filter
55+
make_base: true
56+
base_iris:
57+
- http://purl.obolibrary.org/obo/UBERON_
5358
use_custom_import_module: TRUE
5459
robot_java_args: '-Xmx16G'
5560
custom_makefile_header: |

src/ontology/catalog-v001.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<uri name="http://purl.obolibrary.org/obo/apollo_sv/imports/omrse_import.owl" uri="imports/omrse_import.owl" />
1111
<uri name="http://purl.obolibrary.org/obo/apollo_sv/imports/dron_import.owl" uri="imports/dron_import.owl" />
1212
<uri name="http://purl.obolibrary.org/obo/apollo_sv/imports/ogms_import.owl" uri="imports/ogms_import.owl" />
13+
<uri name="http://purl.obolibrary.org/obo/apollo_sv/imports/uberon_import.owl" uri="imports/uberon_import.owl" />
1314
</group>
1415
<group id="Folder Repository, directory=, recursive=false, Auto-Update=false, version=2" prefer="public">
1516
<uri name="http://purl.obolibrary.org/obo/apollo_sv/imports/ro_import.obo" uri="imports/ro_import.obo" />

src/ontology/imports/ido_import.owl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000045>))
9696
Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000063>))
9797
Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000087>))
9898
Declaration(Class(<http://purl.obolibrary.org/obo/TRANS_0000000>))
99-
Declaration(Class(<http://purl.obolibrary.org/obo/UBERON_0035944>))
10099
Declaration(Class(<http://www.geneontology.org/formats/oboInOwl#ObsoleteClass>))
101100
Declaration(Class(<http://www.geneontology.org/formats/oboInOwl#Subset>))
102101
Declaration(ObjectProperty(<http://purl.obolibrary.org/obo/BFO_0000050>))
@@ -1635,13 +1634,6 @@ AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000412> <http://purl.ob
16351634
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/TRANS_0000000> "transmission process")
16361635
SubClassOf(<http://purl.obolibrary.org/obo/TRANS_0000000> <http://purl.obolibrary.org/obo/BFO_0000015>)
16371636

1638-
# Class: <http://purl.obolibrary.org/obo/UBERON_0035944> (life-death temporal boundary)
1639-
1640-
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000115> <http://purl.obolibrary.org/obo/UBERON_0035944> "A life cycle temporal boundary that marks the end of the life cycle of the organism.")
1641-
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000412> <http://purl.obolibrary.org/obo/UBERON_0035944> <http://purl.obolibrary.org/obo/uberon.owl>)
1642-
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/UBERON_0035944> "life-death temporal boundary")
1643-
SubClassOf(<http://purl.obolibrary.org/obo/UBERON_0035944> <http://purl.obolibrary.org/obo/BFO_0000015>)
1644-
16451637
# Class: <http://www.geneontology.org/formats/oboInOwl#ObsoleteClass> (Obsolete Class)
16461638

16471639
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#ObsoleteClass> "Obsolete Class")

src/ontology/imports/omrse_import.owl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Declaration(Class(<http://purl.obolibrary.org/obo/NCBITaxon_9443>))
6464
Declaration(Class(<http://purl.obolibrary.org/obo/NCBITaxon_9606>))
6565
Declaration(Class(<http://purl.obolibrary.org/obo/OBI_0000245>))
6666
Declaration(Class(<http://purl.obolibrary.org/obo/OBI_0200000>))
67-
Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000045>))
6867
Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000096>))
6968
Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000097>))
7069
Declaration(Class(<http://purl.obolibrary.org/obo/OGMS_0000100>))
@@ -2555,15 +2554,6 @@ AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000119> <http://purl.ob
25552554
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/OBI_0200000> "data transformation"@en)
25562555
SubClassOf(<http://purl.obolibrary.org/obo/OBI_0200000> <http://purl.obolibrary.org/obo/COB_0000035>)
25572556

2558-
# Class: <http://purl.obolibrary.org/obo/OGMS_0000045> (disorder)
2559-
2560-
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000115> <http://purl.obolibrary.org/obo/OGMS_0000045> "A material entity which is clinically abnormal and part of an extended organism. Disorders are the physical basis of disease."@en)
2561-
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000117> <http://purl.obolibrary.org/obo/OGMS_0000045> "Albert Goldfain")
2562-
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000119> <http://purl.obolibrary.org/obo/OGMS_0000045> "http://ontology.buffalo.edu/medo/Disease_and_Diagnosis.pdf")
2563-
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000232> <http://purl.obolibrary.org/obo/OGMS_0000045> "creation date: 2009-06-23T11:39:44Z")
2564-
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/OGMS_0000045> "disorder")
2565-
SubClassOf(<http://purl.obolibrary.org/obo/OGMS_0000045> <http://purl.obolibrary.org/obo/BFO_0000040>)
2566-
25672557
# Class: <http://purl.obolibrary.org/obo/OGMS_0000096> (health care process)
25682558

25692559
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000115> <http://purl.obolibrary.org/obo/OGMS_0000096> "A planned process with the objective to improve the health status of a patient that directly involves the treatment, diagnosis, or prevention of disease or injury of a patient"@en)

src/ontology/imports/ro_import.owl

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Declaration(Class(<http://purl.obolibrary.org/obo/PATO_0000001>))
3636
Declaration(Class(<http://purl.obolibrary.org/obo/UBERON_0000061>))
3737
Declaration(Class(<http://purl.obolibrary.org/obo/UBERON_0000465>))
3838
Declaration(Class(<http://purl.obolibrary.org/obo/UBERON_0001062>))
39-
Declaration(Class(<http://purl.obolibrary.org/obo/UBERON_0010000>))
4039
Declaration(ObjectProperty(<http://purl.obolibrary.org/obo/BFO_0000050>))
4140
Declaration(ObjectProperty(<http://purl.obolibrary.org/obo/BFO_0000051>))
4241
Declaration(ObjectProperty(<http://purl.obolibrary.org/obo/BFO_0000054>))
@@ -211,9 +210,7 @@ Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#commo
211210
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#human_reference_atlas>))
212211
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#human_subset>))
213212
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#mouse_subset>))
214-
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#uberon_slim>))
215213
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#upper_level>))
216-
Declaration(AnnotationProperty(<http://purl.obolibrary.org/obo/uberon/core#vertebrate_core>))
217214
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/contributor>))
218215
Declaration(AnnotationProperty(<http://purl.org/dc/elements/1.1/source>))
219216
Declaration(AnnotationProperty(<http://purl.org/dc/terms/contributor>))
@@ -450,7 +447,7 @@ AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000117> <http://www.gen
450447
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym> "has broad synonym"@en)
451448
AnnotationAssertion(rdfs:label <http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym> "has_broad_synonym")
452449

453-
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasDbXref> (database_cross_reference)
450+
# Annotation Property: <http://www.geneontology.org/formats/oboInOwl#hasDbXref> (has cross-reference)
454451

455452
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000112> <http://www.geneontology.org/formats/oboInOwl#hasDbXref> "disease characteristic (MONDO:0021125) has cross-reference (http://www.geneontology.org/formats/oboInOwl#hasDbXref) \"NCIT:C41009\"^^xsd:string")
456453
AnnotationAssertion(<http://purl.obolibrary.org/obo/IAO_0000115> <http://www.geneontology.org/formats/oboInOwl#hasDbXref> "An annotation property that links an ontology entity or a statement to a prefixed identifier or URI.")
@@ -2249,19 +2246,6 @@ AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/UBERON_0001062> "
22492246
EquivalentClasses(<http://purl.obolibrary.org/obo/UBERON_0001062> ObjectHasSelf(<http://purl.obolibrary.org/obo/RO_0020105>))
22502247
SubClassOf(<http://purl.obolibrary.org/obo/UBERON_0001062> <http://purl.obolibrary.org/obo/BFO_0000004>)
22512248

2252-
# Class: <http://purl.obolibrary.org/obo/UBERON_0010000> (multicellular anatomical structure)
2253-
2254-
AnnotationAssertion(Annotation(<http://www.geneontology.org/formats/oboInOwl#hasDbXref> "CARO:0010000") <http://purl.obolibrary.org/obo/IAO_0000115> <http://purl.obolibrary.org/obo/UBERON_0010000> "An anatomical structure that has more than one cell as a part.")
2255-
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#hasDbXref> <http://purl.obolibrary.org/obo/UBERON_0010000> "CARO:0010000")
2256-
AnnotationAssertion(Annotation(<http://www.geneontology.org/formats/oboInOwl#hasDbXref> "FBbt:00100313") <http://www.geneontology.org/formats/oboInOwl#hasExactSynonym> <http://purl.obolibrary.org/obo/UBERON_0010000> "multicellular structure")
2257-
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#id> <http://purl.obolibrary.org/obo/UBERON_0010000> "UBERON:0010000")
2258-
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#inSubset> <http://purl.obolibrary.org/obo/UBERON_0010000> <http://purl.obolibrary.org/obo/uberon/core#common_anatomy>)
2259-
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#inSubset> <http://purl.obolibrary.org/obo/UBERON_0010000> <http://purl.obolibrary.org/obo/uberon/core#human_subset>)
2260-
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#inSubset> <http://purl.obolibrary.org/obo/UBERON_0010000> <http://purl.obolibrary.org/obo/uberon/core#mouse_subset>)
2261-
AnnotationAssertion(<http://www.geneontology.org/formats/oboInOwl#inSubset> <http://purl.obolibrary.org/obo/UBERON_0010000> <http://purl.obolibrary.org/obo/uberon/core#upper_level>)
2262-
AnnotationAssertion(rdfs:label <http://purl.obolibrary.org/obo/UBERON_0010000> "multicellular anatomical structure")
2263-
SubClassOf(<http://purl.obolibrary.org/obo/UBERON_0010000> <http://purl.obolibrary.org/obo/UBERON_0000061>)
2264-
22652249

22662250
############################
22672251
# Named Individuals

0 commit comments

Comments
 (0)