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) {
   handleObject(node);
   node.getPredicate().accept(this);
   node.getFirstArgument().accept(this);
   node.getSecondArgument().accept(this);
 }
 @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);
 }
Esempio n. 4
0
 @Override
 public void visit(SWRLObjectPropertyAtom node) {
   node.getPredicate().accept(this);
 }
 @Override
 public void visit(SWRLObjectPropertyAtom node) {
   node.getFirstArgument().accept(this);
   node.getSecondArgument().accept(this);
 }
Esempio n. 6
0
 @Override
 public SWRLObjectPropertyAtom visit(SWRLObjectPropertyAtom node) {
   return node.getSimplified();
 }