use of org.semanticweb.owlapi.model.OWLAxiom in project stanbol by apache.
the class TestUtils method debug.
public static void debug(OWLOntology ont, Logger log) {
// For debug only
if (log.isDebugEnabled()) {
// We show all axioms in this ontology
log.debug("OntologyID: {}", ont.getOntologyID());
log.debug("Imports:");
// Imports
for (OWLOntology o : ont.getOWLOntologyManager().getImports(ont)) {
log.debug(" - {}", o);
}
log.debug("Axioms:");
for (OWLAxiom a : ont.getAxioms()) log.debug(" - {}", a);
}
}
Aggregations