kb.addPropertyValue( p, a, b );
kb.addPropertyValue( p, b, c );
kb.addPropertyValue( p, c, c );
AtomIVariable x = new AtomIVariable( "x" );
List<RuleAtom> body = Arrays.<RuleAtom>asList( new IndividualPropertyAtom( p, x, new AtomIConstant( c ) ) );
List<RuleAtom> head = Arrays.<RuleAtom>asList( new ClassAtom( A, x ) );
kb.addRule( new Rule( head, body ) );