TREE-BASED SEMANTIC ANALYSIS METHOD FOR NATURAL LANGUAGE PHRASE TO FORMAL QUERY CONVERSION

被引:2
|
作者
Litvin, A. A. [1 ]
Yu, Velychko V. [1 ]
Kaverynskyi, V. V. [2 ]
机构
[1] VM Glushkov Inst Cybernet, Dept Microprocessor Technol, Kiev, Ukraine
[2] IM Frantsevich Inst Problems Mat Sci, Dept Abras & Corros Resistant Powder Construct Ma, Kiev, Ukraine
关键词
natural language processing; graph data base; semantic analysis; formal query; decision tree; ontology;
D O I
10.15588/1607-3274-2021-2-11
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Context. This work is devoted to the problem of natural language interface construction for ontological graph databases. The focus here is on the methods for the conversion of natural language phrases into formal queries in SPARQL and CYPHER query languages. Objective. The goals of the work are the creation of a semantic analysis method for the input natural language phrases semantic type determination and obtaining meaningful entities from them for query template variables initialization, construction of flexible query templates for the types, development of program implementation of the proposed technique. Method. A tree-based method was developed for semantic determination of a user's phrase type and obtaining a set of terms from it to put them into certain places of the most suiting formal query template. The proposed technique solves the tasks of the phrase type determination (and this is the criterion of the formal query template selection) and obtaining meaningful terms, which are to initialize variables of the chosen template. In the current work only interrogative and incentive user's phrases are considered i.e. ones that clearly propose the system to answer or to do something. It is assumed that the considered dialog or reference system uses a graph ontological database, which directly impacts the formal query patterns - the resulting queries are destined to be in SPARQL or Cypher query languages. The semantic analysis examples considered in this work are aimed primarily at inflective languages, especially, Ukrainian and Russian, but the basic principles could be suitable to most of the other languages. Results. The developed method of natural language phrase to a formal query in SPARQL and CYPHER conversion has been implemented in software for Ukrainian and Norwegian languages using narrow subjected ontologies and tested against formal performance criteria. Conclusions. The proposed method allows the dialog system fast and with minimum number of steps to select the most suitable query template and extract informative entities from a natural language phrase given the huge phrase variability in inflective languages. Carried out experiments have shown high precision and reliability of the constructed system and its potential for practical usage and further development.
引用
收藏
页码:105 / 113
页数:9
相关论文
共 50 条
  • [1] Chinese Natural Language Processing based on Semantic Structure Tree
    Yin, Qi-jin
    Wang, Shao-ping
    Miao, Yi-nan
    Dou, Xin
    2015 INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND APPLICATIONS (CSA), 2015, : 130 - 134
  • [2] Converting Complex Natural Language Query to SQL Based on Tree Representation Model
    Zhao M.
    Chen K.
    Shou L.-D.
    Wu S.
    Chen G.
    Ruan Jian Xue Bao/Journal of Software, 2022, 33 (12): : 4727 - 4745
  • [3] Semantic Analysis of Natural Language Software Requirement
    Hassan, Taimoor
    Hassan, Shoaib
    Yar, Muhammad Asfand
    Younas, Waleed
    2016 SIXTH INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING TECHNOLOGY (INTECH), 2016, : 459 - 463
  • [4] Accommodating Negation in an Efficient Event-based Natural Language Query Interface to the Semantic Web
    Peelar, Shane
    Frost, Richard A.
    PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON WEB INFORMATION SYSTEMS AND TECHNOLOGIES (WEBIST), 2020, : 83 - 92
  • [5] Semantic Modeling and Analysis of Natural Language System Requirements
    Mokos, Konstantinos
    Nestoridis, Theodoros
    Katsaros, Panagiotis
    Bassiliades, Nick
    IEEE ACCESS, 2022, 10 : 84094 - 84119
  • [6] Natural Language Query to SQL conversion using Machine Learning Approach
    Arefin, Minhazul
    Hossen, Kazi Mojammel
    Uddin, Mohammed Nasir
    2021 3RD INTERNATIONAL CONFERENCE ON SUSTAINABLE TECHNOLOGIES FOR INDUSTRY 4.0 (STI), 2021,
  • [7] Analysis of natural language understanding technology based on Semantic Web ontology
    Wang, Yi
    Zhang, Jianming
    Cao, Zhenjie
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON MECHATRONICS, ELECTRONIC, INDUSTRIAL AND CONTROL ENGINEERING, 2015, 8 : 889 - 893
  • [8] SEMANTIC SEARCH BASED ON NATURAL LANGUAGE PROCESSING - A NUMISMATIC EXAMPLE
    Klinger, Patricia
    Gampe, Sebastian
    Tolle, Karsten
    Peter, Ulrike
    JOURNAL OF ANCIENT HISTORY AND ARCHAEOLOGY, 2018, 5 (03): : 68 - 79
  • [9] A Natural Language Processing and Semantic-based System for Contract Analysis
    Yang, Dan
    Leber, Christina
    Tari, Luis
    Crapo, Andrew
    Messmer, Richard
    Gustafson, Steven
    Chandramouli, Aravind
    2013 IEEE 25TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI), 2013, : 707 - 712
  • [10] BERT Model-based Natural Language to NoSQL Query Conversion using Deep Learning Approach
    Hossen, Kazi Mojammel
    Uddin, Mohammed Nasir
    Arefin, Minhazul
    Uddin, Md Ashraf
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2023, 14 (02) : 810 - 821