Пример #1
0
 public NodeSet<OWLClass> getSubClasses(OWLClassExpression ce, boolean direct)
     throws InconsistentOntologyException, ClassExpressionNotInProfileException,
         FreshEntitiesException, ReasonerInterruptedException, TimeOutException {
   refreshCheck();
   try {
     Set<Set<ATermAppl>> result = kb.getSubClasses(term(ce), direct);
     return toClassNodeSet(result);
   } catch (PelletRuntimeException e) {
     throw convert(e);
   }
 }