sparql-llm
Active·★ 130·MIT·Updated 2026-10-21
SPARQL-LLM provides tools to empower Large Language Models (LLMs) to generate accurate SPARQL queries for specific endpoints. It integrates Retrieval-Augmented Generation (RAG) and SPARQL query validation against endpoint schemas to ensure relevant and precise query generation on large-scale knowledge graphs.
#LLM#SPARQL#Knowledge Graph#RAG#Query Generation#Semantic Web#Python#Chatbot
01
Features
01Metadata Extraction from SPARQL Endpoints
02Automated SPARQL Query Validation
03MCP Server with LLM Tools
04Containerized, Deployable Chat System for SPARQL Generation
02
Compatibility
Python
Runtime
Verified via docs
Docker
Deployment
Verified via docs
03
Quick start
1
$ pip install sparql-llm
04
Use cases
↳Build LLM-powered chat services for knowledge graphs.
↳Integrate SPARQL query generation into custom applications.
↳Enable LLMs to query biodata resources via MCP server.
↳Validate SPARQL queries against endpoint metadata.
05
Alternatives
solon-ai★ 466
Java AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
flexible-graphrag★ 194
Flexible GraphRAG: Python, LlamaIndex, Docker Compose: 8 Graph dbs, 10 Vector dbs, OpenSearch, Elasticsearch, Alfresco. 13 data sources (9 auto-sync), KG auto-building, schemas, LLMs, Docling or LlamaParse doc processing, GraphRAG, RAG only, Hybrid search, AI chat. React, Vue, Angular frontends, FastAPI backend, REST API, MCP Server. Please 🌟 Star
ragflow★ 92.6k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
lilbee★ 65
Chat with your documents offline using your own hardware. Augment any AI agent via MCP with hybrid RAG search over PDFs, code, and 150+ formats. Integrate with your favorite GUI via REST API.
rekal★ 53
Long-term memory for LLMs. MCP server backed by hybrid search in a single SQLite file.
Comments
Log in to leave a comment
No comments yet. Be the first!