Examples of addSubProperty()


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

    kb.addObjectProperty( q2 );
    kb.addObjectProperty( q );
    kb.addObjectProperty( r );
   
    kb.addEquivalentProperty( q, q2 );
    kb.addSubProperty( list( p, q2, r ), q );
   
    kb.addClass( B );
    kb.addClass( C );
    kb.addClass( D );
    kb.addSubClass( B, some( p, some( q, some( r, D ) ) ) );
View Full Code Here

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

    ATermAppl d = term( "d" );
   
    kb.addObjectProperty( p );
    kb.addObjectProperty( q );
    kb.addObjectProperty( r );
    kb.addSubProperty( list( p, q, r ), r );
   
    kb.addClass( C );
    kb.addClass( D );
    kb.addSubClass( C, some( p, some( q, some( r, all( inv( r ), D ) ) ) ) );
 
View Full Code Here

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

    kb.addObjectProperty( s );
   
    kb.addTransitiveProperty( r );
    kb.addTransitiveProperty( s );
   
    kb.addSubProperty( r, p );
    kb.addSubProperty( s, p );   

    kb.addIndividual( a );
    kb.addIndividual( b );
    kb.addIndividual( c );
View Full Code Here

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

   
    kb.addTransitiveProperty( r );
    kb.addTransitiveProperty( s );
   
    kb.addSubProperty( r, p );
    kb.addSubProperty( s, p );   

    kb.addIndividual( a );
    kb.addIndividual( b );
    kb.addIndividual( c );
    kb.addIndividual( d );
View Full Code Here

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

    kb.addEquivalentClass( C, some( p, TOP ) );
    kb.addEquivalentClass( E, some( q, TOP ) );

    kb.addObjectProperty( p );
    kb.addObjectProperty( q );
    kb.addSubProperty( q, p );

    kb.addIndividual( a );
    kb.addIndividual( b );

    kb.addType( a, C );
View Full Code Here

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

   
    // verify realization occurred
    assertEquals( 2, realizeTimer.getCount() );
   
    // make an ABox change causing p = q and as a result C = E
    kb.addSubProperty( p, q );

    // check consistency again
    assertTrue( kb.isConsistent() );
   
    // both classification and realization results are invalidated
View Full Code Here

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

    kb.addObjectProperty( q2 );
    kb.addObjectProperty( q );
    kb.addObjectProperty( r );
   
    kb.addEquivalentProperty( q, q2 );
    kb.addSubProperty( list( p, q2, r ), q );
   
    kb.addClass( B );
    kb.addClass( C );
    kb.addClass( D );
    kb.addSubClass( B, some( p, some( q, some( r, D ) ) ) );
View Full Code Here

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

    ATermAppl d = term( "d" );
   
    kb.addObjectProperty( p );
    kb.addObjectProperty( q );
    kb.addObjectProperty( r );
    kb.addSubProperty( list( p, q, r ), r );
   
    kb.addClass( C );
    kb.addClass( D );
    kb.addSubClass( C, some( p, some( q, some( r, all( inv( r ), D ) ) ) ) );
 
View Full Code Here

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

    ATermAppl c = term( "c" );

    kb.addObjectProperty( p );
    kb.addObjectProperty( q );
    kb.addObjectProperty( r );
    kb.addSubProperty( list( p, q ), r );

    kb.addClass( C );
    kb.addClass( D );
    kb.addSubClass( C, some( p, some( q, all( inv( r ), D ) ) ) );
View Full Code Here

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

    ATermAppl d = term( "d" );
   
    kb.addObjectProperty( p );
    kb.addObjectProperty( q );
    kb.addObjectProperty( r );
    kb.addSubProperty( list( p, q, r ), q );
   
    kb.addClass( B );
    kb.addClass( C );
    kb.addClass( D );
    kb.addSubClass( B, some( p, some( q, some( r, D ) ) ) );
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.