On 19/02/2022 17:15, Neubert, Joachim wrote:
In the Fuseki UI, I get apparent duplicates in the service list (see also screenshot):

SPARQL Update /wikidata/ SPARQL Update /wikidata/update

That's fine.

That's two endpoints both of which provide update.

Because you used fuseki:serviceUpdate the server adds both the named endpoint and the enables the operation on the dataset URL - this is for long-time compatibility.

In new-style setup, the config file specifices exactly what teh server will have:
("new" is several years!)


Example 1:
<#service_wikidata> rdf:type fuseki:Service ;
   fuseki:name                     "wikidata" ;
   fuseki:endpoint [
       fuseki:operation fuseki:update ;
   ] ;
   fuseki:endpoint [
       fuseki:operation fuseki:update ;
       fuseki:name "update"
   ] ;
....

Example 2:
:service rdf:type fuseki:Service ;
    fuseki:name "dataset" ;
    fuseki:endpoint [
        fuseki:operation fuseki:query ;
        fuseki:name "sparql" ;
    ] ;
    fuseki:endpoint [
        fuseki:operation fuseki:update ;
        fuseki:name "sparql" ;
    ] ;
    fuseki:dataset :dataset ;
    .

Query and Update on /dataset/sparql.

No name, or fuseki:name "" for an endpoint is the dataset itself.
This is for all the SPARQL standard functions but does include GSP. Dispatch is based on content type, and query string.

    Andy


Is something wrong with my definitions (below), or is that an interface issue?

Cheers, Joachim

Fuseki:     VERSION: 4.5.0-SNAPSHOT

Fuseki:     BUILD_DATE: 2022-02-09T18:01:44Z

<#service_wikidata> rdf:type fuseki:Service ;

     rdfs:label                      "wikidata TDB Service (RW)" ;

     fuseki:name                     "wikidata" ;

     fuseki:serviceQuery             "query" ;

     fuseki:serviceQuery             "sparql" ;

     fuseki:serviceUpdate            "update" ;

     fuseki:serviceUpload            "upload" ;

     fuseki:serviceReadWriteGraphStore    "data" ;

     fuseki:serviceReadGraphStore    "get" ;

     fuseki:dataset           :wikidata ;

     .

--

Joachim Neubert

ZBW – Leibniz Information Centre for Economics

Neuer Jungfernstieg 21
20354 Hamburg

Phone +49-40-42834-462

Reply via email to