On 23/08/14 23:43, Martynas Jusevičius wrote:
Hey,
are there any examples on how to assemble a Dataset, with files
becoming (possibly renamed) named graphs?
To be strictly accurate: Graphs don't have names - the slot in the
dataset has the name.
Or maybe assembler is not
the right tool for this?
It is ...
I checked the how-to but it's mostly about Models.
https://jena.apache.org/documentation/assembler/assembler-howto.html
You are right - it is missing.
These might help:
http://jena.apache.org/documentation/tdb/assembler.html
http://jena.apache.org/documentation/serving_data/
specifically "Fuseki Server and general dataset descriptions"
<#dataset> rdf:type ja:RDFDataset ;
ja:defaultGraph <#modelDft> ;
ja:namedGraph
[ ja:graphName <http://example.org/name1> ;
ja:graph <#model1> ] ;
.
then <#modelDft> and <#model1> are graph descriptions.
Martynas
graphityhq.com