Hi Bob,
Seems to be working for me.
The <http://jena.apache.org/2016/tdb#DatasetTDB2> looks right.
What does myDataset.ttl look like?
Does
tdb2.tdbloader --loc DB2 myData.ttl
work?
The error would be caused if Jena initialization failed but
tdb2.tdbloader needs the TDB2 code to run at all!
Andy
Couple of points:
1/ You can load data through the web UI into TDB2 - slower than the bulk
loader at scale but there are no size limits (unlike TDB1). Maybe the
time saved stopping and starting Fuseki compensates!
2/ You can load the database then move it into place in Fuseki.
Sometimes an easier workflow.
Andy
On 29/01/2022 15:08, b...@snee.com wrote:
I thought that the following steps worked for me just fine a few weeks
ago, but today I'm getting an error.
From the 4.3.2 fuseki web-based interface, I created a "Persistent
(TDB2)" database called myDataset. I then shut down fuseki and confirmed
that a run/configuration/myDataset.ttl file had been created.
I then tried to load data into the dataset like this:
~/Downloads/apache-jena-4.3.2/bin/tdb2.tdbloader --tdb
/Users/bobdc/Downloads/apache-jena-fuseki-4.3.2/run/configuration/myDataset.ttl
myData.ttl
I then got this error:
org.apache.jena.sparql.ARQException: No such type:
<http://jena.apache.org/2016/tdb#DatasetTDB2>
Can anyone tell me what I'm doing wrong?
Thanks,
Bob