On 27/02/12 20:32, Sarven Capadisli wrote:
Hi all,

When I do the following:

java tdb.tdbloader --desc=tdb2.ttl --graph=default file.nt

I get the following warning:

WARN ModTDBDataset :: Unexpected: Not a TDB dataset for type DatasetTDB

My tdb2.ttl contains:

@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .

[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" .
[] ja:loadClass "org.openjena.fuseki.BackwardForwardDescribeFactory" .

tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset .
tdb:GraphTDB rdfs:subClassOf ja:Model .

<#dataset> rdf:type tdb:DatasetTDB ;
tdb:location "DB" ;
tdb:unionDefaultGraph true ;
.

The data gets imported nevertheless, however, I was wondering whether I
need to worry about that warning.

looking at the code ... no.

It's a warning which does change what the code does. It is, nowadays, an internal check and one which is not valid any more.

        Andy

"--graph default" creates a named graph with URI <default>.

Thanks,

-Saven

Reply via email to