Package org.mindswap.pellet.jena.graph.loader

Examples of org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader


    return reasoner;
    }

    public PelletInfGraph bind( Graph graph ) throws ReasonerException {
        log.fine("In bind!");
        return new PelletInfGraph( graph, this, new DefaultGraphLoader() );
    }
View Full Code Here


        log.fine("In bind!");
      return ModelFactory.createInfModel( bind( model.getGraph() ) );
    }
   
    public PelletInfGraph bind( KnowledgeBase kb ) throws ReasonerException {
        return new PelletInfGraph( kb, this, new DefaultGraphLoader() );
    }
View Full Code Here

    GraphLoader savedLoader = loader;
   
    SimpleUnion unionGraph = (SimpleUnion) savedLoader.getGraph();
    unionGraph.addGraph( tempGraph );
       
    loader = new DefaultGraphLoader();
    loader.setGraph( unionGraph );
    loader.setKB( kb );
    loader.preprocess();
   
    return savedLoader;
View Full Code Here

   
    OntBuilder builder = new OntBuilder( kb );
    KnowledgeBase copyKB;
    PelletInfGraph copyGraph;

    GraphLoader loader = new DefaultGraphLoader();
    for( ATermAppl axiom : explanation ) {
      prunedExplanation.remove( axiom );

      copyKB = builder.build( prunedExplanation );
      copyGraph = new PelletInfGraph( copyKB, (PelletReasoner) getReasoner(), loader );
View Full Code Here

        return bindSchema( model.getGraph() );
    }

    public PelletInfGraph bind( Graph graph ) throws ReasonerException {
        log.fine("In bind!");
        return new PelletInfGraph( graph, this, new DefaultGraphLoader() );
    }
View Full Code Here

        log.fine("In bind!");
      return ModelFactory.createInfModel( bind( model.getGraph() ) );
    }
   
    public PelletInfGraph bind( KnowledgeBase kb ) throws ReasonerException {
        return new PelletInfGraph( kb, this, new DefaultGraphLoader() );
    }
View Full Code Here

    GraphLoader savedLoader = loader;
   
    SimpleUnion unionGraph = (SimpleUnion) savedLoader.getGraph();
    unionGraph.addGraph( tempGraph );
       
    loader = new DefaultGraphLoader();
    loader.setGraph( unionGraph );
    loader.setKB( kb );
    loader.preprocess();
   
    return savedLoader;
View Full Code Here

   
    OntBuilder builder = new OntBuilder( kb );
    KnowledgeBase copyKB;
    PelletInfGraph copyGraph;

    GraphLoader loader = new DefaultGraphLoader();
    for( ATermAppl axiom : explanation ) {
      prunedExplanation.remove( axiom );

      copyKB = builder.build( prunedExplanation );
      copyGraph = new PelletInfGraph( copyKB, (PelletReasoner) getReasoner(), loader );
View Full Code Here

TOP

Related Classes of org.mindswap.pellet.jena.graph.loader.DefaultGraphLoader

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.