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 条
  • [31] A Decision Tree-based Approach for Categorizing Spatial Database Query Results
    Meng, Xiangfu
    Zhang, Xiaoyan
    Sun, Jinguang
    Li, Lin
    Xing, Changzheng
    Bi, Chongchun
    PROCEEDINGS OF 3RD IEEE/ACM INTERNATIONAL CONFERENCE ON DATA SCIENCE AND ADVANCED ANALYTICS, (DSAA 2016), 2016, : 411 - 419
  • [32] Tree-based Phone Duration Modelling of the Serbian Language
    Sovilj-Nikic, S.
    Delic, V.
    Sovilj-Nikic, I.
    Markovic, M.
    ELEKTRONIKA IR ELEKTROTECHNIKA, 2014, 20 (03) : 77 - 82
  • [33] SOME APPLICATIONS OF TREE-BASED MODELING TO SPEECH AND LANGUAGE
    RILEY, MD
    SPEECH AND NATURAL LANGUAGE, 1989, : 339 - 352
  • [34] 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
  • [35] Beyond 2014: Formal Methods for Attack Tree-based Security Modeling
    Widel, Wojciech
    Audinot, Maxime
    Fila, Barbara
    Pinchinat, Sophie
    ACM COMPUTING SURVEYS, 2019, 52 (04)
  • [36] A tree-based method for fast melodic retrieval
    Parker, C
    JCDL 2004: PROCEEDINGS OF THE FOURTH ACM/IEEE JOINT CONFERENCE ON DIGITAL LIBRARIES: GLOBAL REACH AND DIVERSE IMPACT, 2004, : 254 - 255
  • [37] A Tree-based Method of Web Service Composition
    Tang, Haiming
    Zhong, Farong
    Yang, Chang
    2008 3RD INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND APPLICATIONS, VOLS 1 AND 2, 2008, : 204 - 209
  • [38] Translation of Chinese query sentence of gis to SQL based on semantic meaning query tree
    Wuhan Daxue Xuebao (Xinxi Kexue Ban), 2006, 10 (924-927):
  • [39] A formal basis for an abbreviated concept-based query language
    Owei, V
    Navathe, S
    DATA & KNOWLEDGE ENGINEERING, 2001, 36 (02) : 109 - 151
  • [40] A query expansion method based on semantic element
    Li, Li
    SNPD 2007: Eighth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, Vol 1, Proceedings, 2007, : 587 - 590