sparql_query_json
Executes a SPARQL query and returns raw QLever JSON response, providing structured result arrays, timing breakdown, and total result count for further processing.
Instructions
Execute a SPARQL query and return the raw QLever JSON response. Useful when you need structured data for further processing (result arrays, timing breakdown, total result count).
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_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SPARQL query to execute | |
| timeout | No | Query timeout (e.g. '30s', '2min') | |
| max_rows | No | Maximum number of result rows to serialize (max 10000) |