PATCH
Updates RDF data in a named graph by sending a single SPARQL INSERT/WHERE or DELETE WHERE operation to a URL, returning success or failure without returning the updated graph.
Instructions
Updates RDF data in a named graph using HTTP PATCH with SPARQL Update.
The URL serves as both the resource identifier and the named graph address in systems with direct graph identification.
Updates the RDF graph at that URL using the SPARQL update payload provided in the `update` argument.
Only INSERT/WHERE and DELETE WHERE forms of SPARQL Update are supported by PATCH! Only a single update operation is allowed.
Returns True if the operation was successful, False otherwise.
Note: This operation does not return the updated graph, it only confirms the success of the operation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"update": "<update>"
},
"name": "PATCH"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to send the SPARQL UPDATE to. This should be a valid URL. | |
| update | Yes | The SPARQL update string to execute. |