File size: 2,356 Bytes
f02ebad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30bd9c2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
674dcdd
30bd9c2
 
674dcdd
30bd9c2
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
dataset_info:
  features:
  - name: schema
    dtype: string
  - name: query
    dtype: string
  - name: question
    dtype: string
  splits:
  - name: train
    num_bytes: 8626651
    num_examples: 4809
  download_size: 408992
  dataset_size: 8626651
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---

# Spider-1C: A Text-to-SQL Dataset Adapted for 1C\:Enterprise

Spider-1C is a specialized adaptation of the well-known Spider dataset designed specifically for the task of Text-to-SQL within the context of 1C\:Enterprise, a widely used ERP platform in Russia and other countries. This dataset facilitates the training and evaluation of large language models (LLMs) aimed at converting natural language queries (primarily in Russian) into 1C-specific SQL queries (1C Query Language).

## Dataset Overview

Spider-1C extends the original Spider dataset by:

* Translating and adapting questions into Russian.
* Modifying database schemas to match the unique architecture and syntax of 1C\:Enterprise.
* Generating corresponding SQL queries that follow the 1C-specific SQL dialect.

The dataset aims to bridge the gap between general SQL query generation and the particularities of 1C's query language, addressing the unique challenges posed by 1C's data model and query syntax.

## Data Format

Each record in Spider-1C contains:

* **Database schema**: Customized to reflect 1C\:Enterprise data storage patterns.
* **Natural language question**: Presented in Russian.
* **SQL query**: Written using the 1C Query Language syntax.

## Dataset Statistics

* **Total examples**: 4809

## Intended Use

Spider-1C can be utilized for:

* Fine-tuning LLMs for generating accurate and efficient SQL queries tailored to 1C\:Enterprise.
* Benchmarking model performance in real-world ERP querying scenarios.
* Supporting research in specialized Text-to-SQL methodologies adapted to niche business platforms.

## Citation

Please cite this dataset if you use it in your work:

```
@misc{spider1c2025,
  title={Spider-1C: A Text-to-SQL Dataset Adapted for 1C:Enterprise},
  author={kavlab},
  year={2025},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/datasets/kavlab/Spider-1C}}
}
```

## License

Spider-1C is released under the CC BY-SA 4.0 license. Please see the `LICENSE` file for details.