首页> 外文会议>International symposium on cooperative database systems for advanced applications >Natural Language Query Optimization and Translation in Chinese Database Systems
【24h】

Natural Language Query Optimization and Translation in Chinese Database Systems

机译:自然语言查询优化和中文数据库系统的翻译

获取原文

摘要

Chinese database system is a key project granted by National Natural Science Foundation of China(NSFC). The goal of the project is to develop a Chinese information processing oriented database system which caters for ease-to-use of database in Chinese environment. Chiql is a new database query language based on restricted Chinese natural language with well-defined grammar. It is designed for both novice and technical users to provide an easy-to-use, easy-to-remember and easy-to-understand query interface for Chinese database user. Different from SQL. Chiql combines both procedural and non-procedural style to support the specification of a query in multiple statements. Regarding to efficiency, we developed a two-phase optimizer to improve the efficiency of multi-statement queries. They are: (1) the Statement Merging Algorithm (SMA) and (2) the Pattern Mapping Algorithm (PMA). Regarding to transportability, we design a Chiql-to-SQL translator. By applying both SMA and PMA, the translation from Chiql to SQL is simple and the resulting SQL query is efficient. It is worth noting that the approach of multi-statement optimization can also be applied to SQL query in the transaction scope.
机译:中国数据库系统是国家自然科学基金(NSFC)授予的重点项目。该项目的目标是开发一个中文信息处理的导向数据库系统,该系统符合中国环境中的数据库的易于使用。 Chiql是一种基于具有明确定义的语法的限制汉语自然语言的新数据库查询语言。它专为新手和技术用户而设计,为中文数据库用户提供易于使用,易于记忆和易于理解的查询界面。与SQL不同。 CHIQL共组合过程和非程序式风格来支持多个语句中查询的规范。关于效率,我们开发了一款两相优化器,以提高多级判决验证的效率。它们是:(1)语句合并算法(SMA)和(2)模式映射算法(PMA)。关于可运输性,我们设计了一个CHIQL-to-SQL翻译。通过应用SMA和PMA,CHIQL到SQL的翻译很简单,并且产生的SQL查询是有效的。值得注意的是,多语音优化的方法也可以应用于事务范围中的SQL查询。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号