{"repo":"sib-swiss/sparql-llm","free":true,"listed":false,"github":"https://github.com/sib-swiss/sparql-llm","clone":"git clone https://github.com/sib-swiss/sparql-llm.git","description":"🦜✨ Chat system, MCP server, and reusable components to improve LLMs capabilities when generating SPARQL queries","language":"Jupyter Notebook","stars":122,"topics":["expasy","llm","sparql","sparql-query-builder","mcp","mcp-server"],"license":"MIT","category":"mcp-servers","readme_excerpt":"✨ SPARQL query generation with LLMs 🦜 This project provides tools to enhance the capabilities of Large Language Models (LLMs) in generating SPARQL queries for specific endpoints: - a complete chat web service available at expasy.org/chat - a MCP server exposing tools at chat.expasy.org/mcp - reusable components published as the sparql-llm pip package The system integrates Retrieval-Augmented Generation (RAG) and SPARQL query validation through endpoint schemas, to ensure more accurate and relevant query generation on large scale knowledge graphs. The components are designed to work either independently or as part of a full chat-based system that can be deployed for a set of SPARQL endpoints. It requires endpoints to include metadata such as SPARQL query examples and endpoint descriptions using the Vocabulary of Interlinked Datasets (VoID), which can be automatically generated using the void-generator. 🌈 Features - Metadata Extraction : Functions to extract and load relevant metadata from SPARQL endpoints. These loaders are compatible with LangChain but are flexible enough to be used independently, providing metadata as JSON for custom vector store integration. - SPARQL Query Validation : A function to automatically parse and validate federated SPARQL queries against the VoID description of the target endpoints. - MCP server with tools to help LLM write SPARQL queries for a set of endpoints - Deployable Chat System : A reusable and containerized system for deploying an LLM-b","default_branch":null,"files":null,"tree":[],"storefront":"/r/sib-swiss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sib-swiss/sparql-llm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}