sparql-llm
View on GitHub🦜✨ Chat system, MCP server, and reusable components to improve LLMs capabilities when generating SPARQL queries
Python components, a chat service, and an MCP server for LLM-assisted SPARQL querying. Uses endpoint metadata and RAG to generate queries, validates them against VoID schemas, and can execute queries against configured endpoints.
Use Cases
Generate SPARQL queries for knowledge graph endpointsRetrieve relevant query examples and endpoint schemas for LLM contextValidate queries against endpoint schemas and provide repair hintsQuery SIB biodata resources through MCP clientsDeploy a domain-specific SPARQL chat service
Built With
- Language
- Jupyter Notebook
- Frameworks
- LangChain · LangGraph · Qdrant · FastAPI · Chainlit
Tags
MCP server · SPARQL · RAG · knowledge graphs · query generation · query validation · bioinformatics · vector search