sparql
Pack: dbpedia · Endpoint: https://gateway.pipeworx.io/dbpedia/mcp
Execute a SPARQL query against the DBpedia public endpoint.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | SPARQL query text |
format | string | no | json (default) | xml | csv | tsv |
Example call
curl -X POST https://gateway.pipeworx.io/dbpedia/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sparql","arguments":{}}}'
Response shape
Full JSON Schema
{
"oneOf": [
{
"type": "object",
"description": "SPARQL JSON results format",
"properties": {
"head": {
"type": "object",
"description": "Query result header with variable names"
},
"results": {
"type": "object",
"description": "Query result bindings"
}
}
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"xml",
"csv",
"tsv"
],
"description": "Response format (non-JSON)"
},
"body": {
"type": "string",
"description": "Query results as raw text in specified format"
}
},
"required": [
"format",
"body"
]
}
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dbpedia": {
"url": "https://gateway.pipeworx.io/dbpedia/mcp"
}
}
}
See Getting Started for client-specific install steps.