Package | Description |
---|---|
org.dllearner.server |
This package implements the DL-Learner web service.
|
Modifier and Type | Method and Description |
---|---|
int |
DLLearnerWS.addKnowledgeSource(int id,
String component,
String url)
Adds a knowledge source.
|
void |
DLLearnerWS.applyConfigEntryBoolean(int sessionID,
int componentID,
String optionName,
Boolean value) |
void |
DLLearnerWS.applyConfigEntryInt(int sessionID,
int componentID,
String optionName,
Integer value) |
void |
DLLearnerWS.applyConfigEntryString(int sessionID,
int componentID,
String optionName,
String value) |
void |
DLLearnerWS.applyConfigEntryStringArray(int sessionID,
int componentID,
String optionName,
String[] value) |
void |
DLLearnerWS.applyConfigEntryStringTupleList(int sessionID,
int componentID,
String optionName,
String[] keys,
String[] values) |
void |
DLLearnerWS.applyConfigEntryURL(int sessionID,
int componentID,
String optionName,
String value) |
String |
DLLearnerWS.getAsJSON(int sessionID,
int queryID) |
String |
DLLearnerWS.getAsXMLString(int sessionID,
int queryID) |
String[] |
DLLearnerWS.getAtomicConcepts(int id) |
String[] |
DLLearnerWS.getAtomicRoles(int id) |
int[] |
DLLearnerWS.getConceptArity(int id,
int nrOfConcepts) |
int[] |
DLLearnerWS.getConceptDepth(int id,
int nrOfConcepts) |
Boolean |
DLLearnerWS.getConfigOptionValueBoolean(int sessionID,
int componentID,
String optionName) |
Double |
DLLearnerWS.getConfigOptionValueDouble(int sessionID,
int componentID,
String optionName) |
Integer |
DLLearnerWS.getConfigOptionValueInt(int sessionID,
int componentID,
String optionName) |
String |
DLLearnerWS.getConfigOptionValueString(int sessionID,
int componentID,
String optionName) |
String[] |
DLLearnerWS.getConfigOptionValueStringArray(int sessionID,
int componentID,
String optionName) |
String |
DLLearnerWS.getConfigOptionValueURL(int sessionID,
int componentID,
String optionName) |
String |
DLLearnerWS.getCurrentlyBestConcept(int id) |
String[] |
DLLearnerWS.getCurrentlyBestConcepts(int id,
int nrOfConcepts,
String format) |
String |
DLLearnerWS.getCurrentlyBestEvaluatedDescriptions(int id,
int limit) |
String |
DLLearnerWS.getCurrentlyBestEvaluatedDescriptionsFiltered(int id,
int nrOfDescriptions,
double accuracyThreshold,
boolean filterNonMinimalDescriptions) |
String[] |
DLLearnerWS.getIndividualsForARole(int id,
String role) |
String[] |
DLLearnerWS.getInstances(int id) |
String[] |
DLLearnerWS.getNegativeExamples(int sessionID,
int componentID,
String[] positives,
int results,
String namespace,
String[] filterClasses) |
String |
DLLearnerWS.getSubsumptionHierarchy(int id) |
void |
DLLearnerWS.init(int id,
int componentID)
Initialise the specified component.
|
void |
DLLearnerWS.initAll(int id)
Initialise all components.
|
boolean |
DLLearnerWS.isAlgorithmRunning(int id) |
boolean |
DLLearnerWS.isSparqlQueryRunning(int sessionID,
int queryID) |
String |
DLLearnerWS.learn(int id,
String format)
Starts the learning algorithm and returns the best concept found.
|
String |
DLLearnerWS.learnDescriptionsEvaluated(int id)
Returns a list of JSON encoded description including extra information
(which partially depends on the learning problem) such as the accuracy
of the learned description.
|
String |
DLLearnerWS.learnDescriptionsEvaluatedLimit(int id,
int limit)
Returns a list of JSON encoded description including extra information
(which partially depends on the learning problem) such as the accuracy
of the learned description.
|
void |
DLLearnerWS.learnThreaded(int id)
Starts the learning algorithm and returns immediately.
|
void |
DLLearnerWS.removeKnowledgeSource(int id,
int componentID)
Removes a knowledge source.
|
String[] |
DLLearnerWS.retrieval(int id,
String conceptString) |
int |
DLLearnerWS.setLearningAlgorithm(int id,
String component)
Sets the learning algorithm to use.
|
int |
DLLearnerWS.setLearningProblem(int id,
String component)
Sets the learning problem to use.
|
void |
DLLearnerWS.setNegativeExamples(int id,
String[] negativeExamples) |
void |
DLLearnerWS.setPositiveExamples(int id,
String[] positiveExamples) |
int |
DLLearnerWS.setReasoner(int id,
String component)
Sets the reasoner to use.
|
String |
DLLearnerWS.sparqlQuery(int sessionID,
int componentID,
String query) |
int |
DLLearnerWS.sparqlQueryThreaded(int sessionID,
int componentID,
String query) |
void |
DLLearnerWS.stop(int id)
Stops the learning algorithm smoothly.
|
void |
DLLearnerWS.stopSparqlThread(int sessionID,
int queryID) |
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann