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

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

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

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.