Schema and Natural Language Aware In-Context Learning for Improved GraphQL Query Generation (2025.naacl-industry)
Copied to clipboard
| Challenge: | GraphQL is a flexible alternative to REST APIs, but generating complex queries remains challenging. |
| Approach: | They propose a framework that integrates GraphQL schemas with natural language inputs to improve query generation accuracy. |
| Outcome: | The proposed framework improves performance on a publicly available complex GraphQL dataset. |
Similar Papers
GraphQL Query Generation: A Large Training and Benchmarking Dataset (2024.emnlp-industry)
Copied to clipboard
Manish Kesarwani, Sambit Ghosh, Nitin Gupta, Shramona Chakraborty, Renuka Sindhgatta, Sameep Mehta, Carlos Eberhardt, Dan Debrunner
| Challenge: | GraphQL is a powerful query language for APIs, but crafting complex GraphqL queries can be challenging. |
| Approach: | a team of researchers has created a large-scale, cross-domain text-to-GraphQL query operation dataset . the dataset includes 10,940 training triples spanning 185 cross-source data stores and 957 test triples over 14 data stores. |
| Outcome: | The proposed dataset includes 10,940 training triples and 957 test triples over 14 data stores. |
DCG-SQL: Enhancing In-Context Learning for Text-to-SQL with Deep Contextual Schema Link Graph (2025.acl-long)
Copied to clipboard
| Challenge: | Existing methods for Text-to-SQL show little improvement compared to random selections . Existing approaches rely on intrinsic capabilities of hyper-scaled LLMs, not useful demonstrations. |
| Approach: | They propose a novel approach to effectively retrieving demonstrations and generating SQL queries by linking a question and its database schema items. |
| Outcome: | The proposed method shows consistent improvements in performance and efficiency across hyper-scaled LLMs and small LLM. |
Adaptive Text2GQL: Integrating Structural Twig Linking and Evolutionary In-Context Learning (2026.acl-long)
Copied to clipboard
| Challenge: | Existing approaches struggle with structural hallucinations and lack adaptability in cold-start scenarios. |
| Approach: | They propose a unified, training-free framework for translating natural language into Graph Query Languages. |
| Outcome: | The proposed framework improves accuracy and executability over baselines in Graph2GQLs. |
KG-CQR: Leveraging Structured Relation Representations in Knowledge Graphs for Contextual Query Retrieval (2025.emnlp-main)
Copied to clipboard
| Challenge: | Existing methods that address corpus-level context loss focus on query enrichment through structured relation representations. |
| Approach: | They propose a framework for Contextual Query Retrieval that enriches queries with contextual representations derived from a corpus-centric KG. |
| Outcome: | The proposed framework outperforms strong baselines on RAGBench and MultiHop-RAG datasets in terms of retrieval effectiveness. |
SchemaGraphSQL: Efficient Schema Linking with Pathfinding Graph Algorithms for Text-to-SQL on Large-Scale Databases (2026.findings-eacl)
Copied to clipboard
AmirHossein Safdarian, Milad Mohammadi, Ehsan Jahanbakhsh Bashirloo, Mona Shahamat Naderi, Heshaam Faili
| Challenge: | Text-to-SQL systems translate natural language questions into executable SQL queries. |
| Approach: | They propose a schema linking approach that first constructs a graph based on foreign key relations and then uses a single prompt to a lightweight LLM to extract source and destination tables from the user query. |
| Outcome: | The proposed method outperforms specialized, fine-tuned, and complex multi-step approaches on BIRD and Spider 2.0 benchmarks. |
Plugging Schema Graph into Multi-Table QA: A Human-Guided Framework for Reducing LLM Reliance (2025.findings-emnlp)
Copied to clipboard
| Challenge: | Existing methods based on semantic similarity work well only on simplified datasets . Existing approaches based only on semantic similarities struggle to handle complex tables . |
| Approach: | They propose a graph-based framework that leverages human-curated relational knowledge to explicitly encode schema links and join paths. |
| Outcome: | The proposed framework leverages human-curated relational knowledge to encode schema links and join paths. |
In-Context Reinforcement Learning with Retrieval-Augmented Generation for Text-to-SQL (2025.coling-main)
Copied to clipboard
| Challenge: | Existing methods of synthetic query generation generate mostly simple queries which might not be sufficiently representative of complex, real world queries. |
| Approach: | They propose to use large language models to fine tune query generation to produce complex queries that practitioners may pose during inference. |
| Outcome: | The proposed framework achieves 15-20% higher recall in database/table retrieval task compared to the existing state-of-the-art models for schema identification and upto 2% higher execution accuracy for SQL generation. |
R3-NL2GQL: A Model Coordination and Knowledge Graph Alignment Approach for NL2GQL (2024.findings-emnlp)
Copied to clipboard
Yuhang Zhou, Yu He, Siyu Tian, Yuchen Ni, Zhangyue Yin, Xiang Liu, Chuanjun Ji, Sen Liu, Xipeng Qiu, Guangnan Ye, Hongfeng Chai
| Challenge: | Adapting existing approaches for converting natural language to SQL encounters hurdles due to distinct nature of GQL compared to SQL. |
| Approach: | They propose a method that integrates both small and large Foundation Models for ranking, rewriting, and refining tasks. |
| Outcome: | The proposed approach integrates both small and large Foundation Models for ranking, rewriting, and refining tasks while capitalizing on the superior generalization and query generation prowess of larger models for the final transformation of natural language queries into GQL formats. |
MultiSQL: A Schema-Integrated Context-Dependent Text2SQL Dataset with Diverse SQL Operations (2024.findings-acl)
Copied to clipboard
| Challenge: | Text2SQL is a task that translates natural language into SQL statements. |
| Approach: | They propose a task that translates natural language into SQL statements. |
| Outcome: | The proposed task enables users to convert natural language into SQL statements. |
Context Matters: Pushing the Boundaries of Open-Ended Answer Generation with Graph-Structured Knowledge Context (2024.emnlp-industry)
Copied to clipboard
| Challenge: | GraphContextGen outperforms dominant text-based retrieval systems in domain specific community question answering platforms like AskUbuntu, Unix, and ServerFault. |
| Approach: | They propose a framework that combines graph-driven context retrieval with knowledge graphs based enhancement to improve the proficiency of LLMs. |
| Outcome: | The proposed framework outperforms dominant text-based retrieval systems in open-ended questions. |