Skip to content

Commit

Permalink
Merging in develops from chain is component
Browse files Browse the repository at this point in the history
see #2381
  • Loading branch information
matentzn committed Apr 5, 2022
1 parent dc5c6d2 commit 2a9b515
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/ontology/components/develops-from-chains.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Prefix(:=<http://purl.obolibrary.org/obo/uberon/core.owl#>)
Prefix(owl:=<http://www.w3.org/2002/07/owl#>)
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Prefix(xml:=<http://www.w3.org/XML/1998/namespace>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)


Ontology(<http://purl.obolibrary.org/obo/uberon/components/develops-from-chains.owl>

SubObjectPropertyOf(ObjectPropertyChain(<http://purl.obolibrary.org/obo/BFO_0000050> <http://purl.obolibrary.org/obo/RO_0002202>) <http://purl.obolibrary.org/obo/RO_0002202>)

)
6 changes: 5 additions & 1 deletion src/ontology/uberon.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,16 @@ $(TMPDIR)/is_ok: $(TMPDIR)/materialized.owl
## **Hacking_Feb_2022** TODO - rewrite as as expansions from annotation axioms using SPARQL. Expanded axioms --> component (as for taxon restrictions).

TMP_REFL=$(COMPONENTSDIR)/reflexivity_axioms.owl
DEVELOPS_FROM_CHAIN=$(COMPONENTSDIR)/develops-from-chains.owl
# see https://github.com/obophenotype/uberon/issues/2381

$(TMPDIR)/materialized.owl: $(TMPDIR)/unreasoned.owl $(TMP_REFL)
$(ROBOT) merge -i $< --collapse-import-closure false \
$(ROBOT) merge -i $< -i $(DEVELOPS_FROM_CHAIN) --collapse-import-closure false \
relax \
materialize -T $(CONFIGDIR)/basic_properties.txt -r elk \
reason -r elk --exclude-duplicate-axioms true --equivalent-classes-allowed asserted-only \
unmerge -i $(TMP_REFL) \
unmerge -i $(DEVELOPS_FROM_CHAIN) \
annotate -O $(URIBASE)/uberon/materialized.owl -V $(RELEASE)/materialized.owl -o $@ 2>&1 > $@.LOG
.PRECIOUS: $(TMPDIR)/materialized.owl

Expand Down

0 comments on commit 2a9b515

Please sign in to comment.