コード例 #1
0
 @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);
 }
 public void visit(SWRLObjectPropertyAtom node) {
   node.getPredicate().accept(this);
   node.getFirstArgument().accept(this);
   node.getSecondArgument().accept(this);
 }