Previous topic  Top  Next topic  Print this Topic
 

Updates

 

One or more update operations has to be specified for invoking the update service. For example, the operation

LOAD <http://www.w3.org/1999/02/22-rdf-syntax-ns.rdf>

will result in the GET-encoded URI

http://localhost:8267/services/sparql/update?update=LOAD%20%3Chttp://www.w3.org/1999/02/22-rdf-syntax-ns.rdf%3E

Besides the update parameter, the debug option can be specified. The following table shows an overview of all service arguments, both available for HTTP GET and POST:

Parameter

Type

Description

update

xsd:string

The SPARQL Update operation(s) (required)

debug

xsd:boolean

Switch to debug mode if true, i.e. show HTML based UI (optional)

The result is returned as plain text. Either with a simple status message that everything went fine, i.e. all operations have been executed without an error, or an description of the error that occurred.