★ EMNLP 2026 Industry Track Best Paper Award

Bring your schema.
Build and benchmark NL2GraphQL.

AutoGraphQL turns a GraphQL schema into executable training and evaluation data, then supports model adaptation and cross-schema benchmarking end to end.

17,621
executable instances
173
distinct schemas
7
query categories
2,100
withheld benchmark instances
Leaderboard · results reported in the paper

Public-benchmark performance

Scores from Tables 3–5 on the 6,403-instance public benchmark. The open-weight models are shown before and after fine-tuning on 9,118 AutoGraphQL training instances; Claude Sonnet 4.5 is the paper's frontier-model reference.

Low High
Public-benchmark accuracy reported in AutoGraphQL Tables 3 through 5

Head-to-head

Compare model profiles, not just rank

Two paper runs can post similar overall scores for very different reasons. Pick up to four to overlay their category profiles.

Pick up to 4 · profiles are shown as % accuracy per category

About the benchmark

Text-to-SQL has Spider and BIRD. GraphQL has a different problem.

Enterprise GraphQL APIs are schema-specific: each organization exposes its own types, fields, arguments, filters, and mutations. A model that works on one API may fail on the next. AutoGraphQL is designed around that reality: bring a schema, generate validated data for it, adapt a model, and evaluate whether the model generalizes to schemas it did not see in training.

Each instance is a validated triple — (schema, natural-language query, ground-truth GraphQL query) — synthesized through schema-aware query generation, then checked for both syntactic validity and successful execution before it's admitted to the corpus.

GraphQL context What the language is and why each schema changes the task

GraphQL is an open-source query language and runtime for APIs. Every service defines its own typed schema, so a generated query must use the fields, arguments, types, and relationships that the target API actually exposes. This schema dependence is the central challenge that AutoGraphQL measures.

Research lineage Five earlier papers that led to AutoGraphQL. Accuracies are not comparable across them: the evaluation metric changed over the series, from comparing execution output to the semantic-equivalence AST scoring used here.
  1. IJCAI 2024 · Demo LLM-powered GraphQL Generator for Data Retrieval ↗

    An initial pipeline for translating natural-language requests into GraphQL queries.

  2. EMNLP 2024 · Industry GraphQL Query Generation: A Large Training and Benchmarking Dataset ↗

    The first large training and evaluation resource in this research program.

  3. NAACL 2025 · Industry Schema and Natural Language Aware In-Context Learning ↗

    Schema structure and natural-language similarity guide the selection of demonstrations.

  4. IEEE ICWS 2025 Robust Evaluation of LLM-Generated GraphQL Queries ↗

    RGEval evaluates semantic equivalence beyond exact string matching.

  5. SIGMOD 2026 · SynthAI Synthetic Data Generation for Schema-Aware Query Interfaces ↗

    A preliminary study covering 1,845 instances across 20 schemas.

  6. EMNLP 2026 · Industry Track Best Paper AutoGraphQL: A Bring-Your-Own-Schema Framework ↗

    The unified framework scales the resource to 17,621 instances across 173 schemas.

The task, concretely

Schema in. Plain English in. A valid, executable query out.

An illustrative instance from the corpus — a university-enrollment schema with a natural-language request that requires filtering, pagination, an alias, a conditional directive, a fragment, and a nested traversal all at once.

GraphQL Schema

      
→
Natural Language Query
→
Ground-Truth GraphQL Query

      
People

Contributors

Papers each person contributed to, from the research lineage above.

AutoGraphQL · EMNLP 2026
Keya Battu
IIT Kharagpur
keyabattu@kgpian.iitkgp.ac.in
SIGMOD 2026 · EMNLP 2026
Parth Mehta
DPS, Bengaluru
parthmehta78996@gmail.com
SIGMOD 2026 · EMNLP 2026
Harikrishnan Balagopal
IBM, Bengaluru
harikrishnan.balagopal@ibm.com
EMNLP 2026
Manish Kesarwani
IBM, Bengaluru
manishkesarwani@in.ibm.com
all six papers
Earlier work in this line
Sameep Mehta
IBM
sameepmehta@in.ibm.com
IJCAI 2024 · EMNLP 2024 · NAACL 2025 · ICWS 2025
Nitin Gupta
IBM
ngupta47@in.ibm.com
IJCAI 2024 · EMNLP 2024 · NAACL 2025
Sambit Ghosh
IBM
sambit.ghosh@ibm.com
IJCAI 2024 · EMNLP 2024 · NAACL 2025
Renuka Sindhgatta
IBM
renuka.sindhgatta.rajan@ibm.com
IJCAI 2024 · EMNLP 2024
Carlos Eberhardt
IBM StepZen
carlose@ibm.com
EMNLP 2024 · NAACL 2025
Dan Debrunner
IBM StepZen
Dan.Debrunner@ibm.com
EMNLP 2024 · NAACL 2025
Balaji Ganesan
IBM
bganesa1@in.ibm.com
IJCAI 2024
Shramona Chakraborty
IBM
shramona.chakraborty1@ibm.com
EMNLP 2024
Vansika Sonthalia
SRM Institute of Science and Technology
sonthaliavansika@gmail.com
ICWS 2025 (RGEval)
Citation

Citing this benchmark

@inproceedings{battu-etal-2026-autographql,
  title     = {{AutoGraphQL}: A Bring-Your-Own-Schema Framework for
               Adapting Open-Weight {LLMs} to {GraphQL} {APIs}},
  author    = {Battu, Keya and Mehta, Parth and
               Balagopal, Harikrishnan and Kesarwani, Manish},
  editor    = {Atanasova, Pepa and Haffari, Gholamreza and
               Wang, Minghan},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods
               in Natural Language Processing: Industry Track},
  month     = {oct},
  year      = {2026},
  address   = {Budapest, Hungary},
  publisher = {Association for Computational Linguistics},
  url       = {https://aclanthology.org/2026.emnlp-industry.215/},
  doi       = {10.18653/2026.emnlp-industry.215},
  pages     = {3602--3613},
  isbn      = {979-8-89176-460-6}
}

Recipient of an EMNLP 2026 Industry Track Best Paper Award. Official ACL Anthology record: aclanthology.org/2026.emnlp-industry.215.