Thanks,
regarding the link you mean:
# A dataset of one TDB-backed graph as the default graph and
# an in-memory graph as a named graph.
<#dataset> rdf:type ja:RDFDataset ;
ja:defaultGraph <#graph> ; <-- here the instances will be stored?
ja:namedGraph
[ ja:graphName <http://example.org/name1> ;
ja:graph <#graph2> ] ; <-- this is the schema?
.
<#graph> rdf:type tdb:GraphTDB ;
tdb:location "DB" ;
.
<#graph2> rdf:type ja:MemoryModel ; <-- will not be persisted in the TDB and
will be load on startup, right?
ja:content [ja:externalContent <file:Data/books.n3> ] ;
.
I hope I got you right?
Thanks Tom
>Hi everyone,
>At first, I'm completely new to the jena and the topic of triplestores at all.
>I would like to separate my ontology (schema) and my instances/entities in
>Fuseki. So I have to load my >owl/rdf file and mix it with the entities
>somehow. This seem to be quite similar to that topic:
>http://mail-archives.apache.org/mod_mbox/jena-users/201205.mbox/%[email protected]%3E
><#rdfs_model> rdf:type ja:UnionModel ; ja:subModel <#document_dataset> ; <---
>this I should substitute with my
>schema file? ja:rootModel <#tdb_dataset> ;
These have to be models (graphs), not datasets (collections of graphs).
>Instead of <#document_dataset> could I use something like that:?
><#document_dataset> rdf:type ja:RDFDataset ; <-- Is RDFDataset useable for
>OWL in RDF-Syntax? rdfs:label "schema" ; ja:defaultGraph [ rdfs:label
>"schema.rdf" ; a ja:MemoryModel ; ja:content [ja:externalContent
><file:Data/schema.rdf> ] ; ] ; .
If you want TDB-backed graphs:
<#graph> rdf:type tdb:GraphTDB ; <--- use <#graph> above tdb:dataset <#dataset>
.
<#dataset> rdf:type tdb:DatasetTDB ; tdb:location "DB" ;
http://jena.apache.org/documentation/tdb/assembler.html#graph
>Could someone be so kind as to give me a hint for that?
>Thanks Tom