}
@Test
public void testAxiomConverterRules4() {
KnowledgeBase kb = new KnowledgeBase();
AxiomConverter converter = new AxiomConverter( kb, OWL.manager.getOWLDataFactory() );
ATermAppl r = ATermUtils.makeTermAppl( "r" );
ATermAppl s = ATermUtils.makeTermAppl( "s" );
ATermAppl x = ATermUtils.makeVar( "x" );
ATermAppl y = ATermUtils.makeVar( "y" );
kb.addDatatypeProperty( r );
kb.addDatatypeProperty( s );
ATermAppl[] head = new ATermAppl[] { ATermUtils.makePropAtom( r, x, y ) };
ATermAppl[] body = new ATermAppl[] { ATermUtils.makePropAtom( s, x, y ) };
ATermAppl rule = ATermUtils.makeRule( head, body );
OWLAxiom actual = converter.convert( rule );
Set<SWRLAtom> antecedent = new HashSet<SWRLAtom>();
Set<SWRLAtom> consequent = new HashSet<SWRLAtom>();
antecedent.add( propertyAtom( DataProperty( "s" ), variable( "x" ), variable( "y" ) ) );