org.dllearner.core.owl
Class DatatypePropertyHierarchy
java.lang.Object
org.dllearner.core.owl.DatatypePropertyHierarchy
public class DatatypePropertyHierarchy
- extends Object
Represents a hierarchy of datatype properties.
TODO: Currently, the role hierarchy pruning algorithm (analogous to the
subsumption hierarchy) is not implemented.
- Author:
- Jens Lehmann
DatatypePropertyHierarchy
public DatatypePropertyHierarchy(Set<DatatypeProperty> atomicRoles,
TreeMap<DatatypeProperty,SortedSet<DatatypeProperty>> roleHierarchyUp,
TreeMap<DatatypeProperty,SortedSet<DatatypeProperty>> roleHierarchyDown)
getMoreGeneralRoles
public SortedSet<DatatypeProperty> getMoreGeneralRoles(DatatypeProperty role)
getMoreSpecialRoles
public SortedSet<DatatypeProperty> getMoreSpecialRoles(DatatypeProperty role)
toString
public String toString()
- Overrides:
toString in class Object
getMostGeneralRoles
public TreeSet<DatatypeProperty> getMostGeneralRoles()
- Returns:
- The most general roles.
getMostSpecialRoles
public TreeSet<DatatypeProperty> getMostSpecialRoles()
- Returns:
- The most special roles.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann