boolean consistent = kb.isConsistent();
long e = System.currentTimeMillis();
System.out.println( "Consistent? " + consistent + " (" + (e - s) + "ms)" );
// peform ABox addition which results in a consistent KB
ATermAppl concept = ATermUtils.makeTermAppl( mindswap + "GraduateStudent" );
ATermAppl individual = ATermUtils.makeTermAppl( mindswappers + "JohnDoe" );
kb.addIndividual( individual );
kb.addType( individual, concept );
// perform incremental consistency check
s = System.currentTimeMillis();
consistent = kb.isConsistent();
e = System.currentTimeMillis();
System.out.println( "Consistent? " + consistent + " (" + (e - s) + "ms)" );
// peform ABox addition which results in an inconsistent KB
ATermAppl role = ATermUtils.makeTermAppl( foaf + "mbox" );
individual = ATermUtils.makeTermAppl( mindswappers + "Christian.Halaschek" );
ATermAppl mbox = ATermUtils.makeTermAppl( "mailto:kolovski@cs.umd.edu" );
kb.addPropertyValue( role, individual, mbox );
// perform incremental consistency check
s = System.currentTimeMillis();
consistent = kb.isConsistent();