|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.HermiT.examples.HierarchyPrettyPrinting
public class HierarchyPrettyPrinting
This examples demonstrates how HermiT can be used to print the inferred class (object/data property) hierarchy into an ontology in function-style syntax. The ontology will create an axiom SubClassOf(:A :B) if the given ontology entails that :A is a subclass of :B for :A and :B classes (similarly for object and data properties). The axioms are printed with indentations so that the inferred hierarchy is kind of visible in the produced ontology file and classes on the same level are ordered alphabetically. Declarations are printed behind the axioms whenever a class occured for the first time in an axioms.
| Constructor Summary | |
|---|---|
HierarchyPrettyPrinting()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HierarchyPrettyPrinting()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||