Skip to content

Commit 3074ac3

Browse files
author
Anita Caron
authored
Merge pull request #3015 from obophenotype/component-3d-images
Add hra_depiction_3d_images component
2 parents 91bb8d3 + cfa0914 commit 3074ac3

File tree

7 files changed

+1301
-5
lines changed

7 files changed

+1301
-5
lines changed

docs/odk-workflows/RepositoryFileStructure.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ These are the components in UBERON
4343
| in-subset.owl | None |
4444
| hra_subset.owl | None |
4545
| vasculature_class.owl | None |
46+
| hra_depiction_3d_images.owl | None |

src/ontology/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ----------------------------------------
22
# Makefile for uberon
33
# Generated using ontology-development-kit
4-
# ODK Version: v1.4
4+
# ODK Version: v1.4.1
55
# ----------------------------------------
66
# IMPORTANT: DO NOT EDIT THIS FILE. To override default make goals, use uberon.Makefile instead
77

@@ -44,14 +44,14 @@ REPORT_PROFILE_OPTS = --profile $(ROBOT_PROFILE)
4444
OBO_FORMAT_OPTIONS =
4545
SPARQL_VALIDATION_CHECKS = equivalent-classes owldef-self-reference illegal-annotation-property taxon-range orcid-contributor obsolete-replaced_by xrefs-mesh-pattern label-synonym-polysemy
4646
SPARQL_EXPORTS = basic-report
47-
ODK_VERSION_MAKEFILE = v1.4
47+
ODK_VERSION_MAKEFILE = v1.4.1
4848

4949
TODAY ?= $(shell date +%Y-%m-%d)
5050
OBODATE ?= $(shell date +'%d:%m:%Y %H:%M')
5151
VERSION= $(TODAY)
5252
ANNOTATE_ONTOLOGY_VERSION = annotate -V $(ONTBASE)/releases/$(VERSION)/$@ --annotation owl:versionInfo $(VERSION)
5353
ANNOTATE_CONVERT_FILE = annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) convert -f ofn --output $@.tmp.owl && mv $@.tmp.owl $@
54-
OTHER_SRC = $(PATTERNDIR)/definitions.owl $(COMPONENTSDIR)/mappings.owl $(COMPONENTSDIR)/in-subset.owl $(COMPONENTSDIR)/hra_subset.owl $(COMPONENTSDIR)/vasculature_class.owl
54+
OTHER_SRC = $(PATTERNDIR)/definitions.owl $(COMPONENTSDIR)/mappings.owl $(COMPONENTSDIR)/in-subset.owl $(COMPONENTSDIR)/hra_subset.owl $(COMPONENTSDIR)/vasculature_class.owl $(COMPONENTSDIR)/hra_depiction_3d_images.owl
5555
ONTOLOGYTERMS = $(TMPDIR)/ontologyterms.txt
5656
EDIT_PREPROCESSED = $(TMPDIR)/$(ONT)-preprocess.owl
5757
PATTERNDIR= ../patterns
@@ -395,6 +395,7 @@ $(COMPONENTSDIR)/%: | $(COMPONENTSDIR)
395395

396396

397397

398+
398399
# ----------------------------------------
399400
# Mirroring upstream ontologies
400401
# ----------------------------------------

src/ontology/catalog-dynamic.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,5 +146,6 @@
146146
<uri name="http://purl.obolibrary.org/obo/uberon/components/vasculature_class.owl" uri="components/vasculature_class.owl"/>
147147
<uri name="http://purl.obolibrary.org/obo/uberon/components/in-subset.owl" uri="components/in-subset.owl"/>
148148
<uri name="http://purl.obolibrary.org/obo/uberon/components/hra_subset.owl" uri="components/hra_subset.owl"/>
149+
<uri name="http://purl.obolibrary.org/obo/uberon/components/hra_depiction_3d_images.owl" uri="components/hra_depiction_3d_images.owl"/>
149150

150151
</catalog>

src/ontology/components/hra_depiction_3d_images.owl

Lines changed: 1284 additions & 0 deletions
Large diffs are not rendered by default.

src/ontology/uberon-odk.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,5 @@ components:
120120
- filename: mappings.owl
121121
- filename: in-subset.owl
122122
- filename: hra_subset.owl
123-
- filename: vasculature_class.owl
123+
- filename: vasculature_class.owl
124+
- filename: hra_depiction_3d_images.owl

src/ontology/uberon.Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,6 +1793,13 @@ $(TMPDIR)/hra_subset.owl:
17931793
$(COMPONENTSDIR)/hra_subset.owl: $(TMPDIR)/hra_subset.owl
17941794
$(ROBOT) merge -i $< annotate --ontology-iri $(ONTBASE)/$@ --output $@
17951795

1796+
3D_IMAGES_COMP_URL="https://raw.githubusercontent.com/hubmapconsortium/ccf-validation-tools/master/owl/hra_uberon_3d_images.owl"
1797+
$(TMPDIR)/hra_depiction_3d_images.owl:
1798+
wget $(3D_IMAGES_COMP_URL) -O $@
1799+
1800+
$(COMPONENTSDIR)/hra_depiction_3d_images.owl: $(TMPDIR)/hra_depiction_3d_images.owl
1801+
$(ROBOT) merge -i $< annotate --ontology-iri $(ONTBASE)/$@ --output $@
1802+
17961803
# ----------------------------------------
17971804
# DEAD SIMPLE DESIGN PATTERNS
17981805
# ----------------------------------------

src/sparql/illegal-annotation-property-violation.sparql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ SELECT DISTINCT ?annotation WHERE {
7575
<http://www.w3.org/2000/01/rdf-schema#seeAlso>,
7676
<http://www.w3.org/2004/02/skos/core#closeMatch>,
7777
<http://www.w3.org/2002/07/owl#deprecated>,
78-
<http://xmlns.com/foaf/0.1/depicted_by>
78+
<http://xmlns.com/foaf/0.1/depicted_by>,
79+
<http://xmlns.com/foaf/0.1/depiction>
7980
))
8081
FILTER (isIRI(?subj) && STRSTARTS(str(?subj), "http://purl.obolibrary.org/obo/UBERON_"))
8182
}

0 commit comments

Comments
 (0)