Hello Andy, hello all,
I think I messed up the upload, the ttl was from an (fruitless) experiment.
I re-uploaded the correct version to:
http://www.megafileupload.com/en/file/331059/fuseki-tdb-pellet-data-corrupted-on-insert-reupload-zip.html

But anyway, it is exactly the same with the following ttl:
(fuseki-start with "--desc pellet.ttl /dataset" accordingly)
=== === === === === ===
@prefix fuseki:  <http://jena.apache.org/fuseki#> .
@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 :        <#> .

# Declaration additional assembler items.
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" .

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

# DATA SECTION
<#pelletGraph> rdf:type ja:RDFDataset   ;
        ja:defaultGraph <#reasonerModel> ;
  .

<#reasonerModel> rdf:type ja:InfModel ;
        ja:reasoner [ja:reasonerClass
                "org.mindswap.pellet.jena.PelletReasonerFactory" ;
        ] ;
        ja:baseModel <#baseGraph> ;
        .

<#baseGraph> rdf:type tdb:GraphTDB ;
        tdb:location "dataset" ;
        .
=== === === === === ===

Note that the fuseki-init script also should load the pizza.owl file from the 
ontology directory (wrong filename).
Sorry for messing this up :-(


I also tried it completely without pellet - in this case I do not get a Server 
Error.
Although with this ttl I noticed that the updates (inserts) I did are no longer 
present when I restart the server:
=== snipplet ===
<#pelletGraph> rdf:type ja:RDFDataset   ;
        ja:defaultGraph <#baseGraph> ;
  . 
<#baseGraph> rdf:type tdb:GraphTDB ;
        tdb:location "dataset" ;
        .
=== === ===

The Java version, btw, is:
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

Please ask for any further details. I can also re-upload the corrected versions
Thanks to all,
Chris




-----Ursprüngliche Nachricht-----
Von: Andy Seaborne [mailto:[email protected]] Im Auftrag von Andy 
Seaborne
Gesendet: Sonntag, 30. Oktober 2011 17:59
An: [email protected]
Betreff: Re: Details: Fuseki + TDB + Pellet -> corrupting data on INSERT

On 28/10/11 15:33, Christoph Herzog wrote:

You have Pellet running over "dataset" but you directly insert into 
"dataset" without going via Pellet.

Could you try doing this without Pellet at all - at the moment, I can't 
see what's going on whatsoever (e.g. I don't run Windows nor Pellet).

(What does "java -version" say? 32 bit or 64 bit?)

        Andy

Reply via email to