Skip to content

Commit

Permalink
Merge pull request #56 from FlyBase/disallow-inferred-equivs
Browse files Browse the repository at this point in the history
Disallow inferred equivalencies when reasoning.
  • Loading branch information
gouttegd authored Nov 18, 2021
2 parents 128fe93 + 10f1774 commit a73a565
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ all: odkversion all_imports patterns all_main all_subsets sparql_test all_report

.PHONY: test
test: odkversion sparql_test all_reports
$(ROBOT) reason --input $(SRC) --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural --output test.owl && rm test.owl && echo "Success"
$(ROBOT) reason --input $(SRC) --reasoner ELK --equivalent-classes-allowed none --exclude-tautologies structural --output test.owl && rm test.owl && echo "Success"

.PHONY: odkversion
odkversion:
Expand Down Expand Up @@ -498,7 +498,7 @@ $(ONT)-base.owl: $(SRC) $(OTHER_SRC)
# Full: The full artefacts with imports merged, reasoned
$(ONT)-full.owl: $(SRC) $(OTHER_SRC)
$(ROBOT) merge --input $< \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed none --exclude-tautologies structural \
relax \
reduce -r ELK \
$(SHARED_ROBOT_COMMANDS) annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --annotation oboInOwl:date "$(OBODATE)" --output $@.tmp.owl && mv $@.tmp.owl $@
Expand All @@ -513,7 +513,7 @@ $(ONT)-non-classified.owl: $(SRC) $(OTHER_SRC)
$(ONT)-simple.owl: $(SRC) $(OTHER_SRC) $(SIMPLESEED)
$(ROBOT) merge --input $< $(patsubst %, -i %, $(OTHER_SRC)) \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed none --exclude-tautologies structural \
relax \
remove --axioms equivalent \
relax \
Expand Down
4 changes: 2 additions & 2 deletions src/ontology/fbdv-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import_group:
- id: ro
edit_format: obo
robot_java_args: '-Xmx8G'
allow_equivalents: asserted-only
release_date: TRUE
allow_equivalents: none
release_date: TRUE
2 changes: 1 addition & 1 deletion src/ontology/fbdv.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,5 @@ obo_qc_%:
obo_qc: obo_qc_$(ONT).obo obo_qc_$(ONT).owl

flybase_qc: odkversion obo_qc
$(ROBOT) reason --input $(ONT)-full.owl --reasoner ELK --equivalent-classes-allowed asserted-only --output test.owl && rm test.owl && echo "Success"
$(ROBOT) reason --input $(ONT)-full.owl --reasoner ELK --equivalent-classes-allowed none --output test.owl && rm test.owl && echo "Success"

0 comments on commit a73a565

Please sign in to comment.