Reasoner Installation
DL-Learner has the following build-in reasoners:
- Pellet
Additionally, DL-Learner supports using OWLlink for connecting reasoners. To connect to an OWLlink server a reasoner component has to be created like so (with ks
being a KnowledgeSource
object and the OWLlink server running on localhost on port 8080):
OWLAPIReasoner reasoner = new OWLAPIReasoner(ks);
reasoner.setOwlLinkURL("http://localhost:8080");
reasoner.init()
The same result can be achieved using the following configuration snippet:
reasoner.type = "OWL API Reasoner"
reasoner.reasonerTypeString = "owllink"
reasoner.owlLinkURL = "http://localhost:8080"
reasoner.sources = { ks }