ldh-RemoveBlock
Removes a content block from a LinkedDataHub document via SPARQL UPDATE, optionally targeting a specific block URI, to clean up document sequence references and block properties.
Instructions
Removes a content block from a LinkedDataHub document.
This tool removes content blocks from LinkedDataHub documents by:
- Deleting the sequence property that references the block (rdf:_N)
- Deleting all properties of the block itself
- If no specific block URI is provided, removes any blocks found via sequence properties
The operation uses SPARQL UPDATE (HTTP PATCH) to perform the deletion.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>"
},
"name": "ldh-RemoveBlock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URI of the document to remove the block from. | |
| block | No | Optional URI of the specific content block to remove. If not provided, will remove blocks based on sequence properties. |