|
|||||||||
| 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.ProtegeReasoner
public class ProtegeReasoner
| Field Summary |
|---|
| Fields inherited from class org.dllearner.core.AbstractReasonerComponent |
|---|
logger |
| Constructor Summary | |
|---|---|
ProtegeReasoner(Set<AbstractKnowledgeSource> sources)
|
|
ProtegeReasoner(Set<AbstractKnowledgeSource> sources,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
|
|
| Method Summary | |
|---|---|
static Collection<ConfigOption<?>> |
createConfigOptions()
|
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()
|
Set<Description> |
getComplementClasses(Description desc)
|
ProtegeReasonerConfigurator |
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)
|
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 |
releaseKB()
Call this method to release the knowledge base. |
boolean |
remainsSatisfiableImpl(Axiom axiom)
|
void |
setOWLReasoner(org.semanticweb.owlapi.reasoner.OWLReasoner owlReasoner)
|
void |
setProgressMonitor(org.semanticweb.owlapi.reasoner.ReasonerProgressMonitor progressMonitor)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProtegeReasoner(Set<AbstractKnowledgeSource> sources)
public ProtegeReasoner(Set<AbstractKnowledgeSource> sources,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
| Method Detail |
|---|
public boolean isConsistent()
public ReasonerType getReasonerType()
AbstractReasonerComponent
getReasonerType in class AbstractReasonerComponentpublic void setProgressMonitor(org.semanticweb.owlapi.reasoner.ReasonerProgressMonitor progressMonitor)
public void releaseKB()
AbstractReasonerComponent
releaseKB in class AbstractReasonerComponentpublic ProtegeReasonerConfigurator getConfigurator()
AbstractComponent
getConfigurator in class AbstractComponentpublic static Collection<ConfigOption<?>> createConfigOptions()
public org.semanticweb.owlapi.model.OWLOntologyManager getOWLOntologyManager()
public void setOWLReasoner(org.semanticweb.owlapi.reasoner.OWLReasoner owlReasoner)
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 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 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 | ||||||||