PofoliaPofolia ile paylaşıldı

ACM Transactions on the Web· 2026Q1

SPARQL-LLM: Doğal Dil Sorularından Gerçek Zamanlı SPARQL Sorgu Üretimi

SPARQL-LLM: Real-Time SPARQL Query Generation from Natural Language Questions

Panayiotis Smeros, Vincent Emonet, Ruijie Wang, Ana-Claudia Sima ve diğerleri

Kısa özet

SPARQL-LLM, açık kaynaklı ve üçlü depoya bağımlı olmayan bir sistem, doğal dil sorularından SPARQL sorguları üreterek ikinci en iyi sisteme göre %59'a varan oranda daha yüksek F1 puanı ve 27 kat daha hızlı çalışma süresi sağlıyor, soru başına maliyeti ise sadece 0,01 $.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Ana noktalar

  • SPARQL-LLM, doğal dilden SPARQL sorgu üretiminde ikinci en iyi sisteme kıyasla %59'a varan oranda daha yüksek F1 puanı elde etmektedir.
  • Sistem, İngilizce, İspanyolca ve Almanca gibi yüksek kaynaklı dillere uyarlanabilirlik ve karmaşık biyoinformatik sorguları oluşturma yeteneği göstermektedir.
  • SPARQL-LLM, rakip sisteme göre 27 kata kadar daha hızlıdır ve soru başına maksimum 0,01 $ maliyetlidir.
  • Yaklaşım, verimli sorgu üretimi için hafif meta verilerle desteklenen, üçlü depoya bağımlı olmayan bir tasarıma sahiptir.

Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.

Özet (abstract)

The advent of large language models is contributing to the emergence of novel approaches that promise to better tackle the challenge of generating structured queries, such as SPARQL queries, from natural language. However, these new approaches mostly focus on response accuracy while ignoring other evaluation criteria, such as runtime and cost to generate SPARQL queries. Consequently, they are often not production-ready or easy to deploy over real-world knowledge graphs with good accuracy. To mitigate these issues, in this paper, we describe and systematically evaluate SPARQL-LLM, an open-source and triplestore-agnostic approach, powered by lightweight metadata, that generates SPARQL queries from natural language text. First, we describe its architecture, which consists of dedicated components for metadata indexing, prompt building, and query generation and execution. Then, we evaluate it based on a state-of-the-art challenge with multilingual questions, and a collection of questions from three of the most prevalent knowledge graphs within the field of bioinformatics. Our results demonstrate a substantial improvement of up to \(59\% \) in F1 score over the second-best system participating in the challenge, adaptability to high-resource languages such as English, Spanish, and German, as well as ability to form complex bioinformatics queries. Furthermore, our results show that our system is up to 27 × faster than the second-best system participating in the challenge, while costing a maximum of $0.01 per question, making it suitable for real-time, low-cost text-to-SPARQL applications. SPARQL-LLM is publicly released as an open-source project at https://github.com/sib-swiss/sparql-llm and is currently deployed over real-world decentralized knowledge graphs at https://www.expasy.org/chat.

Yazarların özeti; kaynağından alınmıştır. ACM Transactions on the Web, 2026 · DOI ↗

ÇıkarımlarPremium
Makaleye SorÜcretsiz hesapla

Ücretsiz hesapla devam et

Makaleye Sor ile bu makaleye günde 3 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.

Web'de ücretsiz devam et

Google ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.

Telefonda:

Alan: Moleküler Biyoloji

Molecular BiologyBiochemistry, Genetics and Molecular Biology