|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.HermiT.Reasoner
public class Reasoner
Answers queries about the logical implications of a particular knowledge base. A Reasoner is associated with a single knowledge base, which is "loaded" when the reasoner is constructed. By default a full classification of all atomic terms in the knowledge base is also performed at this time (which can take quite a while for large or complex ontologies), but this behavior can be disabled as a part of the Reasoner configuration. Internal details of the loading and reasoning algorithms can be configured in the Reasoner constructor and do not change over the lifetime of the Reasoner object---internal data structures and caches are optimized for a particular configuration. By default, HermiT will use the set of options which provide optimal performance.
| Nested Class Summary | |
|---|---|
static class |
Reasoner.ProtegeReasonerFactory
|
static class |
Reasoner.ReasonerFactory
|
| Field Summary | |
|---|---|
protected Hierarchy<AtomicConcept> |
m_atomicConceptHierarchy
|
protected ConceptSubsumptionCache |
m_conceptSubsumptionCache
|
protected Configuration |
m_configuration
|
protected Hierarchy<Role> |
m_dataRoleHierarchy
|
protected RoleSubsumptionCache |
m_dataRoleSubsumptionCache
|
protected DLOntology |
m_dlOntology
|
protected InterruptFlag |
m_interruptFlag
|
protected Hierarchy<Role> |
m_objectRoleHierarchy
|
protected RoleSubsumptionCache |
m_objectRoleSubsumptionCache
|
protected Prefixes |
m_prefixes
|
protected org.semanticweb.owlapi.util.ProgressMonitor |
m_progressMonitor
|
protected java.util.Map<AtomicConcept,java.util.Set<Individual>> |
m_realization
|
protected Tableau |
m_tableau
|
| Constructor Summary | |
|---|---|
Reasoner()
Creates a new reasoner instance with standard parameters for blocking, expansion strategy etc. |
|
Reasoner(Configuration configuration)
Creates a new reasoner instance with the parameters for blocking, expansion strategy etc as specified in the given configuration object. |
|
Reasoner(Configuration configuration,
DLOntology dlOntology)
This is mainly an internal method. |
|
Reasoner(Configuration configuration,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> importClosure)
This method is mainly for use of HermiT in Protege. |
|
Reasoner(Configuration configuration,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManger,
org.semanticweb.owlapi.model.OWLOntology ontology)
Creates a new reasoner object with the parameters for blocking, expansion strategy etc as specified in the given configuration object. |
|
Reasoner(Configuration configuration,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology,
java.util.Set<DescriptionGraph> descriptionGraphs)
Creates a new reasoner object loaded with the given ontology and the given description graphs. |
|
Reasoner(Configuration configuration,
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> importClosure)
This method is mainly for use of HermiT in Protege. |
|
Reasoner(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManger,
org.semanticweb.owlapi.model.OWLOntology ontology)
Creates a new reasoner object with standard parameters for blocking, expansion strategy etc. |
|
| Method Summary | ||
|---|---|---|
protected static
|
addInclusion(java.util.Map<T,DeterministicHierarchyBuilder.GraphNode<T>> knownSubsumers,
T subElement,
T supElement)
|
|
protected static void |
addIRI(java.lang.String uri,
java.util.Set<java.lang.String> prefixIRIs)
|
|
boolean |
areDataPropertiesClassified()
|
|
boolean |
areObjectPropertiesClassified()
|
|
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> |
atomicConceptNodesToOWLAPI(java.util.Collection<HierarchyNode<AtomicConcept>> nodes,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
protected static java.util.Set<org.semanticweb.owlapi.model.OWLClass> |
atomicConceptsToOWLAPI(java.util.Collection<AtomicConcept> atomicConcepts,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
void |
classify()
|
|
void |
classifyDataProperties()
Builds the data property hierarchy. |
|
void |
classifyObjectProperties()
Builds the object property hierarchy. |
|
void |
clearOntologies()
|
|
protected static Prefixes |
createPrefixes(DLOntology dlOntology)
|
|
protected static Tableau |
createTableau(InterruptFlag interruptFlag,
Configuration config,
DLOntology dlOntology,
Prefixes prefixes)
|
|
protected static
|
createUnion(java.util.Map<K,V> map1,
java.util.Map<K,V> map2)
|
|
protected static
|
createUnion(java.util.Set<T> set1,
java.util.Set<T> set2)
|
|
protected static java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty> |
dataPropertiesToOWLAPI(java.util.Collection<Role> dataProperties,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> |
dataPropertyNodesToOWLAPI(java.util.Collection<HierarchyNode<Role>> nodes,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
void |
dispose()
Same as clearOntologies() in HermiT. |
|
protected java.lang.Boolean |
entailsDatatypeDefinition(org.semanticweb.owlapi.model.OWLDatatypeDefinitionAxiom axiom)
|
|
protected static DLOntology |
extendDLOntology(Configuration config,
Prefixes prefixes,
java.lang.String resultingOntologyIRI,
DLOntology originalDLOntology,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLAxiom... additionalAxioms)
|
|
protected static java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty> |
filterObjectProperties(java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> set)
|
|
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> |
filterObjectPropertySets(java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> setOfSets)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> |
getAncestorClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> |
getAncestorProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
Returns the (direct and indirect) super-properties of the given property including the property itself. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> |
getAncestorProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> |
getAncestorProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Returns the super-properties of propertyExpression. |
|
Configuration |
getConfiguration()
|
|
org.semanticweb.owlapi.model.OWLEntity |
getCurrentEntity()
Required for the OWLReasoner interface, but HermiT does not support this method and will throw an UnsupportedOperation exception. |
|
protected static org.semanticweb.owlapi.model.OWLDataProperty |
getDataProperty(org.semanticweb.owlapi.model.OWLDataFactory factory,
AtomicRole atomicRole)
|
|
java.util.Map<org.semanticweb.owlapi.model.OWLDataProperty,java.util.Set<org.semanticweb.owlapi.model.OWLLiteral>> |
getDataPropertyRelationships(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> |
getDescendantClasses(org.semanticweb.owlapi.model.OWLClassExpression description)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> |
getDescendantProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
Returns the (direct and indirect) sub-properties of the given property including the property itself. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> |
getDescendantProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> |
getDescendantProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Returns the sub-properties of propertyExpression. |
|
protected java.util.Set<HierarchyNode<AtomicConcept>> |
getDirectSuperConceptNodes(Individual individual)
|
|
DLOntology |
getDLOntology()
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression>> |
getDomains(org.semanticweb.owlapi.model.OWLDataProperty property)
Gets the domains of the given data property. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression>> |
getDomains(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression>> |
getDomains(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Gets the domains of a particular property. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLClass> |
getEquivalentClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
|
|
java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty> |
getEquivalentProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
Returns properties that are equivalent to the given property. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty> |
getEquivalentProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> |
getEquivalentProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Returns properties that are equivalent to propertyExpression. |
|
protected HierarchyNode<AtomicConcept> |
getHierarchyNode(org.semanticweb.owlapi.model.OWLClassExpression description)
|
|
protected HierarchyNode<Role> |
getHierarchyNode(org.semanticweb.owlapi.model.OWLDataProperty property)
|
|
protected HierarchyNode<Role> |
getHierarchyNode(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
java.util.Set<org.semanticweb.owlapi.model.OWLClass> |
getInconsistentClasses()
Deprecated. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> |
getIndividuals(org.semanticweb.owlapi.model.OWLClassExpression description,
boolean direct)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> |
getInverseProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> |
getInverseProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression property)
|
|
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> |
getLoadedOntologies()
Required for the OWLReasoner interface, but HermiT does not support this method. |
|
protected static org.semanticweb.owlapi.model.OWLObjectProperty |
getObjectProperty(org.semanticweb.owlapi.model.OWLDataFactory factory,
AtomicRole atomicRole)
|
|
protected static org.semanticweb.owlapi.model.OWLObjectPropertyExpression |
getObjectPropertyExpression(org.semanticweb.owlapi.model.OWLDataFactory factory,
Role role)
|
|
java.util.Map<org.semanticweb.owlapi.model.OWLObjectProperty,java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual>> |
getObjectPropertyRelationships(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
|
|
Prefixes |
getPrefixes()
|
|
protected static java.lang.String |
getPrefixForIndex(int prefixIndex)
|
|
java.util.Set<org.semanticweb.owlapi.model.OWLDataRange> |
getRanges(org.semanticweb.owlapi.model.OWLDataProperty property)
This method is not supported by HermiT and executing it will result in an UnsupportedOperation error. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression> |
getRanges(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression> |
getRanges(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Gets the ranges of the given property. |
|
java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> |
getRelatedIndividuals(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression property)
|
|
java.util.Set<org.semanticweb.owlapi.model.OWLLiteral> |
getRelatedValues(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLDataPropertyExpression property)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> |
getSubClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> |
getSubProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
Returns the most specific direct sub-properties of the given property. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> |
getSubProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> |
getSubProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Returns the DIRECT sub-properties of propertyExpression. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> |
getSuperClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> |
getSuperProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
Returns the most specific direct super-properties of the given property. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> |
getSuperProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> |
getSuperProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
Returns the DIRECT super-properties of propertyExpression. |
|
Tableau |
getTableau()
Returns the tableau of this reasoner. |
|
Tableau |
getTableau(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLAxiom... additionalAxioms)
|
|
java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> |
getTypes(org.semanticweb.owlapi.model.OWLNamedIndividual owlIndividual,
boolean direct)
|
|
java.util.Set<org.semanticweb.owlapi.model.OWLClass> |
getUnsatisfiableClasses()
|
|
boolean |
hasDataPropertyRelationship(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLDataPropertyExpression property,
org.semanticweb.owlapi.model.OWLLiteral object)
|
|
java.lang.Boolean |
hasKey(org.semanticweb.owlapi.model.OWLHasKeyAxiom key)
|
|
boolean |
hasObjectPropertyRelationship(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression property,
org.semanticweb.owlapi.model.OWLNamedIndividual object)
|
|
boolean |
hasType(org.semanticweb.owlapi.model.OWLNamedIndividual owlIndividual,
org.semanticweb.owlapi.model.OWLClassExpression type,
boolean direct)
|
|
void |
interrupt()
Set a flag to tell the reasoner to stop whatever it is doing. |
|
boolean |
isAntiSymmetric(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isAsymmetric(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isAsymmetric(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
boolean |
isClassified()
|
|
boolean |
isConsistent()
|
|
boolean |
isConsistent(org.semanticweb.owlapi.model.OWLOntology ignored)
Deprecated. |
|
boolean |
isDefined(org.semanticweb.owlapi.model.OWLClass owlClass)
|
|
boolean |
isDefined(org.semanticweb.owlapi.model.OWLDataProperty owlDataProperty)
|
|
boolean |
isDefined(org.semanticweb.owlapi.model.OWLIndividual owlIndividual)
|
|
boolean |
isDefined(org.semanticweb.owlapi.model.OWLObjectProperty owlObjectProperty)
|
|
boolean |
isEquivalentClass(org.semanticweb.owlapi.model.OWLClassExpression description1,
org.semanticweb.owlapi.model.OWLClassExpression description2)
|
|
boolean |
isEquivalentProperty(org.semanticweb.owlapi.model.OWLDataProperty dataProperty1,
org.semanticweb.owlapi.model.OWLDataProperty dataProperty2)
|
|
boolean |
isEquivalentProperty(org.semanticweb.owlapi.model.OWLObjectPropertyExpression objectPropertyExpression1,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression objectPropertyExpression2)
|
|
boolean |
isFunctional(org.semanticweb.owlapi.model.OWLDataProperty property)
|
|
boolean |
isFunctional(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isFunctional(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
boolean |
isInverseFunctional(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isInverseFunctional(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
boolean |
isIrreflexive(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isIrreflexive(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
boolean |
isRealised()
|
|
boolean |
isReflexive(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isReflexive(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
boolean |
isSatisfiable(org.semanticweb.owlapi.model.OWLClassExpression description)
|
|
boolean |
isSubClassOf(org.semanticweb.owlapi.model.OWLClassExpression subDescription,
org.semanticweb.owlapi.model.OWLClassExpression superDescription)
|
|
boolean |
isSubPropertyOf(java.util.List<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> subPropertyChain,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression superObjectPropertyExpression)
Determines if the property chain represented by subPropertyChain is a sub-property of superObjectPropertyExpression. |
|
boolean |
isSubPropertyOf(org.semanticweb.owlapi.model.OWLDataProperty subDataProperty,
org.semanticweb.owlapi.model.OWLDataProperty superDataProperty)
Determines if the property chain represented by subPropertyChain is a sub-property of superObjectPropertyExpression. |
|
boolean |
isSubPropertyOf(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subObjectPropertyExpression,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression superObjectPropertyExpression)
Determines if subObjectPropertyExpression is a sub-property of superObjectPropertyExpression. |
|
boolean |
isSymmetric(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isSymmetric(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
boolean |
isTransitive(org.semanticweb.owlapi.model.OWLObjectProperty property)
Deprecated. |
|
boolean |
isTransitive(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
|
|
void |
loadDLOntology(DLOntology dlOntology)
Load an ontology in HermiT's internal format. |
|
protected void |
loadIndividualsOfNode(HierarchyNode<AtomicConcept> node,
java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> result,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
void |
loadOntologies(org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
Loads the specified ontologies. |
|
void |
loadOntologies(java.util.Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
|
|
void |
loadOntology(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology,
java.util.Set<DescriptionGraph> descriptionGraphs)
The given ontology and description graphs are loaded into the Reasoner instance. |
|
static Reasoner |
loadReasoner(java.io.File file)
|
|
static Reasoner |
loadReasoner(java.io.InputStream inputStream)
|
|
protected static java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> |
objectPropertiesToOWLAPI(java.util.Collection<Role> roles,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> |
objectPropertyNodesToOWLAPI(java.util.Collection<HierarchyNode<Role>> nodes,
org.semanticweb.owlapi.model.OWLDataFactory factory)
|
|
void |
printHierarchies(java.io.PrintWriter out,
boolean classes,
boolean objectProperties,
boolean dataProperties)
|
|
void |
realise()
|
|
void |
save(java.io.File file)
|
|
void |
save(java.io.OutputStream outputStream)
|
|
void |
setProgressMonitor(org.semanticweb.owlapi.util.ProgressMonitor progressMonitor)
|
|
void |
unloadOntologies(java.util.Set<org.semanticweb.owlapi.model.OWLOntology> inOntologies)
Required for the OWLReasoner interface, but HermiT does not support this method. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Configuration m_configuration
protected final InterruptFlag m_interruptFlag
protected DLOntology m_dlOntology
protected Prefixes m_prefixes
protected Tableau m_tableau
protected ConceptSubsumptionCache m_conceptSubsumptionCache
protected Hierarchy<AtomicConcept> m_atomicConceptHierarchy
protected RoleSubsumptionCache m_objectRoleSubsumptionCache
protected Hierarchy<Role> m_objectRoleHierarchy
protected RoleSubsumptionCache m_dataRoleSubsumptionCache
protected Hierarchy<Role> m_dataRoleHierarchy
protected java.util.Map<AtomicConcept,java.util.Set<Individual>> m_realization
protected org.semanticweb.owlapi.util.ProgressMonitor m_progressMonitor
| Constructor Detail |
|---|
public Reasoner()
public Reasoner(Configuration configuration)
configuration - - a configuration in which parameters can be defined such as the blocking strategy to be used etc
public Reasoner(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManger,
org.semanticweb.owlapi.model.OWLOntology ontology)
ontologyManger - - the manager that will be used to determine the required imports for the given ontologyontology - - the ontology that should be loaded by the reasoner
public Reasoner(Configuration configuration,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManger,
org.semanticweb.owlapi.model.OWLOntology ontology)
configuration - - a configuration in which parameters can be defined such as the blocking strategy to be used etcontologyManger - - the manager that will be used to determine the required imports for the given ontologyontology - - the ontology that should be loaded by the reasoner
public Reasoner(Configuration configuration,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology,
java.util.Set<DescriptionGraph> descriptionGraphs)
configuration - - a configuration in which parameters can be defined such as the blocking strategy to be used etcontologyManager - - the manager that will be used to determine the required imports for the given ontologyontology - - the ontology that should be loaded by the reasonerdescriptionGraphs - - a set of description graphs
public Reasoner(Configuration configuration,
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> importClosure)
configuration - - a configuration in which parameters can be defined such as the blocking strategy to be used etcimportClosure - - a set of ontologies that MUST contain all the imports for the ontologies in the set
public Reasoner(Configuration configuration,
org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> importClosure)
configuration - - a configuration in which parameters can be defined such as the blocking strategy to be used etcdataFactory - - the data factory to be used in the preprocessing phaseimportClosure - - a set of ontologies that MUST contain all the imports for the ontologies in the set
public Reasoner(Configuration configuration,
DLOntology dlOntology)
configuration - - a configuration in which parameters can be defined such as the blocking strategy to be used etcdlOntology - - an ontology in HermiT's internal ontology format| Method Detail |
|---|
public Prefixes getPrefixes()
public DLOntology getDLOntology()
public Configuration getConfiguration()
public void interrupt()
public Tableau getTableau()
public void loadDLOntology(DLOntology dlOntology)
dlOntology - - an ontology in HermiT's internal format
public void loadOntology(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLOntology ontology,
java.util.Set<DescriptionGraph> descriptionGraphs)
ontologyManager - - the manager that will be used to determine the required imports for the given ontologyontology - - the ontology that should be loaded by the reasonerdescriptionGraphs - - a set of description graphs or nullpublic void loadOntologies(java.util.Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
loadOntologies in interface org.semanticweb.owlapi.inference.OWLReasonerBase
public void loadOntologies(org.semanticweb.owlapi.model.OWLDataFactory dataFactory,
java.util.Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
dataFactory - - the data factory that is used in the preprocessing phase to introduce new concepts if necessaryontologies - - the ontologies to be loaded (no imports will be loaded)public java.util.Set<org.semanticweb.owlapi.model.OWLOntology> getLoadedOntologies()
getLoadedOntologies in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic void unloadOntologies(java.util.Set<org.semanticweb.owlapi.model.OWLOntology> inOntologies)
unloadOntologies in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic void clearOntologies()
clearOntologies in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic void dispose()
dispose in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic org.semanticweb.owlapi.model.OWLEntity getCurrentEntity()
getCurrentEntity in interface org.semanticweb.owlapi.inference.MonitorableOWLReasonerpublic void setProgressMonitor(org.semanticweb.owlapi.util.ProgressMonitor progressMonitor)
setProgressMonitor in interface org.semanticweb.owlapi.inference.MonitorableOWLReasonerpublic boolean isDefined(org.semanticweb.owlapi.model.OWLClass owlClass)
isDefined in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic boolean isDefined(org.semanticweb.owlapi.model.OWLIndividual owlIndividual)
isDefined in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic boolean isDefined(org.semanticweb.owlapi.model.OWLObjectProperty owlObjectProperty)
isDefined in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic boolean isDefined(org.semanticweb.owlapi.model.OWLDataProperty owlDataProperty)
isDefined in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic boolean isConsistent()
@Deprecated public boolean isConsistent(org.semanticweb.owlapi.model.OWLOntology ignored)
isConsistent()
isConsistent in interface org.semanticweb.owlapi.inference.OWLConsistencyCheckerpublic boolean isClassified()
isClassified in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic void classify()
classify in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic boolean isSatisfiable(org.semanticweb.owlapi.model.OWLClassExpression description)
isSatisfiable in interface org.semanticweb.owlapi.inference.OWLSatisfiabilityChecker
public boolean isSubClassOf(org.semanticweb.owlapi.model.OWLClassExpression subDescription,
org.semanticweb.owlapi.model.OWLClassExpression superDescription)
isSubClassOf in interface org.semanticweb.owlapi.inference.OWLClassReasoner
public boolean isEquivalentClass(org.semanticweb.owlapi.model.OWLClassExpression description1,
org.semanticweb.owlapi.model.OWLClassExpression description2)
isEquivalentClass in interface org.semanticweb.owlapi.inference.OWLClassReasonerpublic java.util.Set<org.semanticweb.owlapi.model.OWLClass> getEquivalentClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
getEquivalentClasses in interface org.semanticweb.owlapi.inference.OWLClassReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> getSubClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
getSubClasses in interface org.semanticweb.owlapi.inference.OWLClassReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> getSuperClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
getSuperClasses in interface org.semanticweb.owlapi.inference.OWLClassReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> getAncestorClasses(org.semanticweb.owlapi.model.OWLClassExpression classExpression)
getAncestorClasses in interface org.semanticweb.owlapi.inference.OWLClassReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> getDescendantClasses(org.semanticweb.owlapi.model.OWLClassExpression description)
getDescendantClasses in interface org.semanticweb.owlapi.inference.OWLClassReasoner
@Deprecated
public java.util.Set<org.semanticweb.owlapi.model.OWLClass> getInconsistentClasses()
throws org.semanticweb.owlapi.inference.OWLReasonerException
getUnsatisfiableClasses()
org.semanticweb.owlapi.inference.OWLReasonerException
public java.util.Set<org.semanticweb.owlapi.model.OWLClass> getUnsatisfiableClasses()
throws org.semanticweb.owlapi.inference.OWLReasonerException
getUnsatisfiableClasses in interface org.semanticweb.owlapi.inference.OWLClassReasonerorg.semanticweb.owlapi.inference.OWLReasonerExceptionprotected HierarchyNode<AtomicConcept> getHierarchyNode(org.semanticweb.owlapi.model.OWLClassExpression description)
public boolean areObjectPropertiesClassified()
public void classifyObjectProperties()
public boolean isSubPropertyOf(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subObjectPropertyExpression,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression superObjectPropertyExpression)
subObjectPropertyExpression - - the sub object property expressionsuperObjectPropertyExpression - - the super object property expression
public boolean isSubPropertyOf(java.util.List<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> subPropertyChain,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression superObjectPropertyExpression)
subPropertyChain - - a list that represents a property chainsuperObjectPropertyExpression - - an object property expression
public boolean isEquivalentProperty(org.semanticweb.owlapi.model.OWLObjectPropertyExpression objectPropertyExpression1,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression objectPropertyExpression2)
objectPropertyExpression1 - - an object property expressionobjectPropertyExpression2 - - an object property expression
@Deprecated public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> getSuperProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
getSubProperties(OWLObjectPropertyExpression)
getSuperProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> getSuperProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
getAncestorProperties(OWLObjectPropertyExpression)@Deprecated public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> getSubProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
getSubProperties(OWLObjectPropertyExpression)
getSubProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> getSubProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
getDescendantProperties(OWLObjectPropertyExpression)@Deprecated public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> getAncestorProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
getAncestorProperties(OWLObjectPropertyExpression)
getAncestorProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> getAncestorProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> getDescendantProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
getDescendantProperties(OWLObjectPropertyExpression)
getDescendantProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> getDescendantProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty> getEquivalentProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
getEquivalentProperties(OWLObjectPropertyExpression)
getEquivalentProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> getEquivalentProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
protected HierarchyNode<Role> getHierarchyNode(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
@Deprecated public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression>> getDomains(org.semanticweb.owlapi.model.OWLObjectProperty property)
getDomains(OWLObjectPropertyExpression)
getDomains in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression>> getDomains(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - The property whose domains are to be retrieved.
@Deprecated public java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression> getRanges(org.semanticweb.owlapi.model.OWLObjectProperty property)
getRanges(OWLObjectPropertyExpression)
getRanges in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression> getRanges(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> getInverseProperties(org.semanticweb.owlapi.model.OWLObjectProperty property)
getInverseProperties(OWLObjectPropertyExpression)
getInverseProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> getInverseProperties(org.semanticweb.owlapi.model.OWLObjectPropertyExpression property)
property - - an object property expression
@Deprecated public boolean isFunctional(org.semanticweb.owlapi.model.OWLObjectProperty property)
isFunctional(OWLObjectPropertyExpression)
isFunctional in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isFunctional(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public boolean isInverseFunctional(org.semanticweb.owlapi.model.OWLObjectProperty property)
isInverseFunctional(OWLObjectPropertyExpression)
isInverseFunctional in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isInverseFunctional(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public boolean isIrreflexive(org.semanticweb.owlapi.model.OWLObjectProperty property)
isIrreflexive(OWLObjectPropertyExpression)
isIrreflexive in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isIrreflexive(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public boolean isReflexive(org.semanticweb.owlapi.model.OWLObjectProperty property)
isReflexive(OWLObjectPropertyExpression)
isReflexive in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isReflexive(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated
public boolean isAntiSymmetric(org.semanticweb.owlapi.model.OWLObjectProperty property)
throws org.semanticweb.owlapi.inference.OWLReasonerException
isAsymmetric(OWLObjectPropertyExpression)
org.semanticweb.owlapi.inference.OWLReasonerException@Deprecated public boolean isAsymmetric(org.semanticweb.owlapi.model.OWLObjectProperty property)
isAsymmetric(OWLObjectPropertyExpression)
isAsymmetric in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isAsymmetric(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public boolean isSymmetric(org.semanticweb.owlapi.model.OWLObjectProperty property)
isSymmetric(OWLObjectPropertyExpression)
isSymmetric in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isSymmetric(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
@Deprecated public boolean isTransitive(org.semanticweb.owlapi.model.OWLObjectProperty property)
isTransitive(OWLObjectPropertyExpression)
isTransitive in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isTransitive(org.semanticweb.owlapi.model.OWLObjectPropertyExpression propertyExpression)
propertyExpression - - an object property expression
public boolean areDataPropertiesClassified()
public void classifyDataProperties()
public boolean isSubPropertyOf(org.semanticweb.owlapi.model.OWLDataProperty subDataProperty,
org.semanticweb.owlapi.model.OWLDataProperty superDataProperty)
subDataProperty - - a data propertysuperDataProperty - - a data property
public boolean isEquivalentProperty(org.semanticweb.owlapi.model.OWLDataProperty dataProperty1,
org.semanticweb.owlapi.model.OWLDataProperty dataProperty2)
dataProperty1 - - a data propertydataProperty2 - - a data property
public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> getSuperProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
getSuperProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> getSubProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
getSubProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> getAncestorProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
getAncestorProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> getDescendantProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
getDescendantProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty> getEquivalentProperties(org.semanticweb.owlapi.model.OWLDataProperty property)
getEquivalentProperties in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerproperty - - a data property
protected HierarchyNode<Role> getHierarchyNode(org.semanticweb.owlapi.model.OWLDataProperty property)
public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClassExpression>> getDomains(org.semanticweb.owlapi.model.OWLDataProperty property)
getDomains in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerproperty - - The data property whose domains are to be retrieved.
public java.util.Set<org.semanticweb.owlapi.model.OWLDataRange> getRanges(org.semanticweb.owlapi.model.OWLDataProperty property)
getRanges in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerpublic boolean isFunctional(org.semanticweb.owlapi.model.OWLDataProperty property)
isFunctional in interface org.semanticweb.owlapi.inference.OWLPropertyReasonerproperty - - a data property
public boolean isRealised()
isRealised in interface org.semanticweb.owlapi.inference.OWLReasonerBasepublic void realise()
realise in interface org.semanticweb.owlapi.inference.OWLReasonerBaseprotected java.util.Set<HierarchyNode<AtomicConcept>> getDirectSuperConceptNodes(Individual individual)
public java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> getTypes(org.semanticweb.owlapi.model.OWLNamedIndividual owlIndividual,
boolean direct)
getTypes in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
public boolean hasType(org.semanticweb.owlapi.model.OWLNamedIndividual owlIndividual,
org.semanticweb.owlapi.model.OWLClassExpression type,
boolean direct)
hasType in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
public java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getIndividuals(org.semanticweb.owlapi.model.OWLClassExpression description,
boolean direct)
getIndividuals in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
protected void loadIndividualsOfNode(HierarchyNode<AtomicConcept> node,
java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> result,
org.semanticweb.owlapi.model.OWLDataFactory factory)
public java.util.Map<org.semanticweb.owlapi.model.OWLObjectProperty,java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual>> getObjectPropertyRelationships(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
getObjectPropertyRelationships in interface org.semanticweb.owlapi.inference.OWLIndividualReasonerpublic java.util.Map<org.semanticweb.owlapi.model.OWLDataProperty,java.util.Set<org.semanticweb.owlapi.model.OWLLiteral>> getDataPropertyRelationships(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
getDataPropertyRelationships in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
public java.util.Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getRelatedIndividuals(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression property)
getRelatedIndividuals in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
public java.util.Set<org.semanticweb.owlapi.model.OWLLiteral> getRelatedValues(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLDataPropertyExpression property)
getRelatedValues in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
public boolean hasObjectPropertyRelationship(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression property,
org.semanticweb.owlapi.model.OWLNamedIndividual object)
hasObjectPropertyRelationship in interface org.semanticweb.owlapi.inference.OWLIndividualReasoner
public boolean hasDataPropertyRelationship(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLDataPropertyExpression property,
org.semanticweb.owlapi.model.OWLLiteral object)
hasDataPropertyRelationship in interface org.semanticweb.owlapi.inference.OWLIndividualReasonerpublic java.lang.Boolean hasKey(org.semanticweb.owlapi.model.OWLHasKeyAxiom key)
protected java.lang.Boolean entailsDatatypeDefinition(org.semanticweb.owlapi.model.OWLDatatypeDefinitionAxiom axiom)
public Tableau getTableau(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLAxiom... additionalAxioms)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected static Tableau createTableau(InterruptFlag interruptFlag,
Configuration config,
DLOntology dlOntology,
Prefixes prefixes)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected static DLOntology extendDLOntology(Configuration config,
Prefixes prefixes,
java.lang.String resultingOntologyIRI,
DLOntology originalDLOntology,
org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
org.semanticweb.owlapi.model.OWLAxiom... additionalAxioms)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
protected static <T> java.util.Set<T> createUnion(java.util.Set<T> set1,
java.util.Set<T> set2)
protected static <K,V> java.util.Map<K,V> createUnion(java.util.Map<K,V> map1,
java.util.Map<K,V> map2)
protected static org.semanticweb.owlapi.model.OWLObjectProperty getObjectProperty(org.semanticweb.owlapi.model.OWLDataFactory factory,
AtomicRole atomicRole)
protected static org.semanticweb.owlapi.model.OWLObjectPropertyExpression getObjectPropertyExpression(org.semanticweb.owlapi.model.OWLDataFactory factory,
Role role)
protected static org.semanticweb.owlapi.model.OWLDataProperty getDataProperty(org.semanticweb.owlapi.model.OWLDataFactory factory,
AtomicRole atomicRole)
protected static Prefixes createPrefixes(DLOntology dlOntology)
protected static java.lang.String getPrefixForIndex(int prefixIndex)
protected static void addIRI(java.lang.String uri,
java.util.Set<java.lang.String> prefixIRIs)
public void printHierarchies(java.io.PrintWriter out,
boolean classes,
boolean objectProperties,
boolean dataProperties)
public void save(java.io.File file)
throws java.io.IOException
java.io.IOException
public void save(java.io.OutputStream outputStream)
throws java.io.IOException
java.io.IOException
public static Reasoner loadReasoner(java.io.InputStream inputStream)
throws java.io.IOException
java.io.IOException
public static Reasoner loadReasoner(java.io.File file)
throws java.io.IOException
java.io.IOException
protected static java.util.Set<org.semanticweb.owlapi.model.OWLClass> atomicConceptsToOWLAPI(java.util.Collection<AtomicConcept> atomicConcepts,
org.semanticweb.owlapi.model.OWLDataFactory factory)
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLClass>> atomicConceptNodesToOWLAPI(java.util.Collection<HierarchyNode<AtomicConcept>> nodes,
org.semanticweb.owlapi.model.OWLDataFactory factory)
protected static java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> objectPropertiesToOWLAPI(java.util.Collection<Role> roles,
org.semanticweb.owlapi.model.OWLDataFactory factory)
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> objectPropertyNodesToOWLAPI(java.util.Collection<HierarchyNode<Role>> nodes,
org.semanticweb.owlapi.model.OWLDataFactory factory)
protected static java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty> filterObjectProperties(java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression> set)
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectProperty>> filterObjectPropertySets(java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLObjectPropertyExpression>> setOfSets)
protected static java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty> dataPropertiesToOWLAPI(java.util.Collection<Role> dataProperties,
org.semanticweb.owlapi.model.OWLDataFactory factory)
protected static java.util.Set<java.util.Set<org.semanticweb.owlapi.model.OWLDataProperty>> dataPropertyNodesToOWLAPI(java.util.Collection<HierarchyNode<Role>> nodes,
org.semanticweb.owlapi.model.OWLDataFactory factory)
protected static <T> void addInclusion(java.util.Map<T,DeterministicHierarchyBuilder.GraphNode<T>> knownSubsumers,
T subElement,
T supElement)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||