Examples of GetSubDataProperties


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

    }
  }
 
  public final void testGetSubDataProperties() throws OWLReasonerRuntimeException {
    for( OWLDataProperty x : ontology.getDataPropertiesInSignature() ) { 
      SetOfDataPropertySynsets expected = referenceReasoner.answer(new GetSubDataProperties(referenceReasoner.getDefaultKB(), x, true));
      SetOfDataPropertySynsets actual = heraklesReasoner.answer(new GetSubDataProperties(heraklesReasoner.getDefaultKB(), x, true));     
      assertEquals( expected.getFlattened(), actual.getFlattened() );
     
      expected = referenceReasoner.answer(new GetSubDataProperties(referenceReasoner.getDefaultKB(), x, false));
      actual = heraklesReasoner.answer(new GetSubDataProperties(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.