|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.core.AbstractComponent
org.dllearner.core.AbstractReasonerComponent
org.dllearner.reasoning.PelletReasoner
public class PelletReasoner
| Field Summary |
|---|
| Fields inherited from class org.dllearner.core.AbstractReasonerComponent |
|---|
logger |
| Constructor Summary | |
|---|---|
PelletReasoner(Set<AbstractKnowledgeSource> sources)
|
|
| Method Summary | |
|---|---|
void |
addProgressMonitor(org.mindswap.pellet.utils.progress.ProgressMonitor monitor)
|
void |
classify()
|
static Collection<ConfigOption<?>> |
createConfigOptions()
|
void |
dematerialise()
|
static void |
exportKBToOWL(File owlOutputFile,
KB kb,
org.semanticweb.owlapi.model.IRI ontologyIRI)
|
String |
getBaseURI()
Returns the base URI of the knowledge base. |
SortedSet<DatatypeProperty> |
getBooleanDatatypePropertiesImpl()
|
com.clarkparsia.modularity.IncrementalClassifier |
getClassifier()
|
Set<Description> |
getComplementClasses(Description desc)
|
PelletReasonerConfigurator |
getConfigurator()
For each component, a configurator class is generated in package org.dllearner.core.configurators using the script { org.dllearner.scripts.ConfigJavaGenerator}. |
Map<Individual,SortedSet<Constant>> |
getDatatypeMembersImpl(DatatypeProperty datatypeProperty)
|
SortedSet<DatatypeProperty> |
getDatatypePropertiesImpl()
|
Description |
getDomainImpl(DatatypeProperty datatypeProperty)
|
Description |
getDomainImpl(ObjectProperty objectProperty)
|
SortedSet<DatatypeProperty> |
getDoubleDatatypePropertiesImpl()
|
Map<Individual,SortedSet<Double>> |
getDoubleValues(DatatypeProperty datatypeProperty)
|
Set<NamedClass> |
getInconsistentClassesImpl()
|
Set<org.semanticweb.owlapi.model.OWLClass> |
getInconsistentOWLClasses()
|
SortedSet<Individual> |
getIndividuals()
Gets all individuals in the knowledge base, e.g. |
SortedSet<Individual> |
getIndividualsImpl(Description concept)
|
SortedSet<Individual> |
getIndividualsImplFast(Description description)
|
SortedSet<Individual> |
getIndividualsImplStandard(Description concept)
|
SortedSet<DatatypeProperty> |
getIntDatatypePropertiesImpl()
|
Set<Constant> |
getLabelImpl(Entity entity)
|
Set<org.semanticweb.owlapi.model.OWLOntology> |
getLoadedOWLAPIOntologies()
|
static String |
getName()
|
Set<NamedClass> |
getNamedClasses()
Gets all named classes in the knowledge base, e.g. |
Set<ObjectProperty> |
getObjectProperties()
Gets all object properties in the knowledge base, e.g. hasChild, isCapitalOf, hasEngine. |
org.semanticweb.owlapi.model.OWLOntology |
getOWLAPIOntologies()
|
org.semanticweb.owlapi.model.OWLDataFactory |
getOWLDataFactory()
|
org.semanticweb.owlapi.model.OWLOntologyManager |
getOWLOntologyManager()
|
Map<String,String> |
getPrefixes()
Returns the prefixes used in the knowledge base, e.g. foaf for foaf: |
Map<Individual,SortedSet<Individual>> |
getPropertyMembersImpl(ObjectProperty atomicRole)
|
Description |
getRangeImpl(ObjectProperty objectProperty)
|
com.clarkparsia.pellet.owlapiv3.PelletReasoner |
getReasoner()
|
ReasonerType |
getReasonerType()
Gets the type of the underlying reasoner. |
Set<Individual> |
getRelatedIndividualsImpl(Individual individual,
ObjectProperty objectProperty)
|
Set<Constant> |
getRelatedValuesImpl(Individual individual,
DatatypeProperty datatypeProperty)
|
SortedSet<DatatypeProperty> |
getStringDatatypePropertiesImpl()
|
Set<NamedClass> |
getTypesImpl(Individual individual)
|
boolean |
hasTypeImpl(Description description,
Individual individual)
|
void |
init()
Method to be called after the component has been configured. |
boolean |
isConsistent()
|
boolean |
isSatisfiable(org.semanticweb.owlapi.model.OWLClassExpression d)
|
boolean |
isSatisfiableImpl()
|
boolean |
isSuperClassOfImpl(Description superConcept,
Description subConcept)
|
void |
loadOntologies()
|
void |
realise()
|
void |
releaseKB()
Call this method to release the knowledge base. |
boolean |
remainsSatisfiableImpl(Axiom axiom)
|
void |
updateCWAOntology(List<org.semanticweb.owlapi.model.OWLOntologyChange> changes)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PelletReasoner(Set<AbstractKnowledgeSource> sources)
| Method Detail |
|---|
public void loadOntologies()
throws URISyntaxException,
org.semanticweb.owlapi.model.OWLOntologyCreationException
URISyntaxException
org.semanticweb.owlapi.model.OWLOntologyCreationExceptionpublic void updateCWAOntology(List<org.semanticweb.owlapi.model.OWLOntologyChange> changes)
public void dematerialise()
public boolean isConsistent()
public ReasonerType getReasonerType()
AbstractReasonerComponent
getReasonerType in class AbstractReasonerComponentpublic void releaseKB()
AbstractReasonerComponent
releaseKB in class AbstractReasonerComponentpublic PelletReasonerConfigurator getConfigurator()
AbstractComponent
getConfigurator in class AbstractComponentpublic static Collection<ConfigOption<?>> createConfigOptions()
public org.semanticweb.owlapi.model.OWLOntologyManager getOWLOntologyManager()
public void init()
throws ComponentInitException
Component
ComponentInitException - This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
rethrow occuring exception as ComponentInitException and
giving an error message as well as the actualy exception by
using the constructor ComponentInitException.ComponentInitException(String, Throwable).public void classify()
public void realise()
public void addProgressMonitor(org.mindswap.pellet.utils.progress.ProgressMonitor monitor)
public String getBaseURI()
BaseReasoner
public SortedSet<Individual> getIndividuals()
BaseReasoner
public Set<NamedClass> getNamedClasses()
BaseReasoner
public Set<ObjectProperty> getObjectProperties()
BaseReasoner
public Map<String,String> getPrefixes()
BaseReasoner
public Set<Description> getComplementClasses(Description desc)
public SortedSet<DatatypeProperty> getDatatypePropertiesImpl()
public boolean isSuperClassOfImpl(Description superConcept,
Description subConcept)
public boolean hasTypeImpl(Description description,
Individual individual)
throws ReasoningMethodUnsupportedException
ReasoningMethodUnsupportedException
public SortedSet<Individual> getIndividualsImpl(Description concept)
throws ReasoningMethodUnsupportedException
ReasoningMethodUnsupportedException
public SortedSet<Individual> getIndividualsImplStandard(Description concept)
throws ReasoningMethodUnsupportedException
ReasoningMethodUnsupportedException
public SortedSet<Individual> getIndividualsImplFast(Description description)
throws ReasoningMethodUnsupportedException
ReasoningMethodUnsupportedExceptionpublic Set<NamedClass> getTypesImpl(Individual individual)
public boolean isSatisfiableImpl()
public Description getDomainImpl(ObjectProperty objectProperty)
public Description getDomainImpl(DatatypeProperty datatypeProperty)
public Description getRangeImpl(ObjectProperty objectProperty)
public Map<Individual,SortedSet<Individual>> getPropertyMembersImpl(ObjectProperty atomicRole)
public Set<Individual> getRelatedIndividualsImpl(Individual individual,
ObjectProperty objectProperty)
public Set<Constant> getRelatedValuesImpl(Individual individual,
DatatypeProperty datatypeProperty)
public Map<Individual,SortedSet<Double>> getDoubleValues(DatatypeProperty datatypeProperty)
public Map<Individual,SortedSet<Constant>> getDatatypeMembersImpl(DatatypeProperty datatypeProperty)
public static void exportKBToOWL(File owlOutputFile,
KB kb,
org.semanticweb.owlapi.model.IRI ontologyIRI)
public SortedSet<DatatypeProperty> getBooleanDatatypePropertiesImpl()
public SortedSet<DatatypeProperty> getDoubleDatatypePropertiesImpl()
public SortedSet<DatatypeProperty> getIntDatatypePropertiesImpl()
public SortedSet<DatatypeProperty> getStringDatatypePropertiesImpl()
public org.semanticweb.owlapi.model.OWLOntology getOWLAPIOntologies()
public Set<NamedClass> getInconsistentClassesImpl()
public Set<org.semanticweb.owlapi.model.OWLClass> getInconsistentOWLClasses()
public Set<Constant> getLabelImpl(Entity entity)
public boolean remainsSatisfiableImpl(Axiom axiom)
public com.clarkparsia.pellet.owlapiv3.PelletReasoner getReasoner()
public com.clarkparsia.modularity.IncrementalClassifier getClassifier()
public Set<org.semanticweb.owlapi.model.OWLOntology> getLoadedOWLAPIOntologies()
public org.semanticweb.owlapi.model.OWLDataFactory getOWLDataFactory()
public boolean isSatisfiable(org.semanticweb.owlapi.model.OWLClassExpression d)
public static String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||