自然语言到什么?面向NL-to-X查询中中间表示的愿景
Natural Language to What? A Vision for Intermediate Representations in NL-to-X Querying
AI总结:
本文提出NLIQ框架,探讨自然语言查询中目标确定、中间表示设计及异构编译等核心问题,扩展了传统翻译方法的应用范围。
摘要:
自然语言驱动的查询通常被框架为翻译成预定义后端语言(如SQL、Cypher或SPARQL)。这种框架适用于语义目标已知的情况,但无法涵盖自然语言查询工作负载的全部空间。在以文档为中心、混合和异构环境中,首先要确定的目标可能是确定应在后端执行前构建的目标。本文提出NLIQ透镜,引入目标充分性作为区分目标已给、部分指定或必须自身构建的设置的标准,并论证后者中的中间表示不仅是实现工具,更是首要的语义对象。本文开发了一个紧凑的NLIQ模式框架,通过代表性示例说明区分,并识别了围绕语义目标形成、中间表示设计、异构编译和答案形成在复杂数据环境中的新研究领域。
英文摘要:
Natural-language-initiated querying is usually framed as translation into a predetermined backend language such as SQL, Cypher, or SPARQL. That framing is appropriate when the semantic target is known in advance, but it does not cover the full space of natural-language query workloads. In document-centric, mixed, and heterogeneous environments, the first semantic problem may be to determine what target should be constructed before backend-specific execution can begin. This paper proposes the $\textit{NLIQ}~$ lens for this broader space. It introduces target adequacy as the criterion for distinguishing settings in which the target is given, only partially specified, or must itself be constructed, and argues that intermediate representations in the latter regimes are not merely implementation devices but first-class semantic objects. The paper develops a compact framework of $\textit{NLIQ}~$ regimes, illustrates the distinction through representative examples, and identifies a new research terrain around semantic target formation, intermediate representation design, heterogeneous compilation, and answer formation in complex data environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。