|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.man.cs.img.owl.inference.dl.SimpleOWLTaxonomyReasoner
A Taxonomy reasoner that relies on a DIG reasoner to do its reasoning.
| Constructor Summary | |
SimpleOWLTaxonomyReasoner(uk.ac.man.cs.img.dig.reasoner.Reasoner digReasoner)
Create a new reasoning object. |
|
| Method Summary | |
Set |
ancestorClassesOf(OWLClass cl)
Returns the collection of all superclasses of the given class. |
Set |
descendantClassesOf(OWLClass cl)
Returns the collection of all subclasses of the given class. |
Set |
equivalentClassesOf(OWLClass cl)
Returns the collection of (named) classes which are equivalent to the given class. |
OWLOntology |
getOntology()
Get the ontology that this reasoner reasons over |
static void |
main(String[] args)
|
void |
setOntology(OWLOntology onto)
Set the ontology that the reasoner knows about. |
Set |
subClassesOf(OWLClass cl)
Returns the collection of (named) most general subclasses of the given description. |
Set |
superClassesOf(OWLClass cl)
Returns the collection of (named) most specific superclasses of the given description. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleOWLTaxonomyReasoner(uk.ac.man.cs.img.dig.reasoner.Reasoner digReasoner)
throws OWLException
digReasoner - a Reasoner value| Method Detail |
public void setOntology(OWLOntology onto)
throws OWLException
setOntology in interface OWLReasonerOWLExceptionpublic OWLOntology getOntology()
OWLReasoner
getOntology in interface OWLReasoner
public Set superClassesOf(OWLClass cl)
throws OWLException
superClassesOf in interface OWLTaxonomyReasonerOWLException
public Set subClassesOf(OWLClass cl)
throws OWLException
subClassesOf in interface OWLTaxonomyReasonerOWLException
public Set ancestorClassesOf(OWLClass cl)
throws OWLException
OWLTaxonomyReasoner
ancestorClassesOf in interface OWLTaxonomyReasonerOWLException
public Set descendantClassesOf(OWLClass cl)
throws OWLException
OWLTaxonomyReasoner
descendantClassesOf in interface OWLTaxonomyReasonerOWLException
public Set equivalentClassesOf(OWLClass cl)
throws OWLException
OWLTaxonomyReasoner
equivalentClassesOf in interface OWLTaxonomyReasonerOWLExceptionpublic static void main(String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||