org.semanticweb.HermiT.examples
Class PrettyHierarchyPrinting

java.lang.Object
  extended by org.semanticweb.HermiT.examples.PrettyHierarchyPrinting

public class PrettyHierarchyPrinting
extends java.lang.Object

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
PrettyHierarchyPrinting()
           
 
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

PrettyHierarchyPrinting

public PrettyHierarchyPrinting()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception