Examples of GetDisjointObjectProperties


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

  }
 
  @Test
  public final void testGetDisjointObjectProperties() throws OWLReasonerRuntimeException {
    for( OWLObjectPropertyExpression x : ontology.getObjectPropertiesInSignature() ) {
      ObjectPropertySynsets expected = referenceReasoner.answer(new GetDisjointObjectProperties(referenceReasoner.getDefaultKB(), x));
      ObjectPropertySynsets actual = heraklesReasoner.answer(new GetDisjointObjectProperties(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.