Natural-Language-to-GPML: Dual-Oracle Witness Synthesis, Orthogonal Subspace Merging, and Live Schema-Constrained Decoding for ISO/IEC 39075 Graph Queries
ISO/IEC 39075:2024 (GQL) and SQL/PGQ standardize sixteen Graph Pattern Matching Language (GPML) path modes pairing restrictors (WALK, TRAIL, ACYCLIC, SIMPLE) with endpoint-partitioned selectors (ALL, ANY, ALL SHORTEST, ANY SHORTEST), twelve of which yield distinct answers on cyclic multigraphs. Yet public Text-to-Cypher datasets omit GPML modes, mix unexecuted outputs or proprietary procedures, and test acyclic graphs where omitting restrictors accidentally returns identical rows. We introduce Natural-Language-to-GPML for samyama-graph using 312.1M- and 1,065.1M-parameter open-weight models trained with 0.0% Neo4j-scraped or non-commercial data. First, we release Samyama-GPML-Bench-100 (v2) and Samyama-RealKG-NLQ-Bench-160, dual-oracle benchmarks co-verified against the SIGMOD 2022 GPML reference evaluator and samyama-graph (100.0% canonical agreement; 0.0% pass rate across 260 foils; 0 SHA-256 leaks across 913 tasks). Second, per-row infinite-schema synthesis, quarter-epoch NLQPipeline slow-fitting (95.83% peak at 1.25 epochs), Jacobi SVD KnOTS merging, Step-GRPO, and dialect-shift AdvKD ($β_{\mathrm{anc}}=0.0$) lift unconstrained GPML-Bench-50 from 0.0% to 72.0% on…
- arXiv
- 2611.39540
- Authors
- Madhulatha Mandarapu, Sandeep Kunkunuru
- Categories
- cs.DB · cs.LG