All,

So I'm trying to test the streaming SPARQL Update changes I've done in
ARQ and Fuseki.  I've created a class called GraphStoreNull, which
implements the GraphStore interface.  It basically throws away all
quads that are added/removed and always answers with a null iterator
when querying.   I want to use it for stress testing the streaming
implementation by sending in a bunch of massively large SPARQL Update
requests (which jena-client can generate and stream over HTTP).

Anyway, the stumbling block I'm running into is how to create a config
file for Fuseki to use this class as the basis for a dataset.  I can't
seem to wrap my head around the whole Assembler functionality.  I've
got a config that looks like this:

=====================
@prefix :        <#> .
@prefix fuseki:  <http://jena.apache.org/fuseki#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

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

[] rdf:type fuseki:Server ;
   fuseki:services (
     <#service1>
   ) .

<#service1> rdf:type fuseki:Service ;
    fuseki:name                        "ds" ;
    fuseki:serviceQuery                "sparql" ;
    fuseki:serviceQuery                "query" ;
    fuseki:serviceUpdate               "update" ;
    fuseki:serviceUpload               "upload" ;
    fuseki:serviceReadWriteGraphStore  "data" ;
    fuseki:serviceReadGraphStore       "get" ;
    fuseki:dataset                     <#emptyDataset> ;
    .

<#emptyDataset> rdf:type ja:RDFDataset .   # this seems to make it use
an in-memory model

====================

What do I need to specify to make it use
"com.hp.hpl.jena.sparql.modify.GraphStoreNull" as the backing store
for #service1?

-Stephen

Reply via email to