Hi,

(This is a response to the thread which ended in 2014 with [0] mail)

I have the same problem which was discussed in this thread and also
there is the same question on StackOverflow [1], so it means that at
least three persons in the world has or had this problem.

I managed to configure Fuseki to store every named graph in TDB. Here
is a minimal configuration (Fuseki 2.3.1 is used):

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

<#service1> a fuseki:Service ;
    fuseki:name                         "ds" ;
    fuseki:serviceQuery                 "sparql" ;
    fuseki:serviceQuery                 "query" ;
    fuseki:dataset                      <#dataset> .

<#dataset> rdf:type tdb:DatasetTDB ;
    tdb:location "./fuseki-db" .

The other part of the question (which I did not find a answer to) is
how to enable reasoning on the default and all named graphs? Or at
least on the default graph?

I already tried different combinations, but without any success, one
of them is the following:
[] a fuseki:Server ;
    fuseki:services ( <#service1> )  .

<#service1> a fuseki:Service ;
    fuseki:name                         "ds" ;
    fuseki:serviceQuery                 "sparql" ;
    fuseki:serviceQuery                 "query" ;
    fuseki:dataset                      <#dataset> .

<#dataset> rdf:type tdb:DatasetTDB ;
    tdb:location "./fuseki-db" ;
    ja:defaultGraph <#infModel> .

<#tdbGraph> a tdb:GraphTDB ;
    tdb:dataset <#dataset> .

<#infModel> a ja:InfModel ;
    ja:baseModel <#tdbGraph> ;
    ja:reasoner [
        ja:reasonerURL <http://jena.hpl.hp.com/2003/RDFSExptRuleReasoner> ;
    ] .

[0]: 
http://mail-archives.apache.org/mod_mbox/jena-users/201405.mbox/%[email protected]%3E
[1]: 
http://stackoverflow.com/questions/35428064/reasoning-with-fuseki-tdb-and-named-graphs

Thank you in advance!
Maxim Kolchin
PhD Student @ ITMO University (National Research University)
E-mail: [email protected]
Tel.: +7 (911) 199-55-73
Homepage: http://kolchinmax.ru

Reply via email to