|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SchemaReasoner
Reasoning requests related to the schema of the knowledge base.
| Method Summary | |
|---|---|
Set<Description> |
getAssertedDefinitions(NamedClass namedClass)
Returns all asserted owl:equivalence class axioms for the given class. |
ClassHierarchy |
getClassHierarchy()
Computes and returns the class hierarchy of the knowledge base. |
DatatypePropertyHierarchy |
getDatatypePropertyHierarchy()
Computes and returns the data property hierarchy of the knowledge base. |
Description |
getDomain(DatatypeProperty datatypeProperty)
Returns the domain of this data property. |
Description |
getDomain(ObjectProperty objectProperty)
Returns the domain of this object property. |
Set<NamedClass> |
getInconsistentClasses()
Returns all named classes, which are not satisfiable, i.e. cannot have instances. |
TreeSet<DatatypeProperty> |
getMostGeneralDatatypeProperties()
|
TreeSet<ObjectProperty> |
getMostGeneralProperties()
TODO Outdated in OWL 2, because the universal role is the most general. |
TreeSet<DatatypeProperty> |
getMostSpecialDatatypeProperties()
|
TreeSet<ObjectProperty> |
getMostSpecialProperties()
TODO Outdated in OWL, because the bottom role is the most specific. |
ObjectPropertyHierarchy |
getObjectPropertyHierarchy()
Computes and returns the object property hierarchy of the knowledge base. |
DataRange |
getRange(DatatypeProperty datatypeProperty)
Returns the range of this data property. |
Description |
getRange(ObjectProperty objectProperty)
Returns the range of this object property. |
SortedSet<Description> |
getSubClasses(Description description)
Returns direct sub classes in the class hierarchy. |
SortedSet<DatatypeProperty> |
getSubProperties(DatatypeProperty dataProperty)
Returns more special concepts in the subsumption hierarchy. |
SortedSet<ObjectProperty> |
getSubProperties(ObjectProperty objectProperty)
Returns more special concepts in the subsumption hierarchy. |
SortedSet<Description> |
getSuperClasses(Description description)
Returns direct super classes in the class hierarchy. |
SortedSet<DatatypeProperty> |
getSuperProperties(DatatypeProperty dataProperty)
Returns more general concepts in the subsumption hierarchy. |
SortedSet<ObjectProperty> |
getSuperProperties(ObjectProperty objectProperty)
Returns more general concepts in the subsumption hierarchy. |
boolean |
isEquivalentClass(Description class1,
Description class2)
Checks whether class1 is equivalent to class2. |
boolean |
isSuperClassOf(Description superClass,
Description subClass)
Checks whether superClass is a super class of subClass. |
Set<Description> |
isSuperClassOf(Set<Description> superClasses,
Description subClasses)
Checks which of superClasses are super classes of subClass |
| Method Detail |
|---|
Set<NamedClass> getInconsistentClasses()
Description getDomain(ObjectProperty objectProperty)
objectProperty - An object property in the knowledge base.
objectPropertyDescription getDomain(DatatypeProperty datatypeProperty)
datatypeProperty - An data property in the knowledge base.
datatypePropertyDescription getRange(ObjectProperty objectProperty)
objectProperty - An object property in the knowledge base.
objectPropertyDataRange getRange(DatatypeProperty datatypeProperty)
datatypeProperty - An data property in the knowledge base.
datatypeProperty
boolean isSuperClassOf(Description superClass,
Description subClass)
superClass is a super class of subClass.
superClass - The (supposed) super class.subClass - The (supposed) sub class.
superClass is a super class of subClass.
boolean isEquivalentClass(Description class1,
Description class2)
class1 is equivalent to class2.
class1 - The first class.class2 - The second class2.
class1 is equivalent to class2.Set<Description> getAssertedDefinitions(NamedClass namedClass)
namedClass - A named class in the background knowledge.
Set<Description> isSuperClassOf(Set<Description> superClasses,
Description subClasses)
superClasses are super classes of subClass
superClasses - A set of (supposed) super classes.subClasses - The (supposed) sub class.
superClasses, which satisfy the superclass-subclass relationship.ClassHierarchy getClassHierarchy()
SortedSet<Description> getSuperClasses(Description description)
description - Atomic concept, top, or bottom.
SortedSet<Description> getSubClasses(Description description)
description - Atomic concept, top, or bottom.
ObjectPropertyHierarchy getObjectPropertyHierarchy()
SortedSet<ObjectProperty> getSuperProperties(ObjectProperty objectProperty)
objectProperty - Atomic concept, top, or bottom.
ObjectPropertyHierarchy.getMoreGeneralRoles(ObjectProperty)SortedSet<ObjectProperty> getSubProperties(ObjectProperty objectProperty)
objectProperty - Atomic concept, top, or bottom.
ObjectPropertyHierarchy.getMoreSpecialRoles(ObjectProperty)TreeSet<ObjectProperty> getMostGeneralProperties()
ObjectPropertyHierarchy.getMostGeneralRoles()TreeSet<ObjectProperty> getMostSpecialProperties()
ObjectPropertyHierarchy.getMostSpecialRoles()DatatypePropertyHierarchy getDatatypePropertyHierarchy()
SortedSet<DatatypeProperty> getSuperProperties(DatatypeProperty dataProperty)
dataProperty - Atomic concept, top, or bottom.
ObjectPropertyHierarchy.getMoreGeneralRoles(ObjectProperty)SortedSet<DatatypeProperty> getSubProperties(DatatypeProperty dataProperty)
dataProperty - Atomic concept, top, or bottom.
ObjectPropertyHierarchy.getMoreSpecialRoles(ObjectProperty)TreeSet<DatatypeProperty> getMostGeneralDatatypeProperties()
ObjectPropertyHierarchy.getMostGeneralRoles()TreeSet<DatatypeProperty> getMostSpecialDatatypeProperties()
ObjectPropertyHierarchy.getMostSpecialRoles()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||