Examples of GetObjectPropertyTargets


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

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