kb.addObjectProperty( r );
kb.addSubClass( TOP, min( r, 3, TOP ) );
kb.addSubClass( TOP, or( value( i ), value( j ), value( k ) ) );
kb.addPropertyValue( p, i, d );
AtomIVariable x = new AtomIVariable( "x" ), y = new AtomIVariable( "y" );
AtomDVariable z = new AtomDVariable( "z" );
RuleAtom head = new DatavaluedPropertyAtom( p, x, z );
RuleAtom body1 = new DatavaluedPropertyAtom( p, y, z );
RuleAtom body2 = new IndividualPropertyAtom( r, x, y );