ATermAppl[] head = new ATermAppl[] { ATermUtils.makePropAtom( q, x, y ) };
ATermAppl[] body = new ATermAppl[] { ATermUtils.makePropAtom( p, 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( ObjectProperty( "p" ), variable( "x" ), variable( "y" ) ) );