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
