On 07/02/13 21:36, Tom Sinicki wrote:
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