@Override public void visit(SWRLObjectPropertyAtom node) { handleObject(node); node.getPredicate().accept(this); node.getFirstArgument().accept(this); node.getSecondArgument().accept(this); }
public Atom visit(SWRLObjectPropertyAtom atom) { Variable variable1 = toVariable(atom.getFirstArgument()); Variable variable2 = toVariable(atom.getSecondArgument()); m_abstractVariables.add(variable1); m_abstractVariables.add(variable2); return getRoleAtom(atom.getPredicate().asOWLObjectProperty(), variable1, variable2); }
@Override public void visit(SWRLObjectPropertyAtom node) { node.getPredicate().accept(this); OWLObjectPropertyExpression exp = (OWLObjectPropertyExpression) obj; node.getFirstArgument().accept(this); SWRLIArgument arg0 = (SWRLIArgument) obj; node.getSecondArgument().accept(this); SWRLIArgument arg1 = (SWRLIArgument) obj; obj = dataFactory.getSWRLObjectPropertyAtom(exp, arg0, arg1); }
@Override public void visit(SWRLObjectPropertyAtom node) { node.getFirstArgument().accept(this); node.getSecondArgument().accept(this); }