发明名称 GENERATING AND EXECUTING QUERY LANGUAGE STATEMENTS FROM NATURAL LANGUAGE
摘要 Techniques for generating query language statements for a document repository are described herein. An example method includes detecting a search query corresponding to a document repository and generating a modified search query by adding atomic tags to the search query, the atomic tags being based on prior knowledge obtained by static analysis of the document repository and semantic rules. The method also includes generating enriched tags based on combinations of the atomic tags and any previously identified enriched tags and generating a first set of conditions based on combinations of the atomic tags and the generated enriched tags and generating a second set of conditions based on free-text conditions. The method also includes generating the query language statements based on the first set of conditions and the second set of conditions and displaying a plurality of documents from the document repository that satisfy the query language statements.
申请公布号 US2017024431(A1) 申请公布日期 2017.01.26
申请号 US201615140839 申请日期 2016.04.28
申请人 International Business Machines Corporation 发明人 Dayan Yigal S.;Magdalen Josemina M.;Maharian Irit;Mazel Victoria;Paikowsky Oren;Shtilman Andrei
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method for generating query language statements for a document repository comprising: detecting, via a processor, a search query corresponding to a document repository; generating, via the processor, a modified search query by adding atomic tags to the search query, the atomic tags being based on prior knowledge obtained by static analysis of the document repository and semantic rules; generating, via the processor, enriched tags based on combinations of the atomic tags and any previously identified enriched tags and adding the generated enriched tags to the modified search query; generating, via the processor, a first set of conditions based on combinations of the atomic tags and the generated enriched tags and generating a second set of conditions based on free-text conditions, the second set of conditions corresponding to terms in the search query that are not associated with any of the first set of conditions; reconciling, via the processor, the first set of conditions based on identified contradictions; generating, via the processor, the query language statements corresponding to the search query, the query language statements based in part on the first set of conditions and the second set of conditions; and displaying, via the processor, a plurality of documents from the document repository that satisfy the query language statements.
地址 Armonk NY US