|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OWLReasonerBase
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Oct-2006
The base interface for OWL reasoner. This interface allows the
ontology that should be reasoned over to be set.
Method Summary | |
---|---|
void |
classify()
Asks the reasoner to classify the ontology. |
void |
clearOntologies()
Clears the reasoner. |
void |
dispose()
Disposes of and cleans up any resources used by this reasoner. |
java.util.Set<OWLOntology> |
getLoadedOntologies()
Gets the ontologies that have been loaded into this reasoner. |
boolean |
isClassified()
Determines if the reasoner has classified the ontology. |
boolean |
isDefined(OWLClass cls)
Determines if the specified class is defined in the reasoner. |
boolean |
isDefined(OWLDataProperty prop)
Determines if the specified property is defined in the reasoner. |
boolean |
isDefined(OWLIndividual ind)
Determines if the specified individual is defined in the reasoner. |
boolean |
isDefined(OWLObjectProperty prop)
Determines if the specified property is defined in the reasoner. |
boolean |
isRealised()
Determines if the types of individuals have been computed by this reasoner (if supported). |
void |
loadOntologies(java.util.Set<OWLOntology> ontologies)
Loads the specified ontologies. |
void |
realise()
Asks the reasoner to compute the types of individuals (if supported). |
void |
unloadOntologies(java.util.Set<OWLOntology> ontologies)
Unloads the specified ontologies from this reasoner. |
Method Detail |
---|
void loadOntologies(java.util.Set<OWLOntology> ontologies) throws OWLReasonerException
ontologies
- The ontolgies to be loaded.
OWLReasonerException
boolean isClassified() throws OWLReasonerException
true
if the ontology has been classified,
or false
if the ontology has not been classified.
OWLReasonerException
void classify() throws OWLReasonerException
OWLReasonerException
boolean isRealised() throws OWLReasonerException
true
is the types of individuals have been computed,
otherwise false
.
OWLReasonerException
void realise() throws OWLReasonerException
OWLReasonerException
boolean isDefined(OWLClass cls) throws OWLReasonerException
cls
- The class to check for.
true
if the class is defined in the
reasoner, or false
if the class is not defined
in the reasoner.
OWLReasonerException
boolean isDefined(OWLObjectProperty prop) throws OWLReasonerException
prop
- The property to check for.
true
if the property is defined in the
reasoner, or false
if the property is not defined
in the reasoner.
OWLReasonerException
boolean isDefined(OWLDataProperty prop) throws OWLReasonerException
prop
- The property to check for.
true
if the property is defined in the
reasoner, or false
if the property is not defined
in the reasoner.
OWLReasonerException
boolean isDefined(OWLIndividual ind) throws OWLReasonerException
ind
- The individual to check for.
true
if the individual is defined in the
reasoner, or false
if the individual is not defined
in the reasoner.
OWLReasonerException
java.util.Set<OWLOntology> getLoadedOntologies()
void unloadOntologies(java.util.Set<OWLOntology> ontologies) throws OWLReasonerException
ontologies
- The ontologies to be unloaded.
OWLReasonerException
void clearOntologies() throws OWLReasonerException
OWLReasonerException
void dispose() throws OWLReasonerException
OWLReasonerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |