Package org.semanticweb.owl.util

Examples of org.semanticweb.owl.util.OWLOntologyWalker


      this.logger.info("\tClass Axioms: " + ontology.getClassAxioms().size());
      this.writeToFile(this.output, ontology.getClassAxioms().size() + " ");
      htmlRow += "\t<td bgcolor=\"#FFFFFF\" align=\"right\">"+ontology.getClassAxioms().size()+"</td>\n";
      dataCell += "data.setCell("+rowCnt+", "+(++colCnt)+", "+ontology.getClassAxioms().size()+", '"+ontology.getClassAxioms().size()+"');\n";
     
      OWLOntologyWalker walker = new OWLOntologyWalker(Collections.singleton(ontology));
      ExistentialAxiomVisitor<OWLObject> myVisitor = new ExistentialAxiomVisitor<OWLObject>();
     
      walker.walkStructure(myVisitor);
     
      this.logger.info("\tsubClass = " + myVisitor.subClassCnt);
      this.logger.info("\tclassAssertAxiom = " + myVisitor.classAssertAxiomCnt);
      this.logger.info("\tentityAnnAxiom = " + myVisitor.entityAnnAxiomCnt);
     
View Full Code Here

TOP

Related Classes of org.semanticweb.owl.util.OWLOntologyWalker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.