-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from phyloref/add_factpp_as_reasoner
This PR adds a --reasoner command line option which can be used to change reasoners, and adds the FaCT++ 1.5.2 reasoner as an optional reasoner. Since FaCT++ depends on OWL 4.x, it reverts the OWLAPI from 5.0.4 to 4.2.7, which required a few minor code changes. Since FaCT++ uses native libraries (through the Java Native Interface), I've also added a README that explains how to download and set up those libraries.
- Loading branch information
Showing
8 changed files
with
211 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# JNI libraries | ||
*.jnilib | ||
|
||
# Eclipse files | ||
.classpath | ||
.settings/ | ||
bin/ | ||
|
||
# Compiled class file | ||
*.class | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Using FaCT++ with JPhyloRef | ||
|
||
JPhyloRef picks up the latest version of FaCT++ published to a Maven repository | ||
(currently [Factplusplus 1.5.2] on Berkeley BOP), but this doesn't include the | ||
native libraries necessary to make the reasoner work. You will need to download | ||
them separately from the [factplusplus Google Code Archive]. | ||
|
||
When invoking JPhyloRef from the command line, you may need to provide the path | ||
to the native library using the `java.library.path` setting, such as: | ||
|
||
java -Djava.library.path='lib/factplusplus/FaCT++-OSX-v1.5.2/64bit/' -jar target/jphyloref-0.2-SNAPSHOT.jar webserver --reasoner fact++ | ||
|
||
[Factplusplus 1.5.2]: https://mvnrepository.com/artifact/uk.ac.manchester.cs/factplusplus/1.5.2 | ||
[factplusplus Google Code Archive]: https://code.google.com/archive/p/factplusplus/downloads |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.