sparql_query
Execute SPARQL queries (SELECT, ASK, CONSTRUCT, DESCRIBE) against a configured QLever endpoint and return results as a formatted table with timing.
Instructions
Execute a SPARQL query against the configured QLever endpoint. Supports SELECT, ASK, CONSTRUCT, and DESCRIBE query forms. Returns results as a formatted table with timing information.
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": {
"query": "<query>"
},
"name": "sparql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SPARQL query to execute | |
| timeout | No | Query timeout in QLever duration format (e.g. '30s', '5000ms', '2min'). Defaults to the server-configured timeout. | |
| max_rows | No | Maximum number of result rows to return (max 10000). The query still computes fully; this only limits serialization. |