Oops, that's not the entire assembler file.  Forgot the Fuseki stuff:

@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> ;
    .

ja:DatasetNull  rdfs:subClassOf ja:RDFDataset .
<#emptyDataset> rdf:type        ja:DatasetNull ;
  ja:transactional true .



On Thu, Oct 31, 2013 at 12:12 PM, Stephen Allen <[email protected]> wrote:

> You may want to use the transactional version for testing, it will allow
> streaming for updates through Fuseki (I'm assuming that is what you are
> testing).  I my assembler file looks like:
>
>  @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#> .
> ja:DatasetNull  rdfs:subClassOf ja:RDFDataset .
> <#emptyDataset> rdf:type        ja:DatasetNull ;
>     ja:transactional true .
>
>
>
> On Tue, Oct 29, 2013 at 2:22 PM, Tim Harsch <[email protected]> wrote:
>
>> I discovered DatasetAssemblerVocab which helped me realize I was using a
>> wrong prefix.  So, looks like this will do it:
>>
>> @prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
>> <#dataset> rdf:type      ja:DatasetNull .
>>
>>
>>
>> > On Tuesday, October 29, 2013 11:10 AM, Tim Harsch <[email protected]>
>> wrote:
>> > > Does anyone have an example of creating a GraphStoreNull or
>> > GraphStoreNullTransactional using an assembler configuration file?
>> >
>>
>
>

Reply via email to