Ejemplo n.º 1
0
 @Override
 protected ExtendedIterator<Triple> processMethod() throws AsyncException {
   checkOpen();
   if (!isPrepared) prepare(getHandler(""));
   Finder cascade =
       transitiveEngine.getFinder(
           getHandler(""), pattern, FinderUtil.cascade(tbox, continuation));
   return UniqueExtendedIterator.create(cascade.find(getHandler(""), pattern));
 }
Ejemplo n.º 2
0
 @Override
 protected ExtendedIterator<Triple> processMethod() throws AsyncException {
   checkOpen();
   if (!isPrepared) prepare(getHandler(""));
   ExtendedIterator<Triple> result = null;
   if (fdata == null) {
     result = fdeductions.findWithContinuation(getHandler("result"), pattern, continuation);
   } else {
     if (continuation == null) {
       result = fdata.findWithContinuation(getHandler("result"), pattern, fdeductions);
     } else {
       result =
           fdata.findWithContinuation(
               getHandler("result"), pattern, FinderUtil.cascade(fdeductions, continuation));
     }
   }
   if (filter && filterFunctors) {
     return result.filterDrop(Functor.acceptFilter);
   } else {
     return result;
   }
 }