Skip to main content

2023 | OriginalPaper | Buchkapitel

INSL: Text2SQL Generation Based on Inverse Normalized Schema Linking

verfasst von : Tie Jun, Fan Ziqi, Sun Chong, Zheng Lu, Zhu Boer

Erschienen in: Artificial Intelligence in China

Verlag: Springer Nature Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Structured Query Language (SQL) is a query language widely used in databases, Text2SQL automatically parses natural language into SQL, which has great potential to facilitate non-expert users to query and mine structured data using natural language. Current research focuses on improving the matching accuracy of SQL clause tasks, but ignores the correctness of SQL syntax generation, and SQL generation involving multi-table joins still suffers from a large number of errors. Therefore, a neural network-based Text2SQL approach is proposed. To implement a practical Text2SQL workflow, the model associates natural language queries with an inverse normalized database schema, called INSL (Inverse Normalized Schema Link Generation Network). Through theoretical analysis and experimental validation on the public dataset Spider, INSL can effectively improve the quality of Text2SQL tasks.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Choi D.H., Shin, M.C., Kim, E.G.: RYANSQL: recursively applying sketch-based slot fillings for complex text-to-SQL in cross-domain databases, pp. 309-332. CL (2021) Choi D.H., Shin, M.C., Kim, E.G.: RYANSQL: recursively applying sketch-based slot fillings for complex text-to-SQL in cross-domain databases, pp. 309-332. CL (2021)
2.
Zurück zum Zitat Zhen, D., Sun, S.Z., Liu, H.Z., Lou, J.G., et al.: Data-anonymous encoding for text-to-SQL generation. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 5405-5414. ACL, Hong Kong (2019) Zhen, D., Sun, S.Z., Liu, H.Z., Lou, J.G., et al.: Data-anonymous encoding for text-to-SQL generation. In: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 5405-5414. ACL, Hong Kong (2019)
3.
Zurück zum Zitat Fu, X.Y., Shi, W.J., Yu, X.D., Zhao, Z., et al.: Design challenges in low-resource cross-lingual entity linking. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 6418-6432 (2020) Fu, X.Y., Shi, W.J., Yu, X.D., Zhao, Z., et al.: Design challenges in low-resource cross-lingual entity linking. In: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 6418-6432 (2020)
4.
Zurück zum Zitat Rijhwani, S., Xie, J., Neubig, G., et al.: Zero-shot neural transfer for cross-lingual entity linking. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 6924-6931 (2019) Rijhwani, S., Xie, J., Neubig, G., et al.: Zero-shot neural transfer for cross-lingual entity linking. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 6924-6931 (2019)
6.
Zurück zum Zitat Xu, P.Y., Hu, Q.: An end-to-end approach for handling unknown slot values in dialogue state tracking. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, pp. 1448-1457. ACL, Australia (2018) Xu, P.Y., Hu, Q.: An end-to-end approach for handling unknown slot values in dialogue state tracking. In: Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, pp. 1448-1457. ACL, Australia (2018)
8.
Zurück zum Zitat Herzig, J., Berant, J.: Decoupling structure and lexicon for zero-shot semantic parsing. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1619-1629. ACL, Belgium (2018) Herzig, J., Berant, J.: Decoupling structure and lexicon for zero-shot semantic parsing. In: Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1619-1629. ACL, Belgium (2018)
9.
Zurück zum Zitat Guo, J., Zhan, Z., Gao, Y.: Towards complex text-to-SQL in cross-domain database with intermediate representation, pp. 4524-4535. ACL, Florence (2019) Guo, J., Zhan, Z., Gao, Y.: Towards complex text-to-SQL in cross-domain database with intermediate representation, pp. 4524-4535. ACL, Florence (2019)
10.
Zurück zum Zitat Bogin, B., Berant, J., Gardner, M.: Representing schema structure with graph neural networks for text-to-SQL parsing. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Association for Computational Linguistics, pp. 4560-4565. ACL, Florence (2019) Bogin, B., Berant, J., Gardner, M.: Representing schema structure with graph neural networks for text-to-SQL parsing. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Association for Computational Linguistics, pp. 4560-4565. ACL, Florence (2019)
11.
Zurück zum Zitat Wang, B.L., Shin, R., Liu, X.D., et al.: RAT-SQL: relation-aware schema encoding and linking for text-to-SQL parsers. In: Proceedings of the 58th Annual Meeting of the Association for Computational Association for Computational Linguistics, pp. 7567-7578. ACL (2020) Wang, B.L., Shin, R., Liu, X.D., et al.: RAT-SQL: relation-aware schema encoding and linking for text-to-SQL parsers. In: Proceedings of the 58th Annual Meeting of the Association for Computational Association for Computational Linguistics, pp. 7567-7578. ACL (2020)
Metadaten
Titel
INSL: Text2SQL Generation Based on Inverse Normalized Schema Linking
verfasst von
Tie Jun
Fan Ziqi
Sun Chong
Zheng Lu
Zhu Boer
Copyright-Jahr
2023
Verlag
Springer Nature Singapore
DOI
https://doi.org/10.1007/978-981-99-1256-8_23

Premium Partner