sparqlQuery
Execute read-only SPARQL queries on GraphDB repositories to retrieve data in JSON, XML, or CSV formats. Specify graphs and query parameters for precise results.
Instructions
Execute a read-only SPARQL query against the GraphDB repository
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": "sparqlQuery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Optional: Response format (json, xml, csv) | json |
| graph | No | Optional: Specific graph IRI to query | |
| query | Yes | The SPARQL query to execute |