Package org.semanticweb.owlapi.owllink.builtin.requests

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

Related Classes of org.semanticweb.owlapi.owllink.builtin.requests.GetSuperObjectProperties

Copyright © 2018 www.massapicom. 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.