I have the following inference work-flow:

 Model m = TDBFactory.createModel(directory) ;

 m.read(data);
        
 Reasoner reasoner = ReasonerRegistry.getOWLMiniReasoner();
        
 InfModel inf = ModelFactory.createInfModel(reasoner, m);

//up to here everything runs pretty fast
        
 m.add(inf.getDeductionsModel());               

// here the model.add takes forever to complete

 m.commit();

Has anyone recommendations to improve performance here or share best practice?


-- 
Marco Neumann
KONA

Make sure to join us at the Semantic Technology Conference 2011 in San
Francisco and save 15% with the coupon code STMN
http://www.lotico.com/evt/stc2011/

Reply via email to