Skip to content

Commit

Permalink
Switch to WHELK reasoner.
Browse files Browse the repository at this point in the history
The WHELK reasoner is required to benefit from some recently added
property chains to RO.
  • Loading branch information
gouttegd committed Nov 4, 2024
1 parent 1708ad1 commit 6a8034f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/ontology/cl-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ pattern_pipelines_group:
matches:
- id: matches
robot_java_args: '-Xmx16G'
reasoner: WHELK
allow_equivalents: asserted-only
robot_report:
release_reports: False
Expand Down
6 changes: 3 additions & 3 deletions src/ontology/cl.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ $(EDIT_PREPROCESSED): $(SRC) all_robot_plugins
cl-plus.owl: $(ONT)-full.owl
$(ROBOT) merge -i $< -I $(OBOBASE)/pcl/pcl-base.owl \
unmerge -I $(OBOBASE)/ncbitaxon/subsets/taxslim-disjoint-over-in-taxon.owl \
reason --reasoner ELK --equivalent-classes-allowed asserted-only \
reason --reasoner WHELK --equivalent-classes-allowed asserted-only \
--exclude-tautologies structural \
relax \
reduce --reasoner ELK \
reduce --reasoner WHELK \
$(SHARED_ROBOT_COMMANDS) \
annotate --ontology-iri $(ONTBASE)/$@ \
$(ANNOTATE_ONTOLOGY_VERSION) --output $@
Expand Down Expand Up @@ -148,7 +148,7 @@ $(TMPDIR)/taxslim-disjoint-over-in-taxon.owl:
$(REPORTDIR)/taxon-constraint-check.txt: $(EDIT_PREPROCESSED) $(TMPDIR)/taxslim-disjoint-over-in-taxon.owl
$(ROBOT) merge $(foreach src,$^,-i $(src)) \
expand -o $(TMPDIR)/cl-plus-taxon-disjoints.ofn \
reason -r ELK > $@
reason -r WHELK > $@

# Include the TC check in the routine tests
test: $(REPORTDIR)/taxon-constraint-check.txt
Expand Down

0 comments on commit 6a8034f

Please sign in to comment.