Hi,

I'm trying to query my TDB store and I have some performance problems:
Here a simple query example:

PREFIX test:<...>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?r
{
    ?r rdf:type test:word .
}

I have to wait around 20 seconds to get a result - how can i optimize it?

The "count" query
PREFIX test:<...>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT count(?r)
{
    ?r rdf:type test:word .
}

returns 150 000.

My fuseki server is running with a -Xmx1024m parameter.

Thank you.
Jérôme.

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


<#test>    rdf:type ja:RDFDataset ;
    rdfs:label "Books" ;
    ja:defaultGraph
      [ rdfs:label "discours.rdf" ;
        a ja:MemoryModel ;
        ja:content [ja:externalContent <file:Data/discours.rdf> ] ;
      ] ;
    .

Reply via email to