Skip to content

Bridging NL2SQL for CAN Signal Analytics at NIO: From Externalized Schemas to CTE Pipelines

Aug 2026 · Proceedings of the VLDB Endowment · 1 citation · 53 references

TL;DR

NIO-Weaver is presented, an end-to-end CAN signal analytics system within a graph-augmented multi-agent framework that outperforms baselines by up to 67.2% and an optimized retrieval method that extracts terms from queries and performs hybrid retrieval is proposed.

Abstract

Large Language Models (LLMs) promise natural-language access to data, yet applying them to Controller Area Network (CAN) signal SQL analytics in the automotive industry is challenging. First, CAN data warehouses store tens of thousands of signals as opaque numeric columns. Multiple signals are often packed into a single column as bit segments, requiring external Database CAN (DBC) files beyond the native database schema for proper definitions. Second, engineers' natural-language queries often use terms that map to multiple signals in the DBC files, with little direct indication of which signals are being referenced. Finally, signal analysis in production involves multi-step SQL pipelines using layered Common Table Expressions (CTEs) for tasks such as temporal alignment, more complex than those handled by existing NL2SQL methods. To address these, we present NIO-Weaver, an end-to-end CAN signal analytics system within a graph-augmented multi-agent framework. First, to uncover signals hidden in opaque numeric columns, we introduce an automated graph-construction pipeline that leverages DBC files to build a domain-knowledge graph, associating signals with potential high-level terms. Second, to bridge the semantic gap between natural-language queries and multiple signals, we propose an optimized retrieval method that extracts terms from queries and performs hybrid retrieval. We combine regex matching, embedding search, and constrained graph traversal to identify candidate signals for further processing. Finally, to simplify the generation of multi-step CTE-based pipelines, we introduce a hierarchical generation paradigm. We decompose queries into plans, incrementally generating executable CTEs, while self-correction mechanisms refine missing signals and incorrect SQL. Experiments on the real-world industrial CAN warehouse at NIO demonstrate that NIO-Weaver outperforms baselines by up to 67.2%.

View source

Similar papers

Open access 2026

Complexity-Tiered Text-to-SQL Performance of Large Language Models in Smart-City Decision Support

High-value sensor data generated by smart-city observatories is often inaccessible to policymakers due to technical barriers. Large language models (LLMs) have been proposed as one way to reduce this bottleneck, but their ability to process real, complex sensor databases remained largely untested. This study benchmarke...

Wael Alnahari, Tawfiq Hasanin, Sahar Jambi · 0 citations
#artificial intelligence Preprint Sep 2026

Build2SPARQL: A Large-Scale Text-to-SPARQL Benchmark Dataset for Building Knowledge Graph Querying

Building automation systems are increasingly represented as semantic knowledge graphs (KGs) using ontologies such as Brick and ASHRAE 223P, creating a machine-readable substrate for artificial-intelligence applications. One promising application is translating natural-language questions into SPARQL (text-to-SPARQL), wh...

Wooyoung Jung · 0 citations
Open access 2026

NL2SQL+: An Extended Framework for SQL Generation With On-Demand Embedded ML Functions

The empirical findings indicate that factorizing ML-aware SQL generation into four distinct stages—query routing, structured intent extraction, model or function selection, and template-guided SQL synthesis—enhances semantic controllability and token efficiency when formulating predictive natural language queries over...

Jisoo Jang, Mingyoo Son, Wen-Syan Li · 0 citations
Open access Sep 2026

KG4RSV: Towards Knowledge Graph -driven Specification and Validation of ML Dataset Quality Requirements: Case Study on e -ICU dataset

Command centers of modern power transmission and distribution systems ingest massive heterogeneous data structured measurements e.g., Supervisory Control and Data Acquisition (SCADA), topological models Geographic Information System (GIS), and unstructured operational logs-creating a critical challenge for timely, acc...

Heu Li · 0 citations
Open access Sep 2026

NOAH: A System For Analyzing Non-relational Tables With Natural Language

Non-relational tables, such as spreadsheets and web tables, are widely used to store structured data, yet they are primarily designed for human reading rather than machine-driven analysis. These tables often contain hierarchical headers, merged cells, and implicit spatial semantics, making it difficult for large langua...

Li-Nan Zheng, Chuan Lei, Lei Cao · 0 citations
#natural language process... Preprint Oct 2026

AptMQL-Bench: From Text-to-SQL to Text-to-MQL via Access-Pattern Schema Design and Data-Preserving Migration

Document databases such as MongoDB are core infrastructure for modern applications, and natural-language interfaces to them---text-to-MQL---would let non-experts query complex, semi-structured data without mastering the query language. Progress on this task depends on high-quality benchmarks, which are most practically...

Hy Nguyen, Nabi Rezvani, Robin Vujanic · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.