Search code examples
rdfjenafusekitriplestoretdb

Jena Fuseki - Load ttl file into a graph (new or already present) in a dataset


I'm using Apache Jena Fuseki 2.3.0.

I need to split my data into different graphs (two), so I have to specify the graph of a dataset to load the data into.

I need to use tdbloader but I can't figure out how the graph name can be specified on the command line. I read the docs here but I can't find any reference to the dataset graph name.

Any help is approciated. Thanks.


Solution

  • tdbloader has a --graph=IRI parameter. Or you can load your data as n-quads, where the graph name is part of the data. tbdbloader, like most of the Jena utilities, accepts a --help parameter which will show you the options.