Skip to content

Commit

Permalink
added allow_equivalents: all as per #3
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed May 26, 2022
1 parent 9ef0261 commit 2bdc217
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ all: odkversion test all_assets

.PHONY: test
test: odkversion sparql_test robot_reports $(REPORTDIR)/validate_profile_owl2dl_$(ONT).owl.txt
$(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 all --exclude-tautologies structural --output test.owl && rm test.owl && echo "Success"

.PHONY: odkversion
odkversion:
Expand Down Expand Up @@ -516,7 +516,7 @@ $(ONT)-base.owl: $(SRC) $(OTHER_SRC)
# Full: The full artefacts with imports merged, reasoned
$(ONT)-full.owl: $(SRC) $(OTHER_SRC) $(IMPORT_FILES)
$(ROBOT) merge --input $< \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed all --exclude-tautologies structural \
relax \
reduce -r ELK \
$(SHARED_ROBOT_COMMANDS) annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --output $@.tmp.owl && mv $@.tmp.owl $@
Expand Down
1 change: 1 addition & 0 deletions src/ontology/bero-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export_formats:
- owl
- obo
- json
allow_equivalents: all
import_group:
module_type: mirror
products:
Expand Down
2 changes: 1 addition & 1 deletion src/ontology/bero.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MESH_TERMS_FILE = imports/mesh_terms.txt

$(ONT)-full.owl: $(SRC) $(OTHER_SRC) $(IMPORT_FILES)
$(ROBOT) merge --input $< $(patsubst %, -i %, $(OTHER_SRC)) $(patsubst %, -i %, $(IMPORT_FILES)) \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed all --exclude-tautologies structural \
relax \
reduce -r ELK \
$(SHARED_ROBOT_COMMANDS) annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --output $@.tmp.owl && mv $@.tmp.owl $@
Expand Down

0 comments on commit 2bdc217

Please sign in to comment.