mcp_sparql_update
Execute SPARQL update queries to modify data in GraphDB repositories. Supports INSERT DATA, DELETE DATA, INSERT-WHERE, and DELETE-WHERE operations for adding, removing, or updating triples in ontology graphs.
Instructions
SPARQL 업데이트 쿼리를 실행하여 데이터를 수정합니다. INSERT DATA, DELETE DATA, INSERT-WHERE, DELETE-WHERE 등의 SPARQL 1.1 Update 문법을 지원합니다. 새로운 트리플 추가, 기존 트리플 삭제, 조건부 데이터 변경 등 다양한 그래프 수정 작업을 수행할 수 있습니다.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
endpoint | No | SPARQL 엔드포인트 URL | |
query | Yes | 실행할 SPARQL 업데이트 쿼리 (예: INSERT DATA { <subject> <predicate> <object> }) | |
repository | No | 업데이트 쿼리를 실행할 리포지토리 이름 |
Input Schema (JSON Schema)
{
"properties": {
"endpoint": {
"description": "SPARQL 엔드포인트 URL",
"type": "string"
},
"query": {
"description": "실행할 SPARQL 업데이트 쿼리 (예: INSERT DATA { <subject> <predicate> <object> })",
"type": "string"
},
"repository": {
"description": "업데이트 쿼리를 실행할 리포지토리 이름",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}