Package org.mindswap.pellet

Examples of org.mindswap.pellet.KnowledgeBase.classify()


    kb.addIndividual( c );
   
    kb.addType( a, C );
           
    // kb will be in classified state
    kb.classify();
   
    assertTrue( kb.isType( a, D ) );
    assertFalse( kb.isType( b, D ) );
    assertFalse( kb.isType( c, D ) );
   
View Full Code Here


    if( !isConsistent )
      throw new PelletCmdException( "Ontology is inconsistent, run \"pellet explain\" to get the reason" );

    startTask( "classification" );
    kb.classify();
    finishTask( "classification" );
   
    startTask( "realization" );
    kb.realize();
    finishTask( "realization" );
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.