ATermAppl f = term( "f" );
ATermAppl sub = Datatypes.SHORT;
ATermAppl sup = Datatypes.INTEGER;
kb.addDatatype(sub);
kb.addDatatype(sup);
kb.addDatatypeProperty( p );
kb.addDatatypeProperty( f );
kb.addFunctionalProperty( f );
assertSatisfiable( kb, and( min( p, 2, and( c, d ) ), max( p, 2, c ), some( p, or( and( c,