TY - EJOU AU - Min, Zhang AU - Haibin, Teng AU - Ming, Jiang AU - Tao, Wen AU - Jingfan, Tang TI - A Longest Matching Resource Mapping Algorithm with State Compression Dynamic Programming Optimization T2 - Intelligent Automation \& Soft Computing PY - 2019 VL - 25 IS - 3 SN - 2326-005X AB - Mapping from sentence phrases to knowledge graph resources is an important step for applications such as search engines, automatic question answering systems based on acknowledge base and knowledge graphs. The existing solution maps a simple phrase to a knowledge graph resource strictly or approximately from the text. However, it is difficult to detect phrases and map the composite semantic resource. This paper proposes a longest matching resource mapping scheme to solve this problem, namely, to find the longest substring in a sentence that can match the knowledge base resource. Based on this scheme, we propose an optimization algorithm based on state compression dynamic programming. Furthermore, we improve the operating efficiency by removing invalid states. Experimental results show that our proposed optimization algorithm considerably improves the efficiency of the benchmark algorithm in terms of running time. KW - Knowledge graphs KW - NLP application KW - Phrase detection KW - question answering systems KW - Resource mapping KW - State Compression Dynamic Programming DO - 10.31209/2019.100000117