Nowadays you can have different operations on the same service endpoint:

This has query and update on /ds/sparql: new style configuration:
-----------------------------------------------------------------
<#service>
    rdf:type                                fuseki:Service ;
    fuseki:name                             "ds" ;
    fuseki:endpoint [
        fuseki:operation fuseki:query ;
        fuseki:name "sparql"
    ] ;
    fuseki:endpoint [
        fuseki:operation fuseki:update ;
        fuseki:name "sparql"
    ] ;
    fuseki:dataset <#dataset> .

<#dataset>
    rdf:type                                ja:MemoryDataset .
-----------------------------------------------------------------

Also, operations on directly "/ds" work - they are available if there is a named service endpoint with the operation with the same security of the named endpoint. (You can set dataset services directly and not have a named endpoint as well - the "on /dataset if there is a named service" is legacy support).

    Andy

On 04/04/2020 16:04, Bob DuCharme wrote:
Thanks Jean-Claude!

I didn't see the word "query", but where it said "/myDataset/sparql" in the SPARQL ENDPOINT field of the query form I replaced it with /myDataset/update, and then I was able to successfully run an UPDATE query.

When I did so, whether I had "Table" or "Raw Response" selected underneath, it showed me HTML source about the response like this:

     <html>
     <head>
     </head>
     <body>
     <h1>Success</h1>
     <p>
     Update succeeded
     </p>
     </body>
     </html>

Should I have done it a different way to get either a plain text response to the UPDATE request or else rendered HTML?

Thanks,

Bob


On 4/4/20 10:40 AM, Jean-Claude Moissinac wrote:
Easy, but not easy to find
Just above the text box for the request, you have the base link: replace
the query word by the update word
--
Jean-Claude Moissinac



<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Garanti
sans virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Le sam. 4 avr. 2020 à 16:24, Bob DuCharme <b...@snee.com> a écrit :

I haven't used Fuseki in a while and it's nice to see all the new
features. One thing I used to see but don't anymore is a SPARQL Update
multi-line text field on the Fuseki Query page under the SPARQL Query
multi-line field. I did start fuseki up with --update but I can't find
anywhere on http://localhost:3030/ to enter an UPDATE request.

Can anyone tell me where to look?

Thanks,

Bob


Reply via email to