Examples of GetDifferentIndividuals


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

  }
 
  @Test
  public final void testGetDifferentIndividuals() throws OWLReasonerRuntimeException {
    for( OWLNamedIndividual x : ontology.getIndividualsInSignature() ) {
      SetOfIndividualSynsets expected = referenceReasoner.answer(new GetDifferentIndividuals(referenceReasoner.getDefaultKB(), x));
      SetOfIndividualSynsets actual = heraklesReasoner.answer(new GetDifferentIndividuals(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.