public class WEKAOntologyConnector extends java.lang.Object implements IOntologyConnector
| Constructor and Description |
|---|
WEKAOntologyConnector()
Creates an ontology connector using the standard ontology.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getAncestorsOfAlgorithmUntil(java.lang.String algorithm,
java.lang.String until)
Get the list of ancestors from most general to most specific concept up until
the specified concept including the specified child and highest concept.
|
java.util.List<java.lang.String> |
getAncestorsOfClassifier(java.lang.String classifierName)
Gets the ancestor concepts of this classifier including the classifier itself
from most general to most specific concept.
|
java.util.List<java.lang.String> |
getAncestorsOfEvaluator(java.lang.String evaluator)
Gets the ancestor concepts of this evaluator algorithm (for attribute
selection) including the evaluator itself from most general to most specific
concept.
|
java.util.List<java.lang.String> |
getAncestorsOfSearcher(java.lang.String searcher)
Gets the ancestor concepts of this searcher algorithm (for attribute
selection) including the searcher itself from most general to most specific
concept.
|
java.util.List<java.lang.String> |
getAvailableClassifiers()
Get the fully qualified names of WEKA classifiers that this ontology
connector can be queried for.
|
java.util.List<java.lang.String> |
getAvailableEvaluators()
Get the fully qualified names of WEKA ASEvaluation algorithms that this
ontology can be queried for.
|
java.util.List<java.lang.String> |
getAvailableSearchers()
Get the fully qualified names of WEKA ASSearch algorithms that this ontology
can be queried for.
|
java.lang.String |
getClassifierTopNode()
Get the highest common node in the ontology for all classifiers
|
java.lang.String |
getEvaluatorTopNode()
Get the highest common node in the ontology for all evaluators
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology()
Get the ontology this connector uses.
|
java.lang.String |
getSearcherTopNode()
Get the highest common node in the ontology for all searchers
|
static void |
main(java.lang.String[] args) |
public WEKAOntologyConnector()
throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationException - If the ontology cannot be createdpublic java.util.List<java.lang.String> getAncestorsOfClassifier(java.lang.String classifierName)
IOntologyConnectorgetAncestorsOfClassifier in interface IOntologyConnectorclassifierName - The classifier for which to get the ancestorspublic java.util.List<java.lang.String> getAncestorsOfSearcher(java.lang.String searcher)
IOntologyConnectorgetAncestorsOfSearcher in interface IOntologyConnectorsearcher - The searcher for which to get the ancestorspublic java.util.List<java.lang.String> getAncestorsOfEvaluator(java.lang.String evaluator)
IOntologyConnectorgetAncestorsOfEvaluator in interface IOntologyConnectorevaluator - The evaluator for which to get the ancestorsprotected java.util.List<java.lang.String> getAncestorsOfAlgorithmUntil(java.lang.String algorithm,
java.lang.String until)
algorithm - The child algorithmuntil - The highest ancestorpublic org.semanticweb.owlapi.model.OWLOntology getOntology()
public java.util.List<java.lang.String> getAvailableClassifiers()
public java.util.List<java.lang.String> getAvailableSearchers()
public java.util.List<java.lang.String> getAvailableEvaluators()
public static void main(java.lang.String[] args)
throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationExceptionpublic java.lang.String getClassifierTopNode()
public java.lang.String getSearcherTopNode()
public java.lang.String getEvaluatorTopNode()