|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.owl.util.OWLObjectPropertyManager
public class OWLObjectPropertyManager
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-Feb-2008
| Constructor Summary | |
|---|---|
OWLObjectPropertyManager(OWLOntologyManager manager,
OWLOntology ont)
|
|
| Method Summary | |
|---|---|
void |
dispose()
|
java.util.Set<OWLObjectPropertyExpression> |
getCompositeProperties()
|
java.util.Collection<java.util.Set<OWLObjectPropertyExpression>> |
getEquivalentObjectProperties()
|
static java.util.Collection<java.util.Set<OWLObjectPropertyExpression>> |
getEquivalentObjectProperties(java.util.Set<OWLOntology> ontologies)
|
java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLObjectPropertyExpression>> |
getHierarchyReflexiveTransitiveClosure()
|
java.util.Set<OWLObjectPropertyExpression> |
getNonSimpleProperties()
|
java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLObjectPropertyExpression>> |
getPropertyHierarchy()
The object property hierarchy relation → is the smallest relation on object property expressions for which the following conditions hold (A → B means that → holds for A and B): if Ax contains an axiom SubObjectPropertyOf(PE1 PE2), then PE1 → PE2 holds; and if Ax contains an axiom EquivalentObjectProperties(PE1 PE2), then PE1 → PE2 and PE2 → PE1 hold; and if Ax contains an axiom InverseObjectProperties(PE1 PE2), then PE1 → INV(PE2) and INV(PE2) → PE1 hold; and if Ax contains an axiom SymmetricObjectProperty(PE), then PE → INV(PE) holds; and if PE1 → PE2 holds, then INV(PE1) → INV(PE2) holds as well. |
boolean |
isComposite(OWLObjectPropertyExpression expression)
An object property expression PE is composite in Ax if Ax contains an axiom of the form SubObjectPropertyOf(SubObjectPropertyChain(PE1 ... |
boolean |
isNonSimple(OWLObjectPropertyExpression expression)
The relation →* is the reflexive-transitive closure of →. |
void |
setOntology(OWLOntology ontology)
|
static void |
tarjan(java.util.Set<OWLOntology> ontologies,
OWLObjectPropertyExpression prop,
int index,
java.util.Stack<OWLObjectPropertyExpression> stack,
java.util.Map<OWLObjectPropertyExpression,java.lang.Integer> indexMap,
java.util.Map<OWLObjectPropertyExpression,java.lang.Integer> lowlinkMap,
java.util.Set<java.util.Set<OWLObjectPropertyExpression>> result,
java.util.Set<OWLObjectPropertyExpression> processed,
java.util.Set<OWLObjectPropertyExpression> stackProps)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OWLObjectPropertyManager(OWLOntologyManager manager,
OWLOntology ont)
| Method Detail |
|---|
public void dispose()
public void setOntology(OWLOntology ontology)
public boolean isComposite(OWLObjectPropertyExpression expression)
expression - The object property expression to be tested
true if the object property is composite (according to the above definition)
or false if the object property is not composite.public java.util.Set<OWLObjectPropertyExpression> getCompositeProperties()
public java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLObjectPropertyExpression>> getPropertyHierarchy()
public java.util.Map<OWLObjectPropertyExpression,java.util.Set<OWLObjectPropertyExpression>> getHierarchyReflexiveTransitiveClosure()
public boolean isNonSimple(OWLObjectPropertyExpression expression)
expression - The expression to be tested.
true if the object property expression is simple, otherwise false.public java.util.Set<OWLObjectPropertyExpression> getNonSimpleProperties()
public static java.util.Collection<java.util.Set<OWLObjectPropertyExpression>> getEquivalentObjectProperties(java.util.Set<OWLOntology> ontologies)
public java.util.Collection<java.util.Set<OWLObjectPropertyExpression>> getEquivalentObjectProperties()
public static void tarjan(java.util.Set<OWLOntology> ontologies,
OWLObjectPropertyExpression prop,
int index,
java.util.Stack<OWLObjectPropertyExpression> stack,
java.util.Map<OWLObjectPropertyExpression,java.lang.Integer> indexMap,
java.util.Map<OWLObjectPropertyExpression,java.lang.Integer> lowlinkMap,
java.util.Set<java.util.Set<OWLObjectPropertyExpression>> result,
java.util.Set<OWLObjectPropertyExpression> processed,
java.util.Set<OWLObjectPropertyExpression> stackProps)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||