arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1508.01447cs.CLcs.AIcs.DB
收藏

用语言分析法将阿拉伯自然语言转换为SPARQL

Using Linguistic Analysis to Translate Arabic Natural Language Queries to SPARQL

The Islamic University of Gaza(伊斯兰大学(加沙))

Iyad AlAgha

摘要:

语义网基于逻辑的机器可理解的框架往往挑战天真的用户,当他们试图查询基于本体的知识库。现有的研究工作已经接近这个问题,通过引入自然语言(NL)接口的本体。这些NL接口具有基于NL用户查询构造SPARQL查询的能力。然而,大多数努力仅限于用英语表达的查询,并且它们通常受益于英语NLP工具的进步。然而,很少有研究已经做了支持查询的阿拉伯语内容的语义Web上使用NL查询。本文提出了一种独立于领域的方法,利用语言分析将阿拉伯语NL查询转换为SPARQL。基于对名词短语(NPs)的特殊考虑,我们的方法使用语言解析器从阿拉伯语解析树中提取NPs和关系,并将它们与底层本体进行匹配。然后,它利用本体中的知识将NP分组为基于三重的表示。通过提取目标和修饰符,并将它们解释为SPARQL,最终生成SPARQL查询。对高级语义特征包括否定、连词和转折修饰语的解释也得到了支持。使用OWL测试数据和查询数据集对该方法进行了验证,结果证实了该方法将阿拉伯语NL查询转换为SPARQL的可行性。

英文摘要:

The logic-based machine-understandable framework of the Semantic Web often challenges naive users when they try to query ontology-based knowledge bases. Existing research efforts have approached this problem by introducing Natural Language (NL) interfaces to ontologies. These NL interfaces have the ability to construct SPARQL queries based on NL user queries. However, most efforts were restricted to queries expressed in English, and they often benefited from the advancement of English NLP tools. However, little research has been done to support querying the Arabic content on the Semantic Web by using NL queries. This paper presents a domain-independent approach to translate Arabic NL queries to SPARQL by leveraging linguistic analysis. Based on a special consideration on Noun Phrases (NPs), our approach uses a language parser to extract NPs and the relations from Arabic parse trees and match them to the underlying ontology. It then utilizes knowledge in the ontology to group NPs into triple-based representations. A SPARQL query is finally generated by extracting targets and modifiers, and interpreting them into SPARQL. The interpretation of advanced semantic features including negation, conjunctive and disjunctive modifiers is also supported. The approach was evaluated by using two datasets consisting of OWL test data and queries, and the obtained results have confirmed its feasibility to translate Arabic NL queries to SPARQL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑