kb.addSubClass( value( term( "o1" ) ), and( max( term( "invR1" ), 2, ATermUtils.TOP ), all(
term( "invR1" ), some( term( "S1" ), some( term( "invS2" ), some( term( "R2" ),
value( term( "o2" ) ) ) ) ) ) ) );
kb.addSubClass( value( term( "o2" ) ), and( max( term( "invR2" ), 2, ATermUtils.TOP ), all(
term( "invR2" ), some( term( "S2" ), some( term( "invS1" ), some( term( "R1" ),
value( term( "o1" ) ) ) ) ) ) ) );
assertTrue( kb.isConsistent() );