Package org.mindswap.pellet.owlapi

Examples of org.mindswap.pellet.owlapi.Reasoner.realise()


    OWLIndividual Remus = Individual( ns + "Remus" );
    OWLIndividual Romulus = Individual( ns + "Romulus" );

    for( int test = 0; test < 2; test++ ) {
      if( test != 0 )
        reasoner.realise();

      assertTrue( reasoner.hasObjectPropertyRelationship( Abel, sibling, Cain ) );

      assertIteratorValues( reasoner.getRelatedIndividuals( Abel, sibling ).iterator(),
          new Object[] { Cain } );
View Full Code Here


    OWLIndividual Bob = Individual( ns + "Bob" );
    OWLIndividual Charlie = Individual( ns + "Charlie" );

    for( int test = 0; test < 1; test++ ) {
      if( test != 0 )
        reasoner.realise();

      assertIteratorValues( reasoner.getIndividuals( DreamTeamMember, false ).iterator(),
          new Object[] { Alice, Bob, Charlie } );

      assertIteratorValues( reasoner.getIndividuals( DreamTeamMember1, false ).iterator(),
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.