Hi,

I've set up a config for Fuseki with tdb:unionDefaultGraph "true". This works 
great for queries and allows me to separate my data into graphs for easy update 
and delete operations.

However. I can't seem to get the graph protocol to work.

I can list all data in graphs with:

<http://localhost:3030/fuseki/admin/data>http://localhost:3030/fuseki/admin/get

But when I try to get the default graph (which should be the union), I get 
nothing (empty, but no errors).

<http://localhost:3030/fuseki/admin/data?default>http://localhost:3030/fuseki/admin/get?default

or

http://localhost:3030/fuseki/admin/get?graph=default

Is there something I've done wrong in my setup?

TTL config file:



@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#> .
@prefix :        <#> .

<#service1> rdf:type fuseki:Service ;
    fuseki:name                       "admin" ;       # http://host:port/ds
    fuseki:serviceQuery               "sparql" ;   # SPARQL query service
    fuseki:serviceQuery               "query" ;    # SPARQL query service (alt 
name)
    fuseki:serviceUpdate              "update" ;   # SPARQL update service
    fuseki:serviceUpload              "upload" ;   # Non-SPARQL upload service
    fuseki:serviceReadWriteGraphStore "data" ;     # SPARQL Graph store 
protocol (read and write)
    # A separate read-only graph store endpoint:
    fuseki:serviceReadGraphStore      "get" ;      # SPARQL Graph store 
protocol (read only)
    fuseki:dataset                   <#dataset> ;
    .

<#dataset> rdf:type      tdb:DatasetTDB ;
    tdb:location "/etc/fuseki/databases/admin" ;
     tdb:unionDefaultGraph true ;
     .


Regards,
Håvard M. Ottestad

Reply via email to