Hi everybody,

I'm having some issue with SPARQL Updates through tdb.tdbupdate. I've tried the following queries (I formatted here for readability. Usually it on one line):

$ java tdb.tdbupdate --loc=/data/fuseki/DB/DB.worldbank2 '
WITH <http://worldbank.270a.info/graph/meta>
DELETE { <http://worldbank.270a.info/dataset/indicator> ?p ?o }
INSERT { <http://worldbank.270a.info/dataset/world-development-indicators> ?p ?o . }
WHERE { <http://worldbank.270a.info/dataset/indicator> ?p ?o }'

and

$ java tdb.tdbupdate --loc=/data/fuseki/DB/DB.worldbank2 '
DROP GRAPH <http://worldbank.270a.info/graph/meta>'

and they both give me this:

[2012-03-05 23:26:08] WARN ModTDBDataset :: Unexpected: Not a TDB dataset for type DatasetTDB Exception in thread "main" java.lang.ClassCastException: com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction cannot be cast to com.hp.hpl.jena.tdb.store.DatasetGraphTDB at tdb.cmdline.ModTDBGraphStore.createGraphStore(ModTDBGraphStore.java:50)
        at arq.cmdline.ModGraphStore.getGraphStore(ModGraphStore.java:51)
        at arq.cmdline.CmdUpdate.exec(CmdUpdate.java:56)
        at arq.cmdline.CmdMain.mainMethod(CmdMain.java:97)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:59)
        at arq.cmdline.CmdMain.mainRun(CmdMain.java:46)
        at tdb.tdbupdate.main(tdbupdate.java:33)

I've also tried it through Fuseki's s-update as well, however, it just hangs there. I see POST being picked up by Fuseki, but nothing else happens.


$ java tdb.tdbupdate --version
Jena:       VERSION: 2.7.0-incubating
Jena:       BUILD_DATE: 2011-12-14T14:54:09+0000
ARQ:        VERSION: 2.9.0-incubating
ARQ:        BUILD_DATE: 2011-12-14T15:04:27+0000
TDB:        VERSION: 0.9.0-incubating-SNAPSHOT
TDB:        BUILD_DATE: 2012-02-19T04:04:35+0000

Any ideas?

-Sarven

Reply via email to