Examples of GetSuperClasses


Examples of org.semanticweb.owlapi.owllink.builtin.requests.GetSuperClasses

  }
 
  @Test
  public final void testGetSuperClasses() throws OWLReasonerRuntimeException {
    for( OWLClassExpression x : ontology.getClassesInSignature() ) {
      SetOfClassSynsets expected = referenceReasoner.answer(new GetSuperClasses(referenceReasoner.getDefaultKB(), x));
      SetOfClassSynsets actual = heraklesReasoner.answer(new GetSuperClasses(heraklesReasoner.getDefaultKB(), x));     
      assertEquals( expected.getFlattened(), actual.getFlattened() )
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.