首页> 外国专利> Natural-language database interface with automated keyword mapping and join-path inferences

Natural-language database interface with automated keyword mapping and join-path inferences

机译:自然语言数据库接口,具有自动关键字映射和加入路径推断

摘要

A natural language interface for databases (NLIDB) component of a database-management system receives a user-submitted natural-language query. The NLIDB parses the query into keywords and maps each keyword onto a corresponding query fragment that identifies a predicate of a non-join condition, or other type of expression, of a structured query. The NLIDB selects an optimal mapping for each keyword with the aid of a Query Fragment Graph (QFG) that counts the number of occurrences of each fragment, and the number of co-occurrences of each pair of fragments, in previously received structured queries. The NLIDB then uses the QFG, optionally augmented by contextual data, to select join paths most likely to be consistent with the semantic intent of the user. The NLIDB generates a structured query that incorporates the mapped query fragments and selected join paths and forwards. The structured the query is then forwarded to downstream DBMS components.
机译:数据库管理系统的数据库(NLIDB)组件的自然语言界面接收用户提交的自然语言查询。 NLIDB将查询解析为关键字并将每个关键字映射到相应的查询片段上,该转矩标识结构化查询的非连接条件或其他类型的表达式的谓词。 NLIDB借助查询片段图(QFG)为每个片段的出现次数以及每对片段的共发生的数量,在先前接收的结构化查询中选择了每个关键字的最佳映射。 然后,NLIDB使用QFG,可选地通过上下文数据增强,选择大气最有可能与用户的语义意图一致的连接路径。 nlidb生成一个结构化查询,它包含映射的查询片段,并选择连接路径和转发。 然后将Query转发到下游DBMS组件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号