Examples of GetSuperObjectProperties


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

  }
 
  @Test
  public final void testGetSuperObjectProperties() throws OWLReasonerRuntimeException {
    for( OWLObjectPropertyExpression x : ontology.getObjectPropertiesInSignature() ) {
      SetOfObjectPropertySynsets expected = referenceReasoner.answer(new GetSuperObjectProperties(referenceReasoner.getDefaultKB(), x, true));
      SetOfObjectPropertySynsets actual = heraklesReasoner.answer(new GetSuperObjectProperties(heraklesReasoner.getDefaultKB(), x, true));     
      assertEquals( expected.getFlattened(), actual.getFlattened() );
     
      expected = referenceReasoner.answer(new GetSuperObjectProperties(referenceReasoner.getDefaultKB(), x, false));
      actual = heraklesReasoner.answer(new GetSuperObjectProperties(heraklesReasoner.getDefaultKB(), x, false));     
      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.