Intelligent SPARQL Query Generation for Natural Language Processing Systems

被引:9
作者
Chen, Yi-Hui [1 ,2 ]
Lu, Eric Jui-Lin [3 ]
Ou, Ting-An [3 ]
机构
[1] Chang Gung Univ, Dept Informat Management, Taoyuan 33302, Taiwan
[2] Kaohsiung Chang Gung Mem Hosp, Kawasaki Dis Ctr, Kaohsiung 83301, Taiwan
[3] Natl Chung Hsing Univ, Dept Management Informat Syst, Taichung 402204, Taiwan
关键词
Resource description framework; Knowledge discovery; Training; Databases; Semantics; Linked data; Dictionaries; Question answering system (QA); parts-of-speech (POS); SPARQL query; maximum-entropy Markov model; KNOWLEDGE; DBPEDIA;
D O I
10.1109/ACCESS.2021.3130667
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Developing question answering (QA) systems that process natural language is a popular research topic. Conventionally, when QA systems receive a natural language question, they choose useful words or phrases based on their parts-of-speech (POS) tags. In general, words tagged as nouns are mapped to class entities, words tagged as verbs are mapped to property entities, and words tagged as proper nouns are mapped to named entities, although the accuracy of entity type identification remains low. Afterward, the relationship between entity types as RDF types determines the first element to be a pivot word to generate the SPARQL (acronym for SPARQL protocol and RDF query language) query on the basis of the sequences by a specific graph or tree structure, such as dependence tree or directed acyclic graph (DAG). However, the generated SPARQL query is difficult to adapt to the given query request in that the sequences are decided by a fixed structure. Unlike in previous research, SPARQL generation occurs automatically according to the entity type identification and RDF type identification results. This study attempts to design a method that leverages machine learning to learn human experiences in entity type identification as well as RDF-type identification. We approach the problem as a multiclass classification problem and propose a two-stage maximum-entropy Markov model (MEMM). The first stage identifies the entity type and the second identifies the RDF type for the purpose of generating appropriate SPARQL queries to meet the query request. Along with the templates designed for the two-stage MEMM model, we develop an automatic question answering prototype system called QAWizard. The experimental results show that QAWizard outperforms all other systems in question answering when evaluated on Linked Data version 8 (QALD-8) metrics.
引用
收藏
页码:158638 / 158650
页数:13
相关论文
共 48 条
[1]   KBot: A Knowledge Graph Based ChatBot for Natural Language Understanding Over Linked Data [J].
Ait-Mlouk, Addi ;
Jiang, Lili .
IEEE ACCESS, 2020, 8 :149220-149230
[2]  
[Anonymous], 2012, P 21 INT C WORLD WID, DOI DOI 10.1145/2187836.2187923
[3]  
[Anonymous], 2014, ARXIV PREPRINT ARXIV
[4]   DBpedia - A crystallization point for the Web of Data [J].
Bizer, Christian ;
Lehmann, Jens ;
Kobilarov, Georgi ;
Auer, Soeren ;
Becker, Christian ;
Cyganiak, Richard ;
Hellmann, Sebastian .
JOURNAL OF WEB SEMANTICS, 2009, 7 (03) :154-165
[5]  
Bollacker K, 2008, SIGMOD, P1247, DOI DOI 10.1145/1376616.1376746
[6]   SPARQL Query Generator (SQG) [J].
Chen, Yanji ;
Kokar, Mieczyslaw M. ;
Moskal, Jakub J. .
JOURNAL ON DATA SEMANTICS, 2021, 10 (3-4) :291-307
[7]   An efficient ontology-based topic-specific article recommendation model for best-fit reviewers [J].
Chughtai, Gohar Rehman ;
Lee, Jia ;
Shahzadi, Mahnoor ;
Kabir, Asif ;
Hassan, Muhammad Arshad Shehzad .
SCIENTOMETRICS, 2020, 122 (01) :249-265
[8]  
Collins M, 2002, PROCEEDINGS OF THE 2002 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING, P1
[9]  
Cost R. S., 2004, P 13 ACM INT C INF K, P652, DOI DOI 10.1145/1031171.1031289
[10]   Towards a question answering system over the Semantic Web [J].
Diefenbach, Dennis ;
Both, Andreas ;
Singh, Kamal ;
Maret, Pierre .
SEMANTIC WEB, 2020, 11 (03) :421-439