On 15/05/13 10:05, Bahador(reza)? OFOGHI wrote:


Hi,

I have developed an OWL Ontology using Jena which includes the
general structure/graph of domain knowledge (only classes and
relationships). I would like to have the individuals/instances in a
separate TDB triplestore since the number of individuals is large. I
have no idea where to start from as I have never worked with TDB. My
questions are:

1- does anyone know if I can have the ontology and individuals
separate from each other, one in OWL and the latter in TDB?

Yes.

But can you put the ontology in one named graph and the individuals in another one, or the default graph, and hence in the same database?

2- if yes, any hints or link to anyweher I can find an example or a
walkthrough explanation of how this can be done?

You can put a single graph from TDB into a general dataset or just work with that one graph (transactions will not work across a mixture of graphs in a dataset).

https://jena.apache.org/documentation/tdb/assembler.html#graph

        Andy


Thanks in advance, BO


Reply via email to