@Override public void visit(SWRLDifferentIndividualsAtom node) { node.getFirstArgument().accept(this); SWRLIArgument arg0 = (SWRLIArgument) obj; node.getSecondArgument().accept(this); SWRLIArgument arg1 = (SWRLIArgument) obj; obj = dataFactory.getSWRLDifferentIndividualsAtom(arg0, arg1); }
public Atom visit(SWRLDifferentIndividualsAtom atom) { Variable variable1 = toVariable(atom.getFirstArgument()); Variable variable2 = toVariable(atom.getSecondArgument()); return Atom.create(Inequality.INSTANCE, variable1, variable2); }
@Override public void visit(SWRLDifferentIndividualsAtom node) { handleObject(node); node.getFirstArgument().accept(this); node.getSecondArgument().accept(this); }