Hello there again,

I have an SDB Store which has several Named Graphs, and I would like to get an 
OntoModel for a specific named graph model from the SDB Store. To achieve this 
I do the following steps (Assume connection to the store):

(1) Model baseModel = SDBFactory.connectNamedModel(store, modelName);
(2) OntModelSpec modelSpec = new OntModelSpec(OntModelSpec.OWL_MEM); 
(3) OntModel ontModel = ModelFactory.createOntologyModel(modelSpec, baseModel);

Do I miss something here? because from the log files it seems that the 
FileMangaer.readModel() method is called that retrieves each ontology URI from 
the web. This is an example of what I am getting: FileManager:331 - 
readModel(model,http://purl.org/dc/terms/) etc..

I thought that every interaction with the model would be translated into a call 
to the database. Is there any other way that I can use to get an OntoModel from 
a Named Graph that is stored into an SDB Store? 

I am using MySQL, jena-sdb-1.3.5, jena-core-2.7.3, jena-iri0.9.3


Many Thanks in advance for your help.

Paul

Reply via email to