Package org.semanticweb.owlapi.owllink.builtin.response

Examples of org.semanticweb.owlapi.owllink.builtin.response.SetOfDataPropertySynsets


    }
  }
 
  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


  }
 
  @Test
  public final void testGetSuperDataProperties() throws OWLReasonerRuntimeException {
    for( OWLDataProperty x : ontology.getDataPropertiesInSignature() ) { 
      SetOfDataPropertySynsets expected = referenceReasoner.answer(new GetSuperDataProperties(referenceReasoner.getDefaultKB(), x, true));
      SetOfDataPropertySynsets actual = heraklesReasoner.answer(new GetSuperDataProperties(heraklesReasoner.getDefaultKB(), x, true));     
      assertEquals( expected.getFlattened(), actual.getFlattened() );
     
      expected = referenceReasoner.answer(new GetSuperDataProperties(referenceReasoner.getDefaultKB(), x, false));
      actual = heraklesReasoner.answer(new GetSuperDataProperties(heraklesReasoner.getDefaultKB(), x, false));     
      assertEquals( expected.getFlattened(), actual.getFlattened() )
    }
  }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.owllink.builtin.response.SetOfDataPropertySynsets

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.