Voicebox: Generate SPARQL
voicebox_generate_queryGenerates SPARQL queries from natural language questions via Voicebox, helping users query Stardog knowledge graphs without manually writing SPARQL.
Instructions
Generate a SPARQL query from a natural language question using Voicebox
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": {
"question": "<question>"
},
"name": "voicebox_generate_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | Natural language question to generate SPARQL query from | |
| conversation_id | No | conversation_id is to be left blank for new conversation (system creates one automatically), but needs to be supplied for multi-turn conversations to maintain the same conversation history/thread |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |