On 22/08/2011 06:20, sourajit basak wrote:
I have a requirement where I have created an application ontology. Individuals
(instances) will be added/updated/removed based on this ontology. I am using an
OntModel backed by TDB.
My questions -
1) As the data keeps on growing, will the entire ontology (classes + instances) be
loaded each time I call TDBFactory.createNamedModel(ONT_URI,<directory>));
No. The data stays on disk, TDB loads information it needs to scan those
parts of the indexes needed for any query but it does not load the whole
model.
Dave
2) Is there any way to load just the schema (classes + property) definitions
and avoid loading any instances ? I can create separate uris for classes and
instances but that the instance ontology will soon be out of proportion.
rgds,
Sourajit