public InfModel getInferenceModel(InfModel infModel,
IInferenceEngineConfiguration config, int index, Object init,
ProgressMonitor monitor) throws InterruptedException {
// create Pellet reasoner
Reasoner reasoner = PelletReasonerFactory.theInstance().create();
// create an inferencing model using Pellet reasoner and provided InfModel
return ModelFactory.createInfModel( reasoner, infModel );
}