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

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


  }
 
  @Test
  public final void testGetEquivalentObjectProperties() throws OWLReasonerRuntimeException {
    for( OWLObjectPropertyExpression x : ontology.getObjectPropertiesInSignature() ) {
      SetOfObjectProperties expected = referenceReasoner.answer(new GetEquivalentObjectProperties(referenceReasoner.getDefaultKB(), x));
      SetOfObjectProperties actual = heraklesReasoner.answer(new GetEquivalentObjectProperties(heraklesReasoner.getDefaultKB(), x));     
      assertEquals( new HashSet<OWLObjectPropertyExpression>().addAll(expected), new HashSet<OWLObjectPropertyExpression>().addAll(actual) )
    }
  }
View Full Code Here

TOP

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

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.