So it I wanted to used om.CreateIndividual(), then will the individual get
stored in the TDB or just in memory?


On Sat, Sep 21, 2013 at 6:19 AM, Andy Seaborne <[email protected]> wrote:

> On 20/09/13 18:03, Ralph Perniciaro wrote:
>
>> Is this the best way to get a reference to OntModel from TDB?
>>
>>          Dataset d = TDBFactory.createDataset("**some_location");
>>
>>          Model m = d.getDefaultModel();
>>          OntModelSpec spec = new
>> OntModelSpec(OntModelSpec.OWL_**MEM_TRANS_INF);
>>          OntModel om = ModelFactory.**createOntologyModel(spec, m);
>>
>> Thanks!
>>
>> Ralph
>>
>>
> That looks OK - the inference engine will use memory for it's workspace
> and additonal triples inferred.
>
>         Andy
>
>

Reply via email to