On Mon, 2011-06-27 at 14:31 +0100, Daniel Blum wrote: 
> Hi,
>  
> When i'm creating an RDFS model all the schema triples are added to the model:
> 
> Model _graphModel = TDBFactory.createModel(_tdbPath);
> _graphModel.setNsPrefix(alias, fullNs);
> _schema = FileManager.get().loadModel(ns);
> _infModel = ModelFactory.createRDFSModel(_schema, _graphModel);

That shouldn't result in a triples being added to _graphModel.

The forward inference results will be stored in the associated
"deductions model" (see getDeductionsModel) which will be in-memory.
Additional inference results are manifested at query time by the
backward chainer. The base model should never be modified by a reasoner
constructed over the top.

> Is there a way to avoid storing those triples in the TDB?

Are you able to construct a minimal complete example which shows triples
being stored in the TDB?

Dave


Reply via email to