摘要
提出了基于启发式规则的SPARQL查询。用语言技术平台(LTP)解析出问句的依存分析树(DPT),然后对问句集的依存分析树进行统计和分析,总结出用于查询三元组抽取的启发式规则,利用这些规则去掉无意义的查询三元组,合并和重组意义不完整的查询三元组。查询三元组经过类映射、实例映射和属性映射得到本体三元组,形成SPARQL查询。用户在B/S结构的查询界面中提交中文自然语言问句,得到中间结果和问句结果。实验结果表明了该方法的有效性。
This paper proposes an SPARQL ontology query based on heuristic rules. In the proposed method,LTP (Language Technology Platform) is utilized to parse a question to dependency parsing tree (DPT). Heuristic query triple extraction rules are formed according to the statistic and analysis of DPTs of question set. Query triple (s) are extracted accurately by deleting meaningless query triple (s) and recombining incomplete query triple(s) based on these rules. Query triple(s) are mapped to ontology triple (s) by means of three kinds of mapping:class mapping,instance mapping and property mapping. And then, SPARQL query is obtained. Intermediate results and answer will be presented to users when they submit a Chinese natural language question in the query interface. The experiment shows that the presented method is effective.
出处
《华东理工大学学报(自然科学版)》
CAS
CSCD
北大核心
2016年第6期851-857,共7页
Journal of East China University of Science and Technology
基金
国家高技术研究发展"863"计划(2015AA020107)