Abstract
SPARQL is a powerful but complex language for querying knowledge graphs, motivating research into natural language-to-SPARQL generation using large language models (LLMs). While large, proprietary LLMs excel at this task, their resource requirements can limit practical deployment. This paper evaluates smaller, open-source LLMs (0.5B–9B parameters) with quantization methods (8-bit and 4-bit compression) to balance computational efficiency and query generation performance. Our findings demonstrate that 8-bit quantization can maintain or enhance performance in smaller models, whereas 4-bit quantization leads to notable degradation, especially for larger models. This highlights the potential of quantized, smaller LLMs for SPARQL generation in resource-constrained scenarios and provides insights for optimizing specialized NLP tasks.
| Original language | English |
|---|---|
| Title of host publication | The Semantic Web |
| Subtitle of host publication | ESWC 2025 Satellite Events, Proceedings |
| Editors | Edward Curry, John McCrae, Valentina Presutti, Mehwish Alam, Pieter Colpaert, Josiane Xavier Parreira, Diego Collarana, Marta Sabou, Andreas Harth, Pasquale Lisena |
| Publisher | Springer Science and Business Media Deutschland GmbH |
| Pages | 99-102 |
| Number of pages | 4 |
| ISBN (Print) | 9783031995538 |
| DOIs | |
| Publication status | Published - 2026 |
| Event | Satellite events held at the 22nd European Semantic Web Conference, ESWC 2025 - Portoroz, Slovenia Duration: 1 Jun 2025 → 5 Jun 2025 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Volume | 15832 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | Satellite events held at the 22nd European Semantic Web Conference, ESWC 2025 |
|---|---|
| Country/Territory | Slovenia |
| City | Portoroz |
| Period | 1/06/25 → 5/06/25 |
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 8 Decent Work and Economic Growth
-
SDG 12 Responsible Consumption and Production
Keywords
- Knowledge Graphs
- Large Language Models
- Quantization
- Resource Efficiency
- SPARQL
Fingerprint
Dive into the research topics of 'How Low Can We Go? Quantization Effects on LLM SPARQL Generation'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver